Build Information
Failed to build Pelican, reference 0.8.1 (8fd80d
), with Swift 6.0 for Linux on 26 Nov 2024 18:52:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/takanu/pelican.git
Reference: 0.8.1
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
* tag 0.8.1 -> FETCH_HEAD
HEAD is now at 8fd80db - Initial conversion to Swift 4.2 - Fixed misleading "useWebPreview" argument in the sendMessage Sync and Async method to "disableWebPreview"
Cloned https://github.com/takanu/pelican.git
Revision (git rev-parse @):
8fd80dba68c5a6082840d2d9a2c5161e8b2e5d83
SUCCESS checkout https://github.com/takanu/pelican.git at 0.8.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/takanu/pelican.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/IBM-Swift/SwiftyJSON.git
[1/2687] Fetching swiftyjson
Fetched https://github.com/IBM-Swift/SwiftyJSON.git from cache (0.27s)
Computing version for https://github.com/IBM-Swift/SwiftyJSON.git
Computed https://github.com/IBM-Swift/SwiftyJSON.git at 17.0.5 (1.84s)
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] Compiling SwiftyJSON LclJSONSerialization.swift
[5/6] Emitting module SwiftyJSON
[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