Build Information
Failed to build iOSMcuManagerLibrary with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/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.32.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager.git
Reference: main
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/NordicSemiconductor/IOS-nRF-Connect-Device-Manager
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d46c9ff Merge pull request #205 from NordicSemiconductor/readme-update
Cloned https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager.git
Revision (git rev-parse @):
d46c9ff85c87e786e8550fc3f4d633b1bc5c67be
SUCCESS checkout https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/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/unrelentingtech/SwiftCBOR.git
[1/1254] Fetching swiftcbor
Fetched https://github.com/unrelentingtech/SwiftCBOR.git (0.23s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.4.4 (0.34s)
Creating working copy for https://github.com/unrelentingtech/SwiftCBOR.git
Working copy of https://github.com/unrelentingtech/SwiftCBOR.git resolved at 0.4.4
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/PrivacyInfo.xcprivacy
Building for debugging...
[1/15] Compiling SwiftCBOR CodableCBORDecoder.swift
[2/15] Compiling SwiftCBOR KeyedDecodingContainer.swift
[3/17] Compiling SwiftCBOR CodableCBOREncoder.swift
[4/17] Compiling SwiftCBOR KeyedEncodingContainer.swift
[5/17] Compiling SwiftCBOR SingleValueDecodingContainer.swift
[6/17] Compiling SwiftCBOR UnkeyedDecodingContainer.swift
[7/17] Compiling SwiftCBOR SingleValueEncodingContainer.swift
[8/17] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[9/17] Compiling SwiftCBOR CBOREncoder.swift
[10/17] Compiling SwiftCBOR CBORInputStream.swift
[11/17] Compiling SwiftCBOR AnyCodingKey.swift
[12/17] Compiling SwiftCBOR CBOR.swift
[13/17] Emitting module SwiftCBOR
[14/17] Compiling SwiftCBOR CBORDecoder.swift
[15/17] Compiling SwiftCBOR CBOREncodable.swift
[16/17] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[17/17] Compiling SwiftCBOR Util.swift
[20/47] Compiling iOSMcuManagerLibrary McuMgrHeader.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[21/47] Compiling iOSMcuManagerLibrary McuMgrImage.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[22/47] Compiling iOSMcuManagerLibrary McuMgrLogDelegate.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[23/47] Compiling iOSMcuManagerLibrary McuMgrManifest.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[24/47] Compiling iOSMcuManagerLibrary CBOR+McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[25/47] Compiling iOSMcuManagerLibrary Data+McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[26/47] Compiling iOSMcuManagerLibrary String+McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[27/47] Compiling iOSMcuManagerLibrary BasicManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[28/47] Compiling iOSMcuManagerLibrary SettingsManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[29/47] Compiling iOSMcuManagerLibrary ShellManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[30/47] Compiling iOSMcuManagerLibrary StatsManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[31/47] Compiling iOSMcuManagerLibrary McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[32/50] Compiling iOSMcuManagerLibrary McuMgrROBBuffer.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[33/50] Compiling iOSMcuManagerLibrary McuMgrResponse.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[34/50] Compiling iOSMcuManagerLibrary McuMgrSuitEnvelope.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[35/50] Compiling iOSMcuManagerLibrary McuMgrBleTransport+CBCentralManagerDelegate.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[36/50] Compiling iOSMcuManagerLibrary McuMgrBleTransport+CBPeripheralDelegate.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[37/50] Compiling iOSMcuManagerLibrary McuMgrBleTransport.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[38/50] Compiling iOSMcuManagerLibrary McuMgrBleTransportWriteState.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[39/50] Compiling iOSMcuManagerLibrary McuMgrTransport.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[40/50] Compiling iOSMcuManagerLibrary CBOR+String.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[41/50] Compiling iOSMcuManagerLibrary ResultLock.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[42/50] Compiling iOSMcuManagerLibrary FileSystemManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[43/50] Compiling iOSMcuManagerLibrary ImageManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[44/50] Compiling iOSMcuManagerLibrary LogManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[45/50] Compiling iOSMcuManagerLibrary RunTestManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[46/50] Compiling iOSMcuManagerLibrary CrashManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[47/50] Compiling iOSMcuManagerLibrary FirmwareUpgradeController.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[48/50] Compiling iOSMcuManagerLibrary FirmwareUpgradeManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[49/50] Compiling iOSMcuManagerLibrary DefaultManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/50] Emitting module iOSMcuManagerLibrary
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
error: fatalError
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/PrivacyInfo.xcprivacy
[0/1] Planning build
Building for debugging...
[1/28] Compiling iOSMcuManagerLibrary SettingsManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[2/28] Compiling iOSMcuManagerLibrary ShellManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[3/28] Compiling iOSMcuManagerLibrary StatsManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[4/28] Compiling iOSMcuManagerLibrary McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[5/31] Compiling iOSMcuManagerLibrary CBOR+McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[6/31] Compiling iOSMcuManagerLibrary Data+McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[7/31] Compiling iOSMcuManagerLibrary String+McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[8/31] Compiling iOSMcuManagerLibrary BasicManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[9/31] Compiling iOSMcuManagerLibrary McuMgrROBBuffer.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[10/31] Compiling iOSMcuManagerLibrary McuMgrResponse.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[11/31] Compiling iOSMcuManagerLibrary McuMgrSuitEnvelope.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[12/31] Compiling iOSMcuManagerLibrary McuMgrHeader.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[13/31] Compiling iOSMcuManagerLibrary McuMgrImage.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[14/31] Compiling iOSMcuManagerLibrary McuMgrLogDelegate.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[15/31] Compiling iOSMcuManagerLibrary McuMgrManifest.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[16/31] Compiling iOSMcuManagerLibrary McuMgrBleTransport+CBCentralManagerDelegate.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[17/31] Compiling iOSMcuManagerLibrary McuMgrBleTransport+CBPeripheralDelegate.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[18/31] Compiling iOSMcuManagerLibrary McuMgrBleTransport.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[19/31] Compiling iOSMcuManagerLibrary McuMgrBleTransportWriteState.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[20/31] Compiling iOSMcuManagerLibrary CrashManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[21/31] Compiling iOSMcuManagerLibrary FirmwareUpgradeController.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[22/31] Compiling iOSMcuManagerLibrary FirmwareUpgradeManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[23/31] Compiling iOSMcuManagerLibrary DefaultManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[24/31] Compiling iOSMcuManagerLibrary FileSystemManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[25/31] Compiling iOSMcuManagerLibrary ImageManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[26/31] Compiling iOSMcuManagerLibrary LogManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[27/31] Compiling iOSMcuManagerLibrary RunTestManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[28/31] Compiling iOSMcuManagerLibrary McuMgrTransport.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[29/31] Compiling iOSMcuManagerLibrary CBOR+String.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[30/31] Compiling iOSMcuManagerLibrary ResultLock.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/31] Emitting module iOSMcuManagerLibrary
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 1