Build Information
Failed to build SpeziBluetooth, reference 3.2.2 (6bfc03
), with Swift 6.1 for Linux on 2 May 2025 20:47:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
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: linux
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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/StanfordSpezi/SpeziNetworking.git
Fetching https://github.com/StanfordSpezi/Spezi.git
[1/770] Fetching spezifoundation
[748/1080] Fetching spezifoundation, spezinetworking
[1081/10215] Fetching spezifoundation, spezinetworking, spezi
[4370/11920] Fetching spezifoundation, spezinetworking, spezi, swift-atomics
[8638/28233] Fetching spezifoundation, spezinetworking, spezi, swift-atomics, swift-collections
[14695/103931] Fetching spezifoundation, spezinetworking, spezi, swift-atomics, swift-collections, swift-nio
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (3.84s)
Fetched https://github.com/StanfordSpezi/SpeziNetworking.git from cache (3.84s)
Fetched https://github.com/apple/swift-atomics.git from cache (3.84s)
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (3.85s)
Fetched https://github.com/apple/swift-collections.git from cache (3.88s)
Fetched https://github.com/apple/swift-nio.git from cache (3.94s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (4.40s)
Computing version for https://github.com/StanfordSpezi/SpeziNetworking.git
Computed https://github.com/StanfordSpezi/SpeziNetworking.git at 2.3.0 (0.67s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.1.5 (0.72s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/534] Fetching xctruntimeassertions
[535/6452] Fetching xctruntimeassertions, swift-algorithms
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.33s)
[3847/5918] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.45s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 1.1.3 (2.32s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.46s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.41s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.91s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.8.1 (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.61s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.1 (0.87s)
Fetching https://github.com/apple/swift-system.git
[1/4367] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.35s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.77s)
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 1.1.3
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.8.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.82.1
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/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.1.5
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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
Building for debugging...
[0/64] Write sources
[1/64] Copying Localizable.xcstrings.license
[2/64] Copying Localizable.xcstrings
[2/64] Copying Info.plist
[5/64] Write sources
[5/64] Copying Localizable.xcstrings.license
[5/64] Copying Info.plist
[5/64] Copying Localizable.xcstrings
[10/64] Write sources
[27/64] Compiling CNIOWindows shim.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.
[28/64] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[28/64] Compiling CNIOWindows WSAStartup.c
[28/64] Compiling CNIOWASI CNIOWASI.c
[28/64] Compiling CNIOLinux liburing_shims.c
[28/64] Compiling CNIOLinux shim.c
[28/64] Compiling _AtomicsShims.c
[28/64] Compiling _NumericsShims _NumericsShims.c
[28/64] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
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.
[0/36] Compiling CNIOWASI CNIOWASI.c
[1/36] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[1/36] Compiling CNIOWindows WSAStartup.c
[1/36] Compiling CNIODarwin shim.c
[1/36] Compiling CNIOLinux liburing_shims.c
[1/36] Compiling CNIOLinux shim.c
[1/36] Compiling _NumericsShims _NumericsShims.c
[1/36] Compiling _AtomicsShims.c
[1/36] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux