The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build BetterXC, reference master (3a87c1), with Swift 6.2 (beta) for Linux on 18 Jun 2025 09:33:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/monstar-lab/betterxc.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/monstar-lab/betterxc
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/monstar-lab/betterxc.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/kareman/Moderator.git
Fetching https://github.com/xcodeswift/xcproj.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kareman/SwiftShell.git
[1/1196] Fetching rainbow
[1197/6059] Fetching rainbow, swiftshell
[1830/6717] Fetching rainbow, swiftshell, moderator
[2513/30050] Fetching rainbow, swiftshell, moderator, xcproj
Fetched https://github.com/kareman/SwiftShell.git from cache (0.61s)
[12618/25187] Fetching rainbow, moderator, xcproj
Fetched https://github.com/onevcat/Rainbow.git from cache (1.60s)
Fetched https://github.com/xcodeswift/xcproj.git from cache (1.63s)
Fetched https://github.com/kareman/Moderator.git from cache (1.63s)
Computing version for https://github.com/xcodeswift/xcproj.git
Computed https://github.com/xcodeswift/xcproj.git at 4.3.1 (2.10s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
[1/980] Fetching shellout
[981/2391] Fetching shellout, pathkit
[1546/4518] Fetching shellout, pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.26s)
Fetched https://github.com/tadija/AEXML.git from cache (0.27s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.28s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (3.92s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.39s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (1.09s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (0.71s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (0.55s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (3.22s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.87s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.71s)
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/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.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
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/xcodeswift/xcproj.git
Working copy of https://github.com/xcodeswift/xcproj.git resolved at 4.3.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/51] Emitting module Rainbow
[10/52] Compiling Moderator SwiftCompat.swift
[11/52] Compiling Rainbow Style.swift
[12/52] Compiling Rainbow XcodeColorsSupport.swift
[13/52] Compiling Rainbow StringGenerator.swift
[14/52] Compiling Rainbow String+Rainbow.swift
[15/52] Compiling SwiftShell Lazy-split.swift
[16/53] Compiling Moderator Parsers.swift
[17/53] Compiling Rainbow Rainbow.swift
[18/53] Compiling SwiftShell String.swift
[19/53] Compiling SwiftShell Context.swift
[20/53] Compiling SwiftShell FileHandle.swift
[21/53] Compiling SwiftShell Array.swift
[22/53] Compiling SwiftShell Bash.swift
[23/53] Compiling SwiftShell Command.swift
[24/53] Emitting module SwiftShell
[25/53] Compiling Rainbow Color.swift
[26/53] Compiling Rainbow ControlCode.swift
[31/54] Compiling AEXML Builders.swift
[32/54] Compiling AEXML Document.swift
[33/54] Compiling SwiftShell Files.swift
[34/54] Compiling SwiftShell Stream.swift
[35/54] 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 | }
[36/54] Compiling AEXML Parser.swift
[38/54] Emitting module Moderator
[39/54] Compiling Moderator Moderator.swift
[40/55] Emitting module AEXML
[41/55] Compiling AEXML Element.swift
[42/55] Compiling AEXML Error.swift
[43/55] Compiling AEXML Options.swift
[44/56] Emitting module PathKit
[45/56] Compiling PathKit PathKit.swift
BUILD FAILURE 6.2 linux