Skip to content

removed unnecessary OpenTelementySdk import #1192

removed unnecessary OpenTelementySdk import

removed unnecessary OpenTelementySdk import #1192

Triggered via push January 3, 2024 20:29
Status Success
Total duration 7m 50s
Artifacts

BuildAndTest.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 34 warnings, and 3 notices
iOS
error: stream ended at an unexpected time
iOS
error: stream ended at an unexpected time
iOS
error: stream ended at an unexpected time
iOS
error: stream ended at an unexpected time
iOS
error: stream ended at an unexpected time
iOS
error: stream ended at an unexpected time
iOS
error: stream ended at an unexpected time
tvOS
error: stream ended at an unexpected time
tvOS
error: stream ended at an unexpected time
tvOS
error: stream ended at an unexpected time
tvOS
error: stream ended at an unexpected time
tvOS
error: stream ended at an unexpected time
tvOS
error: stream ended at an unexpected time
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/
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: Sources/OpenTelemetrySdk/Metrics/Stable/CallbackRegistration.swift#L30
variable 'measurement' was never mutated; consider removing 'var' to make it constant
watchOS: Sources/OpenTelemetrySdk/Metrics/Stable/CallbackRegistration.swift#L34
variable 'measurement' was never mutated; consider removing 'var' to make it constant
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/Logs/BatchLogRecordProcessorTests.swift#L59
using '_' to ignore the result of a Void-returning function is redundant
watchOS: Tests/OpenTelemetrySdkTests/Metrics/CounterTests.swift#L137
code after 'throw' will never be executed
watchOS: Tests/OpenTelemetrySdkTests/Metrics/StableMetrics/StableMeterSdkTests.swift#L46
initialization of variable 'histogram' was never used; consider replacing with assignment to '_' or removing it
watchOS: Sources/OpenTelemetrySdk/Metrics/Stable/State/AsynchronousMetricStorage.swift#L45
immutable value 'error' was never used; consider replacing with '_' or removing it
watchOS: Sources/OpenTelemetrySdk/Metrics/Stable/State/AsynchronousMetricStorage.swift#L68
variable 'points' was never mutated; consider changing to 'let' constant
watchOS: Sources/OpenTelemetrySdk/Metrics/Stable/RegisteredReader.swift#L18
'OSAtomicIncrement32' was deprecated in watchOS 3.0: Use atomic_fetch_add_explicit(memory_order_relaxed) from <stdatomic.h> 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: Sources/OpenTelemetrySdk/Metrics/Stable/CallbackRegistration.swift#L30
variable 'measurement' was never mutated; consider removing 'var' to make it constant
iOS: Sources/OpenTelemetrySdk/Metrics/Stable/CallbackRegistration.swift#L34
variable 'measurement' was never mutated; consider removing 'var' to make it constant
iOS: Sources/OpenTelemetrySdk/Metrics/Stable/State/AsynchronousMetricStorage.swift#L45
immutable value 'error' was never used; consider replacing with '_' or removing it
iOS: Sources/OpenTelemetrySdk/Metrics/Stable/State/AsynchronousMetricStorage.swift#L68
variable 'points' was never mutated; consider changing to 'let' constant
iOS: Tests/OpenTelemetrySdkTests/Logs/BatchLogRecordProcessorTests.swift#L48
initialization of immutable value 'logger' was never used; consider replacing with assignment to '_' or removing it
iOS: Tests/OpenTelemetrySdkTests/Logs/BatchLogRecordProcessorTests.swift#L59
using '_' to ignore the result of a Void-returning function is redundant
iOS: Tests/OpenTelemetrySdkTests/Metrics/StableMetrics/StableMeterSdkTests.swift#L46
initialization of variable 'histogram' was never used; consider replacing with assignment to '_' or removing it
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
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: Sources/OpenTelemetrySdk/Metrics/Stable/RegisteredReader.swift#L18
'OSAtomicIncrement32' was deprecated in tvOS 10.0: Use atomic_fetch_add_explicit(memory_order_relaxed) from <stdatomic.h> instead
tvOS: Sources/OpenTelemetrySdk/Metrics/Stable/State/AsynchronousMetricStorage.swift#L45
immutable value 'error' was never used; consider replacing with '_' or removing it
tvOS: Sources/OpenTelemetrySdk/Metrics/Stable/State/AsynchronousMetricStorage.swift#L68
variable 'points' was never mutated; consider changing to 'let' constant
tvOS: Sources/OpenTelemetrySdk/Metrics/Stable/CallbackRegistration.swift#L30
variable 'measurement' was never mutated; consider removing 'var' to make it constant
tvOS: Sources/OpenTelemetrySdk/Metrics/Stable/CallbackRegistration.swift#L34
variable 'measurement' was never mutated; consider removing 'var' to make it constant
tvOS: Tests/OpenTelemetrySdkTests/Logs/BatchLogRecordProcessorTests.swift#L48
initialization of immutable value 'logger' was never used; consider replacing with assignment to '_' or removing it
tvOS: Tests/OpenTelemetrySdkTests/Logs/BatchLogRecordProcessorTests.swift#L59
using '_' to ignore the result of a Void-returning function is redundant
tvOS: Tests/OpenTelemetrySdkTests/Metrics/StableMetrics/StableMeterSdkTests.swift#L46
initialization of variable 'histogram' was never used; consider replacing with assignment to '_' or removing it
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
watchOS
Tests Passed: 0 failed, 14 skipped, 727 total (22.895 seconds)
iOS
Tests Passed: 0 failed, 0 skipped, 741 total (51.492 seconds)
tvOS
Tests Passed: 0 failed, 0 skipped, 737 total (51.574 seconds)