The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build BetterXC, reference master (3a87c1), with Swift 6.0 for Linux on 27 Nov 2024 09:30:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/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.0
Building package at path:  $PWD
https://github.com/monstar-lab/betterxc.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/kareman/SwiftShell.git
Fetching https://github.com/xcodeswift/xcproj.git
Fetching https://github.com/onevcat/Rainbow.git
[1/4863] Fetching swiftshell
[1471/5989] Fetching swiftshell, rainbow
[5990/27908] Fetching swiftshell, rainbow, xcproj
Fetched https://github.com/onevcat/Rainbow.git from cache (0.42s)
[5083/26782] Fetching swiftshell, xcproj
Fetching https://github.com/kareman/Moderator.git
Fetched https://github.com/kareman/SwiftShell.git from cache (1.94s)
Fetched https://github.com/xcodeswift/xcproj.git from cache (1.99s)
[1/658] Fetching moderator
Fetched https://github.com/kareman/Moderator.git from cache (1.32s)
Computing version for https://github.com/xcodeswift/xcproj.git
Computed https://github.com/xcodeswift/xcproj.git at 4.3.1 (0.73s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[651/2371] Fetching pathkit, shellout
[894/4473] Fetching pathkit, shellout, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.52s)
Fetched https://github.com/tadija/AEXML.git from cache (0.53s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.53s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (3.46s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.33s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.74s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (0.73s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (0.74s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (3.50s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.72s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.66s)
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/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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/51] Emitting module PathKit
[10/51] Compiling Rainbow StringGenerator.swift
[11/52] Compiling Rainbow XcodeColorsSupport.swift
[12/52] Compiling SwiftShell Bash.swift
[13/52] Compiling SwiftShell Command.swift
[14/52] Emitting module Rainbow
[15/52] Compiling Moderator Parsers.swift
[16/52] Compiling Moderator SwiftCompat.swift
[17/52] Compiling Rainbow Style.swift
[18/52] Emitting module AEXML
[19/52] Compiling Rainbow String+Rainbow.swift
[20/52] Compiling SwiftShell Array.swift
[21/52] Compiling SwiftShell Files.swift
[22/53] Compiling AEXML Builders.swift
[23/53] Emitting module SwiftShell
[24/53] Compiling SwiftShell Lazy-split.swift
[25/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 | }
[26/53] Compiling SwiftShell Stream.swift
[29/53] Compiling SwiftShell Context.swift
[30/53] Compiling SwiftShell FileHandle.swift
[31/53] Emitting module Moderator
[32/53] Compiling Moderator Moderator.swift
[33/53] Compiling AEXML Parser.swift
[34/54] Compiling PathKit PathKit.swift
[35/55] Compiling AEXML Options.swift
[36/55] Compiling AEXML Error.swift
[37/55] Compiling Rainbow Color.swift
[38/55] Compiling Rainbow ControlCode.swift
[41/55] Compiling Rainbow Rainbow.swift
[44/56] Compiling AEXML Document.swift
[45/56] Compiling AEXML Element.swift
[46/57] Compiling SwiftShell String.swift
[48/57] Wrapping AST for PathKit for debugging
[48/57] Wrapping AST for AEXML for debugging
[48/57] Wrapping AST for Moderator for debugging
BUILD FAILURE 6.0 linux