Skip to content

recreation of existing pr #1173

recreation of existing pr

recreation of existing pr #1173

Triggered via pull request December 19, 2023 21:43
Status Failure
Total duration 4m 33s
Artifacts

BuildAndTest.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 28 warnings
macOS
Process completed with exit code 1.
tvOS
Process completed with exit code 2.
watchOS
Process completed with exit code 2.
iOS
Process completed with exit code 2.
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/
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/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/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
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/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: 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/RegisteredReader.swift#L18
'OSAtomicIncrement32' was deprecated in watchOS 3.0: Use atomic_fetch_add_explicit(memory_order_relaxed) from <stdatomic.h> instead
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
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: Tests/OpenTelemetrySdkTests/Metrics/StableMetrics/StableMeterSdkTests.swift#L46
initialization of variable 'histogram' was never used; consider replacing with assignment to '_' or removing it
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: 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