The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SpeziBluetooth, reference 3.2.2 (6bfc03), with Swift 6.1 for Wasm on 30 May 2025 23:54:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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:         wasm
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-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/StanfordSpezi/SpeziNetworking.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
[1/310] Fetching spezinetworking
[311/9492] Fetching spezinetworking, spezi
[862/10372] Fetching spezinetworking, spezi, spezifoundation
[8170/12089] Fetching spezinetworking, spezi, spezifoundation, swift-atomics
[10264/28680] Fetching spezinetworking, spezi, spezifoundation, swift-atomics, swift-collections
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (0.39s)
[5563/95621] Fetching spezinetworking, spezifoundation, swift-atomics, swift-collections, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (0.44s)
[7622/93904] Fetching spezinetworking, spezifoundation, swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (1.00s)
[46103/77313] Fetching spezinetworking, spezifoundation, swift-nio
Fetched https://github.com/StanfordSpezi/SpeziNetworking.git from cache (4.62s)
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (4.62s)
Fetched https://github.com/apple/swift-nio.git from cache (4.71s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (5.21s)
Computing version for https://github.com/StanfordSpezi/SpeziNetworking.git
Computed https://github.com/StanfordSpezi/SpeziNetworking.git at 2.3.0 (1.18s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.8.2 (0.67s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/583] Fetching xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.27s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.1.8 (0.97s)
Fetching https://github.com/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.44s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.1.0 (1.01s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.49s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.38s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.87s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.73s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.39s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.84s)
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/SpeziNetworking.git
Working copy of https://github.com/StanfordSpezi/SpeziNetworking.git resolved at 2.3.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/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.1.8
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.5.0
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Building for debugging...
[0/58] Write sources
[5/58] Copying Localizable.xcstrings
[6/58] Copying Info.plist
[7/58] Copying Localizable.xcstrings.license
[8/58] Write sources
[10/58] Copying Localizable.xcstrings
[11/58] Copying Info.plist
[11/58] Write sources
[13/58] Copying Localizable.xcstrings.license
[14/58] Write sources
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.
[23/58] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[23/58] Compiling CNIOWindows WSAStartup.c
[23/58] Compiling _AtomicsShims.c
[23/58] Compiling CNIOLinux shim.c
[23/58] Compiling CNIOWASI CNIOWASI.c
[23/58] Compiling _NumericsShims _NumericsShims.c
[23/58] Compiling CNIOWindows shim.c
[23/58] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/35] Compiling _AtomicsShims.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.
[1/35] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[1/35] Compiling CNIOWindows shim.c
[1/35] Compiling CNIOWindows WSAStartup.c
[1/35] Compiling CNIOLinux liburing_shims.c
[1/35] Compiling CNIOWASI CNIOWASI.c
[1/35] Compiling CNIOLinux shim.c
[1/35] Compiling _NumericsShims _NumericsShims.c
[1/35] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm