Build Information
Failed to build CoreBluetoothMock 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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Reference: 0.18.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/NordicSemiconductor/IOS-CoreBluetooth-Mock
* tag 0.18.0 -> FETCH_HEAD
HEAD is now at 500b238 Merge pull request #108 from NordicSemiconductor/launchscreen
Cloned https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Revision (git rev-parse @):
500b23852e7d46b63ef8e2a826c2b6f3f6ed50ef
SUCCESS checkout https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git at 0.18.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.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 2>&1
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/1457] Fetching swift-docc-plugin
[380/3942] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (0.38s)
Fetched https://github.com/apple/swift-docc-plugin (0.38s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.1.0 (0.37s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.41s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.1.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/17] Compiling CoreBluetoothMock CBMCentralManagerNative.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[4/17] Compiling CoreBluetoothMock CBMManagerTypes.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[5/17] Compiling CoreBluetoothMock CBMPeripheralPreview.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[6/17] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[7/18] Compiling CoreBluetoothMock CBMPeripheralDelegate.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[8/18] Compiling CoreBluetoothMock CBMPeripheralDelegateProxy.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[9/18] Compiling CoreBluetoothMock CBMPeer.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[10/18] Compiling CoreBluetoothMock CBMPeripheral.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[11/18] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.swift
/host/spi-builder-workspace/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)
[12/18] Emitting module CoreBluetoothMock
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[13/18] Compiling CoreBluetoothMock CBMCentralManagerFactory.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[14/18] Compiling CoreBluetoothMock CBMCentralManagerMock.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[15/18] Compiling CoreBluetoothMock CBMAttributes.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[16/18] Compiling CoreBluetoothMock CBMCentralManager.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[17/18] Compiling CoreBluetoothMock CBMCentralManagerDelegate.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[18/18] Compiling CoreBluetoothMock CBMCentralManagerDelegateProxy.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
error: fatalError
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/17] Compiling CoreBluetoothMock CBMCentralManagerDelegate.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[4/17] Compiling CoreBluetoothMock CBMCentralManagerDelegateProxy.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[5/18] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[6/18] Compiling CoreBluetoothMock CBMPeer.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[7/18] Compiling CoreBluetoothMock CBMPeripheral.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[8/18] Compiling CoreBluetoothMock CBMPeripheralPreview.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[9/18] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[10/18] Compiling CoreBluetoothMock CBMPeripheralDelegate.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[11/18] Compiling CoreBluetoothMock CBMPeripheralDelegateProxy.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[12/18] Compiling CoreBluetoothMock CBMCentralManagerNative.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[13/18] Compiling CoreBluetoothMock CBMManagerTypes.swift
/host/spi-builder-workspace/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)
[14/18] Emitting module CoreBluetoothMock
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[15/18] Compiling CoreBluetoothMock CBMAttributes.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[16/18] Compiling CoreBluetoothMock CBMCentralManager.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[17/18] Compiling CoreBluetoothMock CBMCentralManagerFactory.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
[18/18] Compiling CoreBluetoothMock CBMCentralManagerMock.swift
/host/spi-builder-workspace/CoreBluetoothMock/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
^
error: fatalError
BUILD FAILURE 5.9 linux