Build Information
Failed to build SwiftBluetooth with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/exPHAT/SwiftBluetooth.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 82395b9 Add test for access crash
Cloned https://github.com/exPHAT/SwiftBluetooth.git
Revision (git rev-parse @):
82395b9717df77621e080d8e38b74464ad02826d
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/exPHAT/SwiftBluetooth.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/exPHAT/SwiftBluetooth.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.51s)
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.40s)
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...
[1/38] Compiling SwiftBluetooth Peripheral+callback.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[2/38] Compiling SwiftBluetooth Peripheral.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[3/38] Compiling SwiftBluetooth PeripheralDelegate.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[4/41] Compiling SwiftBluetooth PeripheralDelegateWrapper.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[5/41] Compiling SwiftBluetooth PeripheralError.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[6/41] Compiling SwiftBluetooth PeripheralEvent.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[7/41] Compiling SwiftBluetooth CentralManager+callback.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[8/41] Compiling SwiftBluetooth CBUUID+Sendable.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[9/41] Compiling SwiftBluetooth CBCentralManagerFactory.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[10/41] Compiling SwiftBluetooth CentralManager+async.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[11/42] 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
^
[12/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
^
[13/42] Compiling SwiftBluetooth Peripheral+DiscoveryInfo.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[14/42] Compiling SwiftBluetooth Peripheral+async.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[15/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
^
[16/42] Compiling SwiftBluetooth CentralManagerError.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[17/42] Compiling SwiftBluetooth CentralManagerEvent.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[18/42] Compiling SwiftBluetooth AsyncStream+first.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)
[19/42] Emitting module SwiftBluetooth
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[20/42] Compiling SwiftBluetooth AsyncSubscription.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
^
[23/42] Compiling SwiftBluetooth CancellableTask.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
^
[25/42] Compiling SwiftBluetooth DispatchQueue+safeSync.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[26/42] Compiling SwiftBluetooth Characteristic.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[27/42] Compiling SwiftBluetooth NotifyingTracker.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
^
[30/42] Compiling SwiftBluetooth CentralManager.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[31/42] Compiling SwiftBluetooth CentralManagerDelegate.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[32/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
^
/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
^
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/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
^
/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...
[1/38] Compiling SwiftBluetooth CentralManager.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[2/38] Compiling SwiftBluetooth CentralManagerDelegate.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[3/38] Compiling SwiftBluetooth CentralManagerDelegateWrapper.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[4/41] Compiling CoreBluetoothMock CBMAttributes.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[5/41] Compiling CoreBluetoothMock CBMCentralManager.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[6/41] Compiling CoreBluetoothMock CBMCentralManagerDelegate.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[7/41] Compiling CoreBluetoothMock CBMCentralManagerDelegateProxy.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[8/41] Compiling SwiftBluetooth CentralManagerError.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[9/41] Compiling SwiftBluetooth CentralManagerEvent.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[10/41] Compiling SwiftBluetooth AsyncStream+first.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)
[11/41] Emitting module SwiftBluetooth
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[12/41] Compiling SwiftBluetooth CBCentralManagerFactory.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[13/41] Compiling SwiftBluetooth CentralManager+async.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[14/41] Compiling SwiftBluetooth CentralManager+callback.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[15/41] Compiling SwiftBluetooth CBUUID+Sendable.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[16/41] Compiling SwiftBluetooth DispatchQueue+safeSync.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[17/41] 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/.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
^
[20/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
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/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
^
[22/42] Compiling SwiftBluetooth Peripheral+callback.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[23/42] Compiling SwiftBluetooth Peripheral.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[24/42] Compiling SwiftBluetooth PeripheralDelegate.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[25/42] Compiling SwiftBluetooth NotifyingTracker.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[26/42] Compiling SwiftBluetooth Peripheral+DiscoveryInfo.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[27/42] Compiling SwiftBluetooth Peripheral+async.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
^
/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
^
/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
^
[34/42] Compiling SwiftBluetooth PeripheralDelegateWrapper.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[35/42] Compiling SwiftBluetooth PeripheralError.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[36/42] Compiling SwiftBluetooth PeripheralEvent.swift
/host/spi-builder-workspace/Sources/SwiftBluetooth/CentralManager/CBCentralManagerFactory.swift:2:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
error: fatalError
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
BUILD FAILURE 5.9 linux