Build Information
Failed to build Pelican with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/takanu/pelican.git
Reference: master
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/takanu/pelican
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at acb0cea Fixed Schedule unwrapping issue
Cloned https://github.com/takanu/pelican.git
Revision (git rev-parse @):
acb0cea3bb5b98721496fcb2f7c81c18c6e785bf
SUCCESS checkout https://github.com/takanu/pelican.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/takanu/pelican.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/IBM-Swift/SwiftyJSON.git
[1/2687] Fetching swiftyjson
Fetched https://github.com/IBM-Swift/SwiftyJSON.git from cache (0.31s)
Computing version for https://github.com/IBM-Swift/SwiftyJSON.git
Computed https://github.com/IBM-Swift/SwiftyJSON.git at 17.0.5 (1.46s)
Creating working copy for https://github.com/IBM-Swift/SwiftyJSON.git
Working copy of https://github.com/IBM-Swift/SwiftyJSON.git resolved at 17.0.5
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/6] Emitting module SwiftyJSON
[5/6] Compiling SwiftyJSON LclJSONSerialization.swift
[6/6] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:301:10: error: cannot find 'kCFNumberFloat32Type' in scope
299 | let type = CFNumberGetType(unsafeBitCast(number, to: CFNumber.self))
300 | switch(type) {
301 | case kCFNumberFloat32Type:
| `- error: cannot find 'kCFNumberFloat32Type' in scope
302 | return String(number.floatValue)
303 | case kCFNumberFloat64Type:
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:303:10: error: cannot find 'kCFNumberFloat64Type' in scope
301 | case kCFNumberFloat32Type:
302 | return String(number.floatValue)
303 | case kCFNumberFloat64Type:
| `- error: cannot find 'kCFNumberFloat64Type' in scope
304 | return String(number.doubleValue)
305 | default:
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Sources/SwiftyJSON/SwiftyJSON.swift:1567:29: error: cannot find 'kCFNumberSInt8Type' in scope
1565 | #if os(Linux)
1566 | let type = CFNumberGetType(unsafeBitCast(self, to: CFNumber.self))
1567 | if type == kCFNumberSInt8Type &&
| `- error: cannot find 'kCFNumberSInt8Type' in scope
1568 | (self.compare(trueNumber) == ComparisonResult.orderedSame ||
1569 | self.compare(falseNumber) == ComparisonResult.orderedSame){
BUILD FAILURE 6.0 linux