Skip to content

Fix build warnings in our code (left some test warnings that are real) #1450

Fix build warnings in our code (left some test warnings that are real)

Fix build warnings in our code (left some test warnings that are real) #1450

Triggered via pull request October 26, 2024 10:49
Status Success
Total duration 15m 33s
Artifacts

BuildAndTest.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error, 40 warnings, and 26 notices
tvOS
error: stream ended at an unexpected time
macOS
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
macOS
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
linux
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
linux
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
watchOS
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
watchOS
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
watchOS: Sources/OpenTelemetrySdk/Metrics/Stable/RegisteredReader.swift#L26
'OSAtomicIncrement32' was deprecated in watchOS 3.0: Use atomic_fetch_add_explicit(memory_order_relaxed) from <stdatomic.h> instead
watchOS: Tests/OpenTelemetrySdkTests/Logs/BatchLogRecordProcessorTests.swift#L48
initialization of immutable value 'logger' was never used; consider replacing with assignment to '_' or removing it
watchOS: Tests/OpenTelemetrySdkTests/Metrics/CounterTests.swift#L137
code after 'throw' will never be executed
watchOS: Tests/OpenTelemetrySdkTests/Metrics/StableMetrics/Aggregation/DoubleBase2ExponentialHistogramAggregatorTests.swift#L92
initialization of immutable value 'exemplar' was never used; consider replacing with assignment to '_' or removing it
watchOS: Tests/OpenTelemetrySdkTests/Metrics/StableMetrics/StableMeterSdkTests.swift#L46
initialization of variable 'histogram' was never used; consider replacing with assignment to '_' or removing it
watchOS: Tests/OpenTelemetryApiTests/Baggage/DefaultBaggageManagerTests.swift#L71
initialization of immutable value 'semaphore' was never used; consider replacing with assignment to '_' or removing it
watchOS: Tests/OpenTelemetryApiTests/Context/ActivityContextManagerTests.swift#L251
instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
watchOS: Tests/OpenTelemetryApiTests/Context/ActivityContextManagerTests.swift#L283
instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
watchOS: Tests/OpenTelemetryApiTests/Context/ActivityContextManagerTests.swift#L382
instance method 'waitForExpectations' is unavailable from asynchronous contexts; Use await fulfillment(of:timeout:enforceOrder:) instead; this is an error in Swift 6
watchOS: Examples/ConcurrencyContext/main.swift#L33
no 'async' operations occur within 'await' expression
tvOS
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tvOS
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
tvOS: Sources/OpenTelemetrySdk/Metrics/Stable/RegisteredReader.swift#L26
'OSAtomicIncrement32' was deprecated in tvOS 10.0: Use atomic_fetch_add_explicit(memory_order_relaxed) from <stdatomic.h> instead
tvOS: Sources/Exporters/Jaeger/Jaeger Thrift/agent+Exts.swift#L33
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Agent_emitZipkinBatch_args' to 'Hashable' by implementing 'hash(into:)' instead
tvOS: Sources/Exporters/Jaeger/Jaeger Thrift/agent+Exts.swift#L96
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Agent_emitBatch_args' to 'Hashable' by implementing 'hash(into:)' instead
tvOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L44
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Tag' to 'Hashable' by implementing 'hash(into:)' instead
tvOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L127
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Log' to 'Hashable' by implementing 'hash(into:)' instead
tvOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L199
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SpanRef' to 'Hashable' by implementing 'hash(into:)' instead
tvOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L293
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Span' to 'Hashable' by implementing 'hash(into:)' instead
tvOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L394
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Process' to 'Hashable' by implementing 'hash(into:)' instead
tvOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L461
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Batch' to 'Hashable' by implementing 'hash(into:)' instead
tvOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L527
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BatchSubmitResponse' to 'Hashable' by implementing 'hash(into:)' instead
iOS
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
iOS
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
iOS: Sources/Exporters/Jaeger/Jaeger Thrift/agent+Exts.swift#L33
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Agent_emitZipkinBatch_args' to 'Hashable' by implementing 'hash(into:)' instead
iOS: Sources/Exporters/Jaeger/Jaeger Thrift/agent+Exts.swift#L96
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Agent_emitBatch_args' to 'Hashable' by implementing 'hash(into:)' instead
iOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L44
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Tag' to 'Hashable' by implementing 'hash(into:)' instead
iOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L127
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Log' to 'Hashable' by implementing 'hash(into:)' instead
iOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L199
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SpanRef' to 'Hashable' by implementing 'hash(into:)' instead
iOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L293
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Span' to 'Hashable' by implementing 'hash(into:)' instead
iOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L394
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Process' to 'Hashable' by implementing 'hash(into:)' instead
iOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L461
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Batch' to 'Hashable' by implementing 'hash(into:)' instead
iOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L527
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BatchSubmitResponse' to 'Hashable' by implementing 'hash(into:)' instead
iOS: Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift#L590
'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Collector_submitBatches_args' to 'Hashable' by implementing 'hash(into:)' instead
watchOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testGivenDataToUpload_whenUploadFinishesAndDoesNotNeedToBeRetried_thenDataIsDeleted
watchOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testGivenDataToUpload_whenUploadFinishesAndNeedsToBeRetried_thenDataIsPreserved
watchOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testItFlushesAllData
watchOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testItUploadsAllData
watchOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testWhenBatchFails_thenIntervalIncreases
watchOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testWhenBatchSucceeds_thenIntervalDecreases
watchOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testWhenCancelled_itPerformsNoMoreUploads
watchOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testWhenThereIsNoBatch_thenIntervalIncreases
watchOS
Skipped DatadogExporterTests.DataUploaderTests.testWhenUploadCompletesWithFailure_itReturnsExpectedUploadStatus
watchOS
Skipped DatadogExporterTests.DataUploaderTests.testWhenUploadCompletesWithSuccess_itReturnsExpectedUploadStatus
tvOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testGivenDataToUpload_whenUploadFinishesAndDoesNotNeedToBeRetried_thenDataIsDeleted
tvOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testGivenDataToUpload_whenUploadFinishesAndNeedsToBeRetried_thenDataIsPreserved
tvOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testItFlushesAllData
tvOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testWhenBatchFails_thenIntervalIncreases
tvOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testWhenBatchSucceeds_thenIntervalDecreases
tvOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testWhenCancelled_itPerformsNoMoreUploads
tvOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testWhenThereIsNoBatch_thenIntervalIncreases
tvOS
Skipped DatadogExporterTests.SpansExporterTests.testWhenExportSpanIsCalled_thenTraceIsUploaded
iOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testGivenDataToUpload_whenUploadFinishesAndDoesNotNeedToBeRetried_thenDataIsDeleted
iOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testGivenDataToUpload_whenUploadFinishesAndNeedsToBeRetried_thenDataIsPreserved
iOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testItFlushesAllData
iOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testWhenBatchFails_thenIntervalIncreases
iOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testWhenBatchSucceeds_thenIntervalDecreases
iOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testWhenCancelled_itPerformsNoMoreUploads
iOS
Skipped DatadogExporterTests.DataUploadWorkerTests.testWhenThereIsNoBatch_thenIntervalIncreases
iOS
Skipped DatadogExporterTests.SpansExporterTests.testWhenExportSpanIsCalled_thenTraceIsUploaded