Build Information
Failed to build BetterXC, reference 0.9.3 (3a87c1
), with Swift 6.1 for Linux on 25 Apr 2025 18:05:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/monstar-lab/betterxc.git
Reference: 0.9.3
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/monstar-lab/betterxc
* tag 0.9.3 -> FETCH_HEAD
HEAD is now at 3a87c18 Merge branch 'release/0.9.3'
Cloned https://github.com/monstar-lab/betterxc.git
Revision (git rev-parse @):
3a87c187cdc9a6e5b16ade2d71518bc6175b2720
SUCCESS checkout https://github.com/monstar-lab/betterxc.git at 0.9.3
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/monstar-lab/betterxc.git
https://github.com/monstar-lab/betterxc.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "xcproj",
"requirement" : {
"range" : [
{
"lower_bound" : "4.3.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcodeswift/xcproj.git"
},
{
"identity" : "swiftshell",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kareman/SwiftShell.git"
},
{
"identity" : "moderator",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kareman/Moderator.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.4",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow.git"
}
],
"manifest_display_name" : "BetterXC",
"name" : "BetterXC",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "xc",
"targets" : [
"BetterXC"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "BetterXC",
"module_type" : "SwiftTarget",
"name" : "BetterXC",
"path" : "Sources/BetterXC",
"product_dependencies" : [
"xcproj",
"SwiftShell",
"Moderator",
"Rainbow"
],
"product_memberships" : [
"xc"
],
"sources" : [
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/xcodeswift/xcproj.git
Fetching https://github.com/kareman/Moderator.git
[1/1196] Fetching rainbow
[2/6059] Fetching rainbow, swiftshell
[1473/6717] Fetching rainbow, swiftshell, moderator
[6521/29865] Fetching rainbow, swiftshell, moderator, xcproj
Fetched https://github.com/kareman/Moderator.git from cache (2.17s)
[22495/29207] Fetching rainbow, swiftshell, xcproj
Fetched https://github.com/onevcat/Rainbow.git from cache (3.72s)
Fetched https://github.com/kareman/SwiftShell.git from cache (3.73s)
Fetched https://github.com/xcodeswift/xcproj.git from cache (3.75s)
Computing version for https://github.com/xcodeswift/xcproj.git
Computed https://github.com/xcodeswift/xcproj.git at 4.3.1 (5.18s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/kylef/PathKit.git
[1/960] Fetching shellout
[779/2371] Fetching shellout, pathkit
[2372/4498] Fetching shellout, pathkit, aexml
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.43s)
Fetched https://github.com/kylef/PathKit.git from cache (0.43s)
Fetched https://github.com/tadija/AEXML.git from cache (0.44s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (2.32s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.26s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.76s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (0.48s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (0.51s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (2.25s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.62s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.86s)
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/xcodeswift/xcproj.git
Working copy of https://github.com/xcodeswift/xcproj.git resolved at 4.3.1
Creating working copy for https://github.com/kareman/Moderator.git
Working copy of https://github.com/kareman/Moderator.git resolved at 0.5.1
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.2
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/51] Emitting module Moderator
[10/51] Emitting module Rainbow
[11/52] Compiling SwiftShell Lazy-split.swift
[12/53] Compiling Moderator SwiftCompat.swift
[13/53] Compiling SwiftShell Array.swift
[14/53] Compiling Rainbow StringGenerator.swift
[15/53] Compiling Rainbow Style.swift
[16/53] Compiling Rainbow BackgroundColor.swift
[17/53] Compiling Rainbow CodesParser.swift
[18/53] Compiling Rainbow Color.swift
[19/53] Compiling Rainbow ControlCode.swift
[20/53] Compiling Rainbow XcodeColorsSupport.swift
[21/53] Compiling Moderator Parsers.swift
[22/53] Compiling Rainbow String+Rainbow.swift
[23/53] Compiling SwiftShell Stream.swift
[26/53] Compiling SwiftShell String.swift
[27/53] Compiling SwiftShell Process.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Process.swift:61:19: error: use of 'run' refers to instance method rather than global function 'run(bash:combineOutput:)' in module 'SwiftShell'
59 | /// or nil if there is no stdout output
60 | fileprivate func getProcessInfo(_ attr: ProcessAttribute) -> String? {
61 | let attribute = run(bash: "ps --no-headers -q \(self.processIdentifier) -o \(attr.rawValue)").stdout
| |- error: use of 'run' refers to instance method rather than global function 'run(bash:combineOutput:)' in module 'SwiftShell'
| `- note: use 'SwiftShell.' to reference the global function in module 'SwiftShell'
62 | return attribute.isEmpty ? nil : attribute
63 | }
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Bash.swift:68:32: note: 'run(bash:combineOutput:)' declared here
66 | /// - parameter bashcommand: the bash shell command.
67 | /// - parameter combineOutput: if true then stdout and stderror go to the same stream. Default is false.
68 | @discardableResult public func run(bash bashcommand: String, combineOutput: Bool = false) -> RunOutput {
| `- note: 'run(bash:combineOutput:)' declared here
69 | return main.run(bash: bashcommand, combineOutput: combineOutput)
70 | }
[28/53] Emitting module SwiftShell
[29/53] Compiling Moderator Moderator.swift
[30/54] Compiling SwiftShell Files.swift
[33/54] Compiling Rainbow Rainbow.swift
[34/54] Compiling Rainbow ModesExtractor.swift
[35/54] Compiling Rainbow OutputTarget.swift
[36/55] Compiling AEXML Error.swift
[37/55] Compiling AEXML Options.swift
[38/55] Compiling AEXML Parser.swift
[40/55] Emitting module AEXML
[41/55] Compiling AEXML Document.swift
[43/55] Emitting module PathKit
[44/55] Compiling PathKit PathKit.swift
[45/55] Compiling AEXML Element.swift
[46/55] Compiling AEXML Builders.swift
[48/57] Wrapping AST for Rainbow for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/10] Write swift-version-24593BA9C3E375BF.txt
[2/44] Emitting module Moderator
[3/44] Compiling Moderator SwiftCompat.swift
[4/44] Compiling Rainbow Style.swift
[5/45] Compiling AEXML Error.swift
[6/45] Emitting module AEXML
[7/45] Compiling SwiftShell Array.swift
[8/45] Compiling Rainbow Color.swift
[9/45] Compiling Rainbow ControlCode.swift
[10/45] Compiling SwiftShell Files.swift
[11/46] Compiling AEXML Options.swift
[12/46] Compiling AEXML Parser.swift
[13/46] Emitting module Rainbow
[14/46] Emitting module SwiftShell
[15/46] Compiling Rainbow StringGenerator.swift
[16/46] Compiling Moderator Moderator.swift
[17/46] Compiling Rainbow Rainbow.swift
[18/46] Compiling Rainbow String+Rainbow.swift
[19/46] Compiling SwiftShell Lazy-split.swift
[20/46] Compiling SwiftShell Process.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Process.swift:61:19: error: use of 'run' refers to instance method rather than global function 'run(bash:combineOutput:)' in module 'SwiftShell'
59 | /// or nil if there is no stdout output
60 | fileprivate func getProcessInfo(_ attr: ProcessAttribute) -> String? {
61 | let attribute = run(bash: "ps --no-headers -q \(self.processIdentifier) -o \(attr.rawValue)").stdout
| |- error: use of 'run' refers to instance method rather than global function 'run(bash:combineOutput:)' in module 'SwiftShell'
| `- note: use 'SwiftShell.' to reference the global function in module 'SwiftShell'
62 | return attribute.isEmpty ? nil : attribute
63 | }
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Bash.swift:68:32: note: 'run(bash:combineOutput:)' declared here
66 | /// - parameter bashcommand: the bash shell command.
67 | /// - parameter combineOutput: if true then stdout and stderror go to the same stream. Default is false.
68 | @discardableResult public func run(bash bashcommand: String, combineOutput: Bool = false) -> RunOutput {
| `- note: 'run(bash:combineOutput:)' declared here
69 | return main.run(bash: bashcommand, combineOutput: combineOutput)
70 | }
[21/46] Compiling Rainbow XcodeColorsSupport.swift
[22/46] Compiling SwiftShell String.swift
[25/46] Compiling Rainbow BackgroundColor.swift
[26/46] Compiling Rainbow CodesParser.swift
[27/46] Compiling Rainbow ModesExtractor.swift
[28/46] Compiling Rainbow OutputTarget.swift
[29/46] Compiling SwiftShell Stream.swift
[30/47] Compiling AEXML Builders.swift
[31/47] Compiling AEXML Element.swift
[32/47] Compiling AEXML Document.swift
[34/48] Compiling Moderator Parsers.swift
[36/49] Wrapping AST for Rainbow for debugging
[37/49] Emitting module PathKit
BUILD FAILURE 6.1 linux