The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftBluetooth with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/exPHAT/SwiftBluetooth.git
Reference: 1.0.0
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/exPHAT/SwiftBluetooth
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at c5a9f4e Merge pull request #3 from exPHAT/v1.0.0
Cloned https://github.com/exPHAT/SwiftBluetooth.git
Revision (git rev-parse @):
c5a9f4e5d6d1ffc312ffe26ea1760dc9a9a9673f
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/exPHAT/SwiftBluetooth.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/exPHAT/SwiftBluetooth.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
[1/5079] Fetching ios-corebluetooth-mock
Fetched https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git (0.55s)
Computing version for https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Computed https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git at 0.17.0 (0.36s)
Creating working copy for https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Working copy of https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git resolved at 0.17.0
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/38] Emitting module SwiftBluetooth
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[2/41] Compiling SwiftBluetooth AsyncSubscription.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[3/41] Compiling SwiftBluetooth AsyncSubscriptionQueue.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/42] Emitting module CoreBluetoothMock
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[5/42] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[6/42] Compiling SwiftBluetooth Peripheral+callback.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[7/42] Compiling SwiftBluetooth Peripheral.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[8/42] Compiling SwiftBluetooth PeripheralDelegate.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[9/42] Compiling SwiftBluetooth NotifyingTracker.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[10/42] Compiling SwiftBluetooth Peripheral+DiscoveryInfo.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[11/42] Compiling SwiftBluetooth Peripheral+async.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[12/42] Compiling SwiftBluetooth CBCentralManagerFactory.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[13/42] Compiling SwiftBluetooth CentralManager+async.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[14/42] Compiling SwiftBluetooth CentralManager+callback.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[15/42] Compiling SwiftBluetooth PeripheralDelegateWrapper.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[16/42] Compiling SwiftBluetooth PeripheralError.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[17/42] Compiling SwiftBluetooth PeripheralEvent.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[19/42] Compiling SwiftBluetooth CentralManagerError.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[20/42] Compiling SwiftBluetooth AsyncSubscriptionQueueMap.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[21/42] Compiling SwiftBluetooth CancellableTask.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[24/42] Compiling SwiftBluetooth CentralManager.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[25/42] Compiling SwiftBluetooth CentralManagerDelegate.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[26/42] Compiling SwiftBluetooth CentralManagerDelegateWrapper.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[28/42] Compiling SwiftBluetooth CentralManagerEvent.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[29/42] Compiling SwiftBluetooth AsyncStream+first.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[30/42] Compiling SwiftBluetooth CBUUID+Sendable.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[31/42] Compiling SwiftBluetooth DispatchQueue+safeSync.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[32/42] Compiling SwiftBluetooth Characteristic.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/38] Emitting module SwiftBluetooth
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[2/41] Compiling SwiftBluetooth PeripheralDelegateWrapper.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[3/41] Compiling SwiftBluetooth PeripheralError.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[4/41] Compiling SwiftBluetooth PeripheralEvent.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[5/41] Compiling SwiftBluetooth CentralManagerError.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[6/41] Compiling SwiftBluetooth CentralManagerEvent.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[7/41] Compiling SwiftBluetooth AsyncStream+first.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[8/41] Compiling SwiftBluetooth NotifyingTracker.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[9/41] Compiling SwiftBluetooth Peripheral+DiscoveryInfo.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[10/41] Compiling SwiftBluetooth Peripheral+async.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[11/41] Compiling SwiftBluetooth CBUUID+Sendable.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[12/41] Compiling SwiftBluetooth DispatchQueue+safeSync.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[13/41] Compiling SwiftBluetooth Characteristic.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[14/41] Compiling CoreBluetoothMock CBMPeripheralPreview.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[15/41] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[16/41] Compiling SwiftBluetooth CentralManagerDelegateWrapper.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[17/41] Compiling SwiftBluetooth Peripheral+callback.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[18/41] Compiling SwiftBluetooth Peripheral.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[19/41] Compiling SwiftBluetooth PeripheralDelegate.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[20/41] Compiling SwiftBluetooth CBCentralManagerFactory.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[21/41] Compiling SwiftBluetooth CentralManager+async.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[22/41] Compiling SwiftBluetooth CentralManager+callback.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[23/41] Compiling SwiftBluetooth AsyncSubscription.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[24/41] Compiling SwiftBluetooth AsyncSubscriptionQueue.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[25/41] Compiling SwiftBluetooth AsyncSubscriptionQueueMap.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[26/41] Compiling SwiftBluetooth CancellableTask.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/41] Emitting module CoreBluetoothMock
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
BUILD FAILURE 5.8 linux