Build Information
Failed to build SpeziBluetooth, reference 3.2.2 (6bfc03
), with Swift 6.1 for Android on 30 May 2025 23:54:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziBluetooth.git
Reference: 3.2.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/StanfordSpezi/SpeziBluetooth
* tag 3.2.2 -> FETCH_HEAD
HEAD is now at 6bfc037 Fix compilation with Swift 6.1 (#59)
Cloned https://github.com/StanfordSpezi/SpeziBluetooth.git
Revision (git rev-parse @):
6bfc0378fca295237dee9746f9697a773410c658
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziBluetooth.git at 3.2.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziBluetooth.git
https://github.com/StanfordSpezi/SpeziBluetooth.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "spezifoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziFoundation.git"
},
{
"identity" : "spezi",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/Spezi.git"
},
{
"identity" : "spezinetworking",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziNetworking.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.59.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
}
],
"manifest_display_name" : "SpeziBluetooth",
"name" : "SpeziBluetooth",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "maccatalyst",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "SpeziBluetoothServices",
"targets" : [
"SpeziBluetoothServices"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpeziBluetooth",
"targets" : [
"SpeziBluetooth"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TestPeripheral",
"targets" : [
"TestPeripheral"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "TestPeripheral",
"module_type" : "SwiftTarget",
"name" : "TestPeripheral",
"path" : "Sources/TestPeripheral",
"product_dependencies" : [
"ByteCoding"
],
"product_memberships" : [
"TestPeripheral"
],
"sources" : [
"TestPeripheral.swift",
"TestService.swift"
],
"target_dependencies" : [
"SpeziBluetooth",
"SpeziBluetoothServices"
],
"type" : "executable"
},
{
"c99name" : "SpeziBluetoothTests",
"module_type" : "SwiftTarget",
"name" : "SpeziBluetoothTests",
"path" : "Tests/SpeziBluetoothTests",
"sources" : [
"BluetoothDeviceTestingSupportTests.swift",
"RWLockTests.swift"
],
"target_dependencies" : [
"SpeziBluetooth",
"SpeziBluetoothServices"
],
"type" : "test"
},
{
"c99name" : "SpeziBluetoothServicesTests",
"module_type" : "SwiftTarget",
"name" : "SpeziBluetoothServicesTests",
"path" : "Tests/SpeziBluetoothServicesTests",
"product_dependencies" : [
"NIOCore",
"ByteCodingTesting"
],
"sources" : [
"BloodPressureTests.swift",
"BluetoothServicesTests.swift",
"CurrentTimeTests.swift",
"DeviceInformationTests.swift",
"HealthThermometerTests.swift",
"PLXTests.swift",
"RecordAccessControlPointTests.swift",
"WeightScaleTests.swift"
],
"target_dependencies" : [
"SpeziBluetooth",
"SpeziBluetoothServices"
],
"type" : "test"
},
{
"c99name" : "SpeziBluetoothServices",
"module_type" : "SwiftTarget",
"name" : "SpeziBluetoothServices",
"path" : "Sources/SpeziBluetoothServices",
"product_dependencies" : [
"ByteCoding",
"SpeziNumerics"
],
"product_memberships" : [
"SpeziBluetoothServices",
"TestPeripheral"
],
"sources" : [
"Characteristics/BloodPressureFeature.swift",
"Characteristics/BloodPressureMeasurement.swift",
"Characteristics/IntermediateCuffPressure.swift",
"Characteristics/MeasurementInterval.swift",
"Characteristics/PLXContinuousMeasurement.swift",
"Characteristics/PLXFeatures.swift",
"Characteristics/PLXSpotCheckMeasurement.swift",
"Characteristics/PnPID.swift",
"Characteristics/RecordAccess/GenericOperand/CharacteristicAccessor+GenericRecordAccess.swift",
"Characteristics/RecordAccess/GenericOperand/RecordAccessFilterCriteria.swift",
"Characteristics/RecordAccess/GenericOperand/RecordAccessFilterType.swift",
"Characteristics/RecordAccess/GenericOperand/RecordAccessGeneralResponse.swift",
"Characteristics/RecordAccess/GenericOperand/RecordAccessGenericOperand.swift",
"Characteristics/RecordAccess/RecordAccessControlPoint+Operations.swift",
"Characteristics/RecordAccess/RecordAccessControlPoint.swift",
"Characteristics/RecordAccess/RecordAccessOpCode.swift",
"Characteristics/RecordAccess/RecordAccessOperand.swift",
"Characteristics/RecordAccess/RecordAccessOperationContent.swift",
"Characteristics/RecordAccess/RecordAccessOperator.swift",
"Characteristics/RecordAccess/RecordAccessResponseCode.swift",
"Characteristics/RecordAccess/RecordAccessResponseFormatError.swift",
"Characteristics/TemperatureMeasurement.swift",
"Characteristics/TemperatureType.swift",
"Characteristics/Time/CurrentTime.swift",
"Characteristics/Time/DateTime.swift",
"Characteristics/Time/DayDateTime.swift",
"Characteristics/Time/DayOfWeek.swift",
"Characteristics/Time/ExactTime256.swift",
"Characteristics/WeightMeasurement.swift",
"Characteristics/WeightScaleFeature.swift",
"Services/BatteryService.swift",
"Services/BloodPressureService.swift",
"Services/CurrentTimeService.swift",
"Services/DeviceInformationService.swift",
"Services/HealthThermometerService.swift",
"Services/PulseOximeterService.swift",
"Services/WeightScaleService.swift",
"TestingSupport/CBUUID+Characteristics.swift",
"TestingSupport/EventLog.swift",
"TestingSupport/TestService.swift"
],
"target_dependencies" : [
"SpeziBluetooth"
],
"type" : "library"
},
{
"c99name" : "SpeziBluetooth",
"module_type" : "SwiftTarget",
"name" : "SpeziBluetooth",
"path" : "Sources/SpeziBluetooth",
"product_dependencies" : [
"Spezi",
"NIOCore",
"OrderedCollections",
"SpeziFoundation",
"ByteCoding",
"Atomics"
],
"product_memberships" : [
"SpeziBluetoothServices",
"SpeziBluetooth",
"TestPeripheral"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/SpeziBluetooth/Resources/Localizable.xcstrings",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SpeziBluetooth/Resources/Localizable.xcstrings.license",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Bluetooth.swift",
"Configuration/DeviceDiscoveryDescriptor.swift",
"Configuration/Discover.swift",
"Configuration/DiscoveryDescriptorBuilder.swift",
"CoreBluetooth/BluetoothManager.swift",
"CoreBluetooth/BluetoothPeripheral.swift",
"CoreBluetooth/Configuration/CharacteristicDescription.swift",
"CoreBluetooth/Configuration/DeviceDescription.swift",
"CoreBluetooth/Configuration/DiscoveryCriteria.swift",
"CoreBluetooth/Configuration/DiscoveryDescription.swift",
"CoreBluetooth/Configuration/ServiceDescription.swift",
"CoreBluetooth/Extensions/CBCharacteristicProperties+Props.swift",
"CoreBluetooth/Extensions/CBError+LocalizedError.swift",
"CoreBluetooth/Extensions/CBPeripheral+DebugIdentifier.swift",
"CoreBluetooth/Model/AdvertisementData.swift",
"CoreBluetooth/Model/BluetoothError.swift",
"CoreBluetooth/Model/BluetoothManagerStorage.swift",
"CoreBluetooth/Model/BluetoothState.swift",
"CoreBluetooth/Model/CharacteristicAccesses.swift",
"CoreBluetooth/Model/CharacteristicLocator.swift",
"CoreBluetooth/Model/DiscoverySession.swift",
"CoreBluetooth/Model/GATTCharacteristic.swift",
"CoreBluetooth/Model/GATTService.swift",
"CoreBluetooth/Model/MainActorBuffered.swift",
"CoreBluetooth/Model/ManagedAsynchronousAccess.swift",
"CoreBluetooth/Model/ManagedAtomicMainActorBuffered.swift",
"CoreBluetooth/Model/ManufacturerIdentifier.swift",
"CoreBluetooth/Model/OnChangeRegistration.swift",
"CoreBluetooth/Model/PeripheralState.swift",
"CoreBluetooth/Model/PeripheralStorage.swift",
"CoreBluetooth/Model/WriteType.swift",
"CoreBluetooth/Utilities/BluetoothWorkItem.swift",
"CoreBluetooth/Utilities/CharacteristicOnChangeHandler.swift",
"CoreBluetooth/Utilities/DiscoveryStaleTimer.swift",
"CoreBluetooth/Utilities/KVOStateDidChangeObserver.swift",
"CoreBluetooth/Utilities/RWLock.swift",
"CoreBluetooth/Utilities/SpeziBluetoothActor.swift",
"CoreBluetooth/Utilities/ValueObservable.swift",
"Environment/AdvertisementStaleIntervalEnvironmentKey.swift",
"Environment/MinimumRSSIEnvironmentKey.swift",
"Environment/SurroundingScanModifiers.swift",
"Model/Actions/BluetoothConnectAction.swift",
"Model/Actions/BluetoothDisconnectAction.swift",
"Model/Actions/BluetoothPeripheralAction.swift",
"Model/Actions/DeviceActions.swift",
"Model/Actions/ReadRSSIAction.swift",
"Model/BluetoothDevice.swift",
"Model/BluetoothService.swift",
"Model/Characteristic/ControlPointCharacteristic.swift",
"Model/Characteristic/ControlPointSupport.swift",
"Model/Properties/Characteristic.swift",
"Model/Properties/DeviceAction.swift",
"Model/Properties/DeviceState.swift",
"Model/Properties/Service.swift",
"Model/PropertySupport/CharacteristicAccessor.swift",
"Model/PropertySupport/CharacteristicPeripheralInjection.swift",
"Model/PropertySupport/CharacteristicTestInjections.swift",
"Model/PropertySupport/DeviceActionAccessor.swift",
"Model/PropertySupport/DeviceActionPeripheralInjection.swift",
"Model/PropertySupport/DeviceActionTestInjections.swift",
"Model/PropertySupport/DeviceStateAccessor.swift",
"Model/PropertySupport/DeviceStatePeripheralInjection.swift",
"Model/PropertySupport/DeviceStateTestInjections.swift",
"Model/PropertySupport/ServiceAccessor.swift",
"Model/PropertySupport/ServicePeripheralInjection.swift",
"Model/SemanticModel/DeviceDescriptionParser.swift",
"Model/SemanticModel/SetupDeviceVisitor.swift",
"Model/Visitor/BaseVisitor.swift",
"Model/Visitor/DeviceVisitor.swift",
"Model/Visitor/ServiceVisitor.swift",
"Modifier/AutoConnectModifier.swift",
"Modifier/BluetoothScanner.swift",
"Modifier/BluetoothScanningOptionsModifier.swift",
"Modifier/ConnectedDevicesEnvironmentModifier.swift",
"Modifier/ScanNearbyDevicesModifier.swift",
"Utils/BTUUID.swift",
"Utils/Box.swift",
"Utils/ChangeSubscriptions.swift",
"Utils/ConnectedDevices.swift",
"Utils/ConnectedDevicesModel.swift",
"Utils/Reference.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/StanfordSpezi/SpeziNetworking.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/apple/swift-nio.git
[1/310] Fetching spezinetworking
[311/9492] Fetching spezinetworking, spezi
[312/10372] Fetching spezinetworking, spezi, spezifoundation
[641/12089] Fetching spezinetworking, spezi, spezifoundation, swift-atomics
[3377/28680] Fetching spezinetworking, spezi, spezifoundation, swift-atomics, swift-collections
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.45s)
[6051/27800] Fetching spezinetworking, spezi, swift-atomics, swift-collections
[14529/103923] Fetching spezinetworking, spezi, swift-atomics, swift-collections, swift-nio
Fetched https://github.com/StanfordSpezi/SpeziNetworking.git from cache (0.73s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.74s)
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (0.75s)
[8121/92714] Fetching swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (5.27s)
Fetched https://github.com/apple/swift-nio.git from cache (5.33s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (6.61s)
Computing version for https://github.com/StanfordSpezi/SpeziNetworking.git
Computed https://github.com/StanfordSpezi/SpeziNetworking.git at 2.3.0 (0.93s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.8.2 (0.77s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/583] Fetching xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.28s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.1.8 (1.03s)
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.47s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.1.0 (1.23s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.76s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.05s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.71s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.10s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.42s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.00s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.1.0
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.1.8
Creating working copy for https://github.com/StanfordSpezi/SpeziNetworking.git
Working copy of https://github.com/StanfordSpezi/SpeziNetworking.git resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Building for debugging...
[0/64] Write sources
[0/64] Copying Localizable.xcstrings.license
[0/64] Copying Localizable.xcstrings
[0/64] Copying Info.plist
[0/64] Copying Localizable.xcstrings.license
[0/64] Copying Localizable.xcstrings
[0/64] Copying Info.plist
[0/64] Write sources
[25/64] Compiling _AtomicsShims.c
[26/64] Compiling _NumericsShims _NumericsShims.c
In file included from /host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundationObjC/ObjCExceptionHandling.m:9:
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundationObjC/include/ObjCExceptionHandling.h:12:10: fatal error: 'Foundation/NSObjCRuntime.h' file not found
12 | #include <Foundation/NSObjCRuntime.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[27/64] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[27/64] Compiling CNIOWASI CNIOWASI.c
[27/64] Compiling CNIOWindows WSAStartup.c
[27/64] Compiling CNIOWindows shim.c
[27/64] Compiling CNIODarwin shim.c
[27/64] Compiling CNIOLinux liburing_shims.c
[27/64] Compiling CNIOLinux shim.c
[27/64] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/37] Write sources
[1/37] Compiling CNIOWASI CNIOWASI.c
[1/37] Compiling CNIOWindows WSAStartup.c
In file included from /host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundationObjC/ObjCExceptionHandling.m:9:
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundationObjC/include/ObjCExceptionHandling.h:12:10: fatal error: 'Foundation/NSObjCRuntime.h' file not found
12 | #include <Foundation/NSObjCRuntime.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/37] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[2/37] Compiling c-atomics.c
[2/37] Compiling c-nioatomics.c
[2/37] Compiling CNIOLinux liburing_shims.c
[2/37] Compiling CNIODarwin shim.c
[10/37] Compiling CNIOLinux shim.c
[10/37] Compiling CNIOWindows shim.c
[10/37] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android