The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LittleBlueTooth with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DrAma999/LittleBlueTooth.git
Reference: 0.8.0
Cloned https://github.com/DrAma999/LittleBlueTooth.git into spi-builder-workspace
SUCCESS checkout https://github.com/DrAma999/LittleBlueTooth.git at 0.8.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
[1/3958] Fetching ios-corebluetooth-mock
Fetched https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git (0.65s)
Computing version for https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git
Computed https://github.com/NordicSemiconductor/IOS-CoreBluetooth-Mock.git at 0.14.0 (0.30s)
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.14.0
Building for debugging...
[1/35] Compiling LittleBlueTooth Log.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/Classes/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[2/35] Compiling LittleBlueTooth ReadAndWrite.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/Classes/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[3/36] Compiling CoreBluetoothMock CBMPeripheralSpecDelegate.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/Classes/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[4/36] Compiling CoreBluetoothMock CBMPeripheralSpec.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/Classes/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[5/36] Compiling LittleBlueTooth ShareReplay.swift
/host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/JustLittleBlueTooth.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[6/36] Compiling LittleBlueTooth Utilities.swift
/host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/JustLittleBlueTooth.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[7/36] Compiling LittleBlueTooth CBPeripheralProxy.swift
/host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/JustLittleBlueTooth.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[8/36] Compiling LittleBlueTooth ReplaySubject.swift
/host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/JustLittleBlueTooth.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[9/36] Compiling LittleBlueTooth ReplaySubjectSubscription.swift
/host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/JustLittleBlueTooth.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[10/38] Compiling LittleBlueTooth PeripheralDiscovery.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/Classes/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[11/38] Compiling LittleBlueTooth CBCentralManagerDelegateProxy.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/Classes/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[12/38] Compiling LittleBlueTooth LittleBlueToothCharacteristic.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/Classes/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
[13/38] Compiling LittleBlueTooth LittleBluetoothConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/Classes/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/38] Emitting module LittleBlueTooth
/host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/JustLittleBlueTooth.swift:9:8: error: no such module 'Combine'
import Combine
       ^
error: compile command failed due to signal 6 (use -v to see invocation)
error: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/JustLittleBlueTooth.swift:9:8: error: no such module 'Combine'
import Combine
       ^
/host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/JustLittleBlueTooth.swift:9:8: error: no such module 'Combine'
import Combine
       ^
[17/38] Compiling LittleBlueTooth Loggable.swift
/host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/JustLittleBlueTooth.swift:9:8: error: no such module 'Combine'
import Combine
       ^
/host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/JustLittleBlueTooth.swift:9:8: error: no such module 'Combine'
import Combine
       ^
Can't demangle: $s15LittleBlueTooth0A14BluetoothErrorO30couldNotReadFromCharacteristic33_6E653EDF36D1410CC5D829BB06B78F1DLLXeF5errorL_s0E0_pvp
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/JustLittleBlueTooth.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/Listen.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/Log.swift -primary-file /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/ReadAndWrite.swift -primary-file /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/CustomOperator/ScanAndConnection.swift -primary-file /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Error/LittleBlueToothError.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Extension/Helper.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/AdvertisingData.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/CentralRestorer.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/LittleBlueToothCharacteristic.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/LittleBluetoothConfiguration.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/Loggable.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/Peripheral.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Model/PeripheralDiscovery.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Proxies/CBCentralManagerDelegateProxy.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Proxies/CBPeripheralProxy.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Utilities/ShareAndReplayOperator/ReplaySubject.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Utilities/ShareAndReplayOperator/ReplaySubjectSubscription.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Utilities/ShareAndReplayOperator/ShareReplay.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Utilities/Utilities.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/CoreBluetoothTypeAliases.swift /host/spi-builder-workspace/Sources/LittleBlueTooth/LittleBlueTooth.swift -supplementary-output-file-map /tmp/TemporaryDirectory.5wKvSs/supplementaryOutputs-2 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -module-name LittleBlueTooth -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/LittleBlueTooth.build/Classes/CustomOperator/ReadAndWrite.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/LittleBlueTooth.build/Classes/CustomOperator/ScanAndConnection.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/LittleBlueTooth.build/Classes/Error/LittleBlueToothError.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 5.9-dev (LLVM 71b6f8f40249d4a, Swift 0027fac736e2385)
2.	Compiling with the current language version
3.	While walking into 'LittleBluetoothError' (at /host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Error/LittleBlueToothError.swift:16:8)
4.	While evaluating request USRGenerationRequest(LittleBlueTooth.(file).LittleBluetoothError.couldNotReadFromCharacteristic(characteristic:error:).error@/host/spi-builder-workspace/Sources/LittleBlueTooth/Classes/Error/LittleBlueToothError.swift:32:65)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend[0x6bbfa73]
/usr/bin/swift-frontend[0x6bbd68e]
/usr/bin/swift-frontend[0x6bbfddf]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f8b70ca1420]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f8b700d500b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f8b700b4859]
/usr/bin/swift-frontend[0x2335662]
/usr/bin/swift-frontend[0x1f8ee74]
/usr/bin/swift-frontend[0x22f96f9]
/usr/bin/swift-frontend[0x1c40e8c]
/usr/bin/swift-frontend[0x88c6e7]
/usr/bin/swift-frontend[0x88c207]
/usr/bin/swift-frontend[0x88b2de]
/usr/bin/swift-frontend[0x22fa20a]
/usr/bin/swift-frontend[0x8583d9]
/usr/bin/swift-frontend[0x857be7]
/usr/bin/swift-frontend[0x854cde]
/usr/bin/swift-frontend[0x156a12d]
/usr/bin/swift-frontend[0x1fe4b32]
/usr/bin/swift-frontend[0x1fe7c6b]
/usr/bin/swift-frontend[0x1fe4b7a]
/usr/bin/swift-frontend[0x1fe8a66]
/usr/bin/swift-frontend[0x1fe4b7a]
/usr/bin/swift-frontend[0x1fe4a43]
/usr/bin/swift-frontend[0x21c6162]
/usr/bin/swift-frontend[0x1567816]
/usr/bin/swift-frontend[0x854300]
/usr/bin/swift-frontend[0x85419a]
/usr/bin/swift-frontend[0x8498c5]
/usr/bin/swift-frontend[0x8492c4]
/usr/bin/swift-frontend[0x66fabc]
/usr/bin/swift-frontend[0x66dabc]
/usr/bin/swift-frontend[0x669040]
/usr/bin/swift-frontend[0x4c4b51]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f8b700b6083]
/usr/bin/swift-frontend[0x4c429e]
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/38] Emitting module CoreBluetoothMock
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/Classes/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
/host/spi-builder-workspace/.build/checkouts/IOS-CoreBluetooth-Mock/CoreBluetoothMock/Classes/CBMAttributes.swift:31:8: error: no such module 'CoreBluetooth'
import CoreBluetooth
       ^
BUILD FAILURE 5.9 linux

Build Machine: Linux 1