Skip to content

Fix duplicated delivery of Omron Measurements #118

Fix duplicated delivery of Omron Measurements

Fix duplicated delivery of Omron Measurements #118

Triggered via pull request August 13, 2024 14:19
Status Failure
Total duration 17m 48s
Artifacts 4

build-and-test.yml

on: pull_request
Build and Test Swift Package iOS  /  Test using xcodebuild or run fastlane
1m 57s
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
Build and Test iOS  /  Test using xcodebuild or run fastlane
5m 21s
Build and Test iOS / Test using xcodebuild or run fastlane
Build and Test Swift Package iOS Latest  /  Test using xcodebuild or run fastlane
2m 38s
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane
Build and Test iOS Latest  /  Test using xcodebuild or run fastlane
5m 12s
Build and Test iOS Latest / Test using xcodebuild or run fastlane
CodeQL  /  Test using xcodebuild or run fastlane
17m 35s
CodeQL / Test using xcodebuild or run fastlane
Upload Coverage Report  /  Create and upload coverage report
Upload Coverage Report / Create and upload coverage report
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 46 warnings
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Tests/SpeziDevicesTests/HealthMeasurementsTests.swift#L161
testDiscardingMeasurements, XCTAssertEqual failed: ("0") is not equal to ("2")
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Tests/SpeziDevicesTests/HealthMeasurementsTests.swift#L163
testDiscardingMeasurements, XCTUnwrap failed: expected non-nil value of type "HealthKitMeasurement"
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Tests/SpeziDevicesTests/HealthMeasurementsTests.swift#L79
testReceivingBloodPressureMeasurements, XCTAssertEqual failed: ("0") is not equal to ("1")
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Tests/SpeziDevicesTests/HealthMeasurementsTests.swift#L81
testReceivingBloodPressureMeasurements, XCTUnwrap failed: expected non-nil value of type "HealthKitMeasurement"
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Tests/SpeziDevicesTests/HealthMeasurementsTests.swift#L31
testReceivingWeightMeasurements, XCTAssertEqual failed: ("0") is not equal to ("1")
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Tests/SpeziDevicesTests/HealthMeasurementsTests.swift#L33
testReceivingWeightMeasurements, XCTUnwrap failed: expected non-nil value of type "HealthKitMeasurement"
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Tests/SpeziDevicesTests/HealthMeasurementsTests.swift#L161
testDiscardingMeasurements, XCTAssertEqual failed: ("0") is not equal to ("2")
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Tests/SpeziDevicesTests/HealthMeasurementsTests.swift#L163
testDiscardingMeasurements, XCTUnwrap failed: expected non-nil value of type "HealthKitMeasurement"
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Tests/SpeziDevicesTests/HealthMeasurementsTests.swift#L79
testReceivingBloodPressureMeasurements, XCTAssertEqual failed: ("0") is not equal to ("1")
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Tests/SpeziDevicesTests/HealthMeasurementsTests.swift#L81
testReceivingBloodPressureMeasurements, XCTUnwrap failed: expected non-nil value of type "HealthKitMeasurement"
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Tests/SpeziDevicesTests/HealthMeasurementsTests.swift#L31
testReceivingWeightMeasurements, XCTAssertEqual failed: ("0") is not equal to ("1")
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Tests/SpeziDevicesTests/HealthMeasurementsTests.swift#L33
testReceivingWeightMeasurements, XCTUnwrap failed: expected non-nil value of type "HealthKitMeasurement"
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test iOS Latest / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test iOS / Test using xcodebuild or run fastlane: Tests/UITests/TestAppUITests/BluetoothViewsTests.swift#L50
testBluetoothUnavailableViews, XCTAssertEqual failed: ("XCUIApplicationState(rawValue: 2)") is not equal to ("XCUIApplicationState(rawValue: 4)")
Build and Test iOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L120
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L121
'init()' is deprecated: Please explicitly specify the Module type.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L120
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L121
'init()' is deprecated: Please explicitly specify the Module type.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/HealthMeasurements.swift#L166
capture of 'keyPath' with non-sendable type 'HealthMeasurements.WeightScaleKeyPath<Device>' (aka 'KeyPath<Device, WeightScaleService>') in a `@Sendable` closure
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/HealthMeasurements.swift#L193
capture of 'keyPath' with non-sendable type 'HealthMeasurements.BloodPressureKeyPath<Device>' (aka 'KeyPath<Device, BloodPressureService>') in a `@Sendable` closure
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test Swift Package iOS / Test using xcodebuild or run fastlane: var/folders/sf/4hnnr63x0z32klh8575xj64c0000gn/T/swift-generated-sources/@__swiftmacro_14SpeziDevicesUI15ForgetDeviceTipV016hasRemovedPairedE09ParameterfMp_.swift#L1
static property '$hasRemovedPairedDevice' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L120
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L121
'init()' is deprecated: Please explicitly specify the Module type.
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L120
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L121
'init()' is deprecated: Please explicitly specify the Module type.
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L120
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L121
'init()' is deprecated: Please explicitly specify the Module type.
Build and Test iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L120
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L121
'init()' is deprecated: Please explicitly specify the Module type.
Build and Test iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L120
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L121
'init()' is deprecated: Please explicitly specify the Module type.
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/HealthMeasurements.swift#L166
capture of 'keyPath' with non-sendable type 'HealthMeasurements.WeightScaleKeyPath<Device>' (aka 'KeyPath<Device, WeightScaleService>') in a `@Sendable` closure
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/HealthMeasurements.swift#L193
capture of 'keyPath' with non-sendable type 'HealthMeasurements.BloodPressureKeyPath<Device>' (aka 'KeyPath<Device, BloodPressureService>') in a `@Sendable` closure
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L120
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
Build and Test iOS / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L121
'init()' is deprecated: Please explicitly specify the Module type.
Build and Test iOS / Test using xcodebuild or run fastlane: var/folders/sf/4hnnr63x0z32klh8575xj64c0000gn/T/swift-generated-sources/@__swiftmacro_14SpeziDevicesUI15ForgetDeviceTipV016hasRemovedPairedE09ParameterfMp_.swift#L1
static property '$hasRemovedPairedDevice' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
CodeQL / Test using xcodebuild or run fastlane
Failed to check available disk space: Error: Command failed: df -Pk -- /Users/runner/work/SpeziDevices/SpeziDevices dyld[2355]: terminating because inserted dylib '/Users/runner/hostedtoolcache/CodeQL/2.18.1/arm64/codeql/tools/osx64/libtrace.dylib' could not be loaded: tried: '/Users/runner/hostedtoolcache/CodeQL/2.18.1/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/hostedtoolcache/CodeQL/2.18.1/arm64/codeql/tools/osx64/libtrace.dylib' (no such file), '/Users/runner/hostedtoolcache/CodeQL/2.18.1/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')) dyld[2355]: tried: '/Users/runner/hostedtoolcache/CodeQL/2.18.1/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e')), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/hostedtoolcache/CodeQL/2.18.1/arm64/codeql/tools/osx64/libtrace.dylib' (no such file), '/Users/runner/hostedtoolcache/CodeQL/2.18.1/arm64/codeql/tools/osx64/libtrace.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64', need 'arm64e'))
CodeQL / Test using xcodebuild or run fastlane
xcbeautify 2.7.0 is already installed and up-to-date. To reinstall 2.7.0, run: brew reinstall xcbeautify
CodeQL / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L120
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
CodeQL / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L121
'init()' is deprecated: Please explicitly specify the Module type.
CodeQL / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
CodeQL / Test using xcodebuild or run fastlane: Sources/SpeziDevices/HealthMeasurements.swift#L166
capture of 'keyPath' with non-sendable type 'HealthMeasurements.WeightScaleKeyPath<Device>' (aka 'KeyPath<Device, WeightScaleService>') in a `@Sendable` closure
CodeQL / Test using xcodebuild or run fastlane: Sources/SpeziDevices/HealthMeasurements.swift#L193
capture of 'keyPath' with non-sendable type 'HealthMeasurements.BloodPressureKeyPath<Device>' (aka 'KeyPath<Device, BloodPressureService>') in a `@Sendable` closure
CodeQL / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
CodeQL / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L120
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
CodeQL / Test using xcodebuild or run fastlane: Sources/SpeziDevices/PairedDevices.swift#L121
'init()' is deprecated: Please explicitly specify the Module type.
CodeQL / Test using xcodebuild or run fastlane: Sources/SpeziDevices/Testing/MockDevice.swift#L34
'init()' is deprecated: Please specify the Wrapped type of your optional dependency as the first argument.
CodeQL / Test using xcodebuild or run fastlane: var/folders/m_/cksx93ys47x4621g0zbw_m4m0000gn/T/swift-generated-sources/@__swiftmacro_14SpeziDevicesUI15ForgetDeviceTipV016hasRemovedPairedE09ParameterfMp_.swift#L1
static property '$hasRemovedPairedDevice' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6

Artifacts

Produced during runtime
Name Size
SpeziDevices-iOS-Latest.xcresult Expired
40 MB
SpeziDevices-iOS.xcresult Expired
41.6 MB
TestApp-iOS-Latest.xcresult Expired
75.9 MB
TestApp-iOS.xcresult Expired
85.4 MB