The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BerkananSDK with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zssz/BerkananSDK.git
Reference: 2.2.8
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/zssz/BerkananSDK
 * tag               2.2.8      -> FETCH_HEAD
HEAD is now at 3ea4e8c Update README.md
Cloned https://github.com/zssz/BerkananSDK.git
Revision (git rev-parse @):
3ea4e8ca0eb038c789c4be7ead0de0bd7954dec6
SUCCESS checkout https://github.com/zssz/BerkananSDK.git at 2.2.8
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/zssz/BerkananSDK.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/zssz/BerkananCompression
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/zssz/BerkananFoundation
[1/45] Fetching berkanancompression
[46/68] Fetching berkanancompression, berkananfoundation
[69/33795] Fetching berkanancompression, berkananfoundation, swift-protobuf
Fetched https://github.com/zssz/BerkananFoundation from cache (4.42s)
Fetched https://github.com/zssz/BerkananCompression from cache (4.42s)
Fetched https://github.com/apple/swift-protobuf.git from cache (4.48s)
Computing version for https://github.com/zssz/BerkananFoundation
Computed https://github.com/zssz/BerkananFoundation at 1.0.0 (0.42s)
Computing version for https://github.com/zssz/BerkananCompression
Computed https://github.com/zssz/BerkananCompression at 1.0.3 (0.39s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.25.2 (0.55s)
Creating working copy for https://github.com/zssz/BerkananFoundation
Working copy of https://github.com/zssz/BerkananFoundation resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.25.2
Creating working copy for https://github.com/zssz/BerkananCompression
Working copy of https://github.com/zssz/BerkananCompression resolved at 1.0.3
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/15] Write sources
In file included from /host/spi-builder-workspace/Sources/CBerkananSDK/CBMutableCharacteristic+Init.m:8:
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableCharacteristic+Init.h:8:9: fatal error: module 'CoreBluetooth' not found
@import CoreBluetooth.CBCharacteristic;
 ~~~~~~~^~~~~~~~~~~~~
1 error generated.
[5/15] Compiling CBerkananSDK CBMutableCharacteristic+Init.m
[5/15] Compiling CBerkananSDK CBPeripheralManager+Init.m
In file included from /host/spi-builder-workspace/Sources/CBerkananSDK/CBMutableService+Init.m:8:
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableService+Init.h:8:9: fatal error: module 'CoreBluetooth' not found
@import CoreBluetooth.CBService;
 ~~~~~~~^~~~~~~~~~~~~
1 error generated.
[5/15] Compiling CBerkananSDK CBMutableService+Init.m
[5/15] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CBerkananSDK/CBPeripheralManager+Init.m:8:
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBPeripheralManager+Init.h:8:9: fatal error: module 'CoreBluetooth' not found
@import CoreBluetooth.CBPeripheralManager;
 ~~~~~~~^~~~~~~~~~~~~
1 error generated.
[1/11] Compiling CBerkananSDK CBPeripheralManager+Init.m
In file included from /host/spi-builder-workspace/Sources/CBerkananSDK/CBMutableCharacteristic+Init.m:8:
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableCharacteristic+Init.h:8:9: fatal error: module 'CoreBluetooth' not found
@import CoreBluetooth.CBCharacteristic;
 ~~~~~~~^~~~~~~~~~~~~
1 error generated.
[1/11] Compiling CBerkananSDK CBMutableCharacteristic+Init.m
In file included from /host/spi-builder-workspace/Sources/CBerkananSDK/CBMutableService+Init.m:8:
/host/spi-builder-workspace/Sources/CBerkananSDK/include/CBMutableService+Init.h:8:9: fatal error: module 'CoreBluetooth' not found
@import CoreBluetooth.CBService;
 ~~~~~~~^~~~~~~~~~~~~
1 error generated.
[1/11] Compiling CBerkananSDK CBMutableService+Init.m
[1/11] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 1