The Swift Package Index logo.Swift Package Index

Build Information

Failed to build iOSMcuManagerLibrary with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path:  $workDir
https://github.com/NordicSemiconductor/IOS-nRF-Connect-Device-Manager.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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 from cache (0.26s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.4.4 (0.41s)
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...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/18] Emitting module SwiftCBOR
[5/20] Compiling SwiftCBOR CodableCBORDecoder.swift
[6/20] Compiling SwiftCBOR KeyedDecodingContainer.swift
[7/20] Compiling SwiftCBOR SingleValueDecodingContainer.swift
[8/20] Compiling SwiftCBOR UnkeyedDecodingContainer.swift
[9/20] Compiling SwiftCBOR CBORDecoder.swift
[10/20] Compiling SwiftCBOR CBOREncodable.swift
[11/20] Compiling SwiftCBOR CBOREncoder.swift
[12/20] Compiling SwiftCBOR CBORInputStream.swift
[13/20] Compiling SwiftCBOR AnyCodingKey.swift
[14/20] Compiling SwiftCBOR CBOR.swift
[15/20] Compiling SwiftCBOR CodableCBOREncoder.swift
[16/20] Compiling SwiftCBOR KeyedEncodingContainer.swift
[17/20] Compiling SwiftCBOR SingleValueEncodingContainer.swift
[18/20] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[19/20] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[20/20] Compiling SwiftCBOR Util.swift
[22/49] Compiling iOSMcuManagerLibrary CBOR+McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[23/49] Compiling iOSMcuManagerLibrary Data+McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[24/49] Compiling iOSMcuManagerLibrary String+McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[25/49] Compiling iOSMcuManagerLibrary BasicManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[26/52] Compiling iOSMcuManagerLibrary McuMgrHeader.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[27/52] Compiling iOSMcuManagerLibrary McuMgrImage.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[28/52] Compiling iOSMcuManagerLibrary McuMgrLogDelegate.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[29/52] Compiling iOSMcuManagerLibrary McuMgrManifest.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[30/52] Compiling iOSMcuManagerLibrary SettingsManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[31/52] Compiling iOSMcuManagerLibrary ShellManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[32/52] Compiling iOSMcuManagerLibrary StatsManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[33/52] Compiling iOSMcuManagerLibrary McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[34/52] Compiling iOSMcuManagerLibrary McuMgrROBBuffer.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[35/52] Compiling iOSMcuManagerLibrary McuMgrResponse.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[36/52] Compiling iOSMcuManagerLibrary McuMgrSuitEnvelope.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[37/52] Compiling iOSMcuManagerLibrary McuMgrBleTransport+CBCentralManagerDelegate.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[38/52] Compiling iOSMcuManagerLibrary McuMgrBleTransport+CBPeripheralDelegate.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[39/52] Compiling iOSMcuManagerLibrary McuMgrBleTransport.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[40/52] Compiling iOSMcuManagerLibrary McuMgrBleTransportWriteState.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[41/52] Compiling iOSMcuManagerLibrary McuMgrTransport.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[42/52] Compiling iOSMcuManagerLibrary CBOR+String.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[43/52] Compiling iOSMcuManagerLibrary ResultLock.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[44/52] Compiling iOSMcuManagerLibrary CrashManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[45/52] Compiling iOSMcuManagerLibrary FirmwareUpgradeController.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[46/52] Compiling iOSMcuManagerLibrary FirmwareUpgradeManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[47/52] Compiling iOSMcuManagerLibrary DefaultManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[48/52] Compiling iOSMcuManagerLibrary FileSystemManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[49/52] Compiling iOSMcuManagerLibrary ImageManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[50/52] Compiling iOSMcuManagerLibrary LogManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[51/52] Compiling iOSMcuManagerLibrary RunTestManager.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)
[52/52] 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...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/29] Compiling iOSMcuManagerLibrary CBOR+McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[3/29] Compiling iOSMcuManagerLibrary Data+McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[4/29] Compiling iOSMcuManagerLibrary String+McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[5/29] Compiling iOSMcuManagerLibrary BasicManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[6/32] Compiling iOSMcuManagerLibrary SettingsManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[7/32] Compiling iOSMcuManagerLibrary ShellManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[8/32] Compiling iOSMcuManagerLibrary StatsManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[9/32] Compiling iOSMcuManagerLibrary McuManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[10/32] Compiling iOSMcuManagerLibrary McuMgrHeader.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[11/32] Compiling iOSMcuManagerLibrary McuMgrImage.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[12/32] Compiling iOSMcuManagerLibrary McuMgrLogDelegate.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[13/32] Compiling iOSMcuManagerLibrary McuMgrManifest.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[14/32] Compiling iOSMcuManagerLibrary McuMgrROBBuffer.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[15/32] Compiling iOSMcuManagerLibrary McuMgrResponse.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[16/32] Compiling iOSMcuManagerLibrary McuMgrSuitEnvelope.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[17/32] Compiling iOSMcuManagerLibrary McuMgrTransport.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[18/32] Compiling iOSMcuManagerLibrary CBOR+String.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[19/32] 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)
[20/32] Emitting module iOSMcuManagerLibrary
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[21/32] Compiling iOSMcuManagerLibrary CrashManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[22/32] Compiling iOSMcuManagerLibrary FirmwareUpgradeController.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[23/32] Compiling iOSMcuManagerLibrary FirmwareUpgradeManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[24/32] Compiling iOSMcuManagerLibrary DefaultManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[25/32] Compiling iOSMcuManagerLibrary FileSystemManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[26/32] Compiling iOSMcuManagerLibrary ImageManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[27/32] Compiling iOSMcuManagerLibrary LogManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[28/32] Compiling iOSMcuManagerLibrary RunTestManager.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[29/32] Compiling iOSMcuManagerLibrary McuMgrBleTransport+CBCentralManagerDelegate.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[30/32] Compiling iOSMcuManagerLibrary McuMgrBleTransport+CBPeripheralDelegate.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[31/32] Compiling iOSMcuManagerLibrary McuMgrBleTransport.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[32/32] Compiling iOSMcuManagerLibrary McuMgrBleTransportWriteState.swift
/host/spi-builder-workspace/Source/Bluetooth/McuMgrBleTransport+CBCentralManagerDelegate.swift:9:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2