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.1 for Linux on 25 Apr 2025 18:05:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 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.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-2":/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/xcodeswift/xcproj.git
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kareman/Moderator.git
[1/658] Fetching moderator
[41/5521] Fetching moderator, swiftshell
[2006/6717] Fetching moderator, swiftshell, rainbow
[6508/29865] Fetching moderator, swiftshell, rainbow, xcproj
Fetched https://github.com/onevcat/Rainbow.git from cache (1.91s)
Fetched https://github.com/kareman/SwiftShell.git from cache (1.92s)
Fetched https://github.com/kareman/Moderator.git from cache (1.94s)
Fetched https://github.com/xcodeswift/xcproj.git from cache (1.95s)
Computing version for https://github.com/xcodeswift/xcproj.git
Computed https://github.com/xcodeswift/xcproj.git at 4.3.1 (3.38s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/tadija/AEXML.git
[1/960] Fetching shellout
[203/3087] Fetching shellout, aexml
[2323/4498] Fetching shellout, aexml, pathkit
Fetched https://github.com/tadija/AEXML.git from cache (0.43s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.44s)
Fetched https://github.com/kylef/PathKit.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.33s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.24s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.75s)
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.52s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (2.26s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.61s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.82s)
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
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/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/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.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/xcodeswift/xcproj.git
Working copy of https://github.com/xcodeswift/xcproj.git resolved at 4.3.1
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/51] Emitting module SwiftShell
[10/52] Compiling Moderator SwiftCompat.swift
[11/52] Emitting module Rainbow
[12/52] Compiling Moderator Parsers.swift
[13/53] Compiling Rainbow String+Rainbow.swift
[14/53] Compiling Rainbow StringGenerator.swift
[15/53] Compiling Rainbow Style.swift
[16/53] Compiling SwiftShell Bash.swift
[17/53] Compiling SwiftShell Command.swift
[18/53] Compiling Rainbow XcodeColorsSupport.swift
[19/53] Compiling SwiftShell String.swift
[20/53] Emitting module Moderator
[21/53] Compiling Moderator Moderator.swift
[22/54] Compiling Rainbow Color.swift
[23/54] Compiling Rainbow ControlCode.swift
[24/54] Compiling AEXML Options.swift
[25/54] Compiling SwiftShell Files.swift
[28/54] Compiling AEXML Error.swift
[29/54] Compiling SwiftShell Array.swift
[30/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 | }
[31/54] Compiling SwiftShell Stream.swift
[32/54] Compiling SwiftShell Lazy-split.swift
[33/54] Compiling AEXML Document.swift
[34/54] Compiling AEXML Builders.swift
[35/54] Emitting module AEXML
[36/54] Compiling AEXML Element.swift
[38/54] Compiling AEXML Parser.swift
[41/55] Compiling Rainbow ModesExtractor.swift
[42/55] Compiling Rainbow OutputTarget.swift
[43/55] Compiling Rainbow Rainbow.swift
[45/56] Emitting module PathKit
[46/56] Compiling PathKit PathKit.swift
[47/57] Wrapping AST for Moderator for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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] Compiling Moderator SwiftCompat.swift
[3/44] Compiling SwiftShell Bash.swift
[4/44] Compiling SwiftShell Command.swift
[5/45] Compiling Rainbow XcodeColorsSupport.swift
[6/45] Compiling Rainbow StringGenerator.swift
[7/45] Compiling Rainbow Style.swift
[8/45] Compiling SwiftShell Array.swift
[9/46] Emitting module PathKit
[10/46] Emitting module AEXML
[11/46] Compiling AEXML Options.swift
[12/46] Compiling AEXML Error.swift
[13/46] Compiling AEXML Parser.swift
[14/46] Compiling SwiftShell String.swift
[15/46] Compiling SwiftShell Files.swift
[16/46] Compiling Rainbow Rainbow.swift
[17/46] Compiling Rainbow String+Rainbow.swift
[18/46] Compiling Moderator Parsers.swift
[19/46] Emitting module Moderator
[20/46] Compiling Moderator Moderator.swift
[21/46] Compiling SwiftShell Context.swift
[22/46] Compiling SwiftShell FileHandle.swift
[23/47] Emitting module Rainbow
[24/47] Compiling Rainbow ModesExtractor.swift
[25/47] Compiling Rainbow OutputTarget.swift
[28/48] Compiling SwiftShell Lazy-split.swift
[29/48] 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 | }
[30/48] Compiling SwiftShell Stream.swift
[33/48] Compiling AEXML Document.swift
[34/48] Compiling AEXML Builders.swift
[35/48] Compiling AEXML Element.swift
[38/49] Emitting module SwiftShell
[39/49] Wrapping AST for AEXML for debugging
[39/49] Wrapping AST for Moderator for debugging
BUILD FAILURE 6.1 linux