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 Tuxedo, reference 1.1.1 (e7d767), with Swift 6.1 for Linux on 25 Apr 2025 10:52:53 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.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/tevelee/Tuxedo.git
Reference: 1.1.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/tevelee/Tuxedo
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at e7d767f Version 1.1.1
Cloned https://github.com/tevelee/Tuxedo.git
Revision (git rev-parse @):
e7d767f7fd2b8904872593a48604ff1810108a88
SUCCESS checkout https://github.com/tevelee/Tuxedo.git at 1.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tevelee/Tuxedo.git
https://github.com/tevelee/Tuxedo.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "eval",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tevelee/Eval"
    }
  ],
  "manifest_display_name" : "Tuxedo",
  "name" : "Tuxedo",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Tuxedo",
      "targets" : [
        "Tuxedo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TuxedoTests",
      "module_type" : "SwiftTarget",
      "name" : "TuxedoTests",
      "path" : "Tests/TuxedoTests",
      "sources" : [
        "TuxedoComponentTests.swift",
        "TuxedoUnitTests.swift"
      ],
      "target_dependencies" : [
        "Tuxedo"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Tuxedo",
      "module_type" : "SwiftTarget",
      "name" : "Tuxedo",
      "path" : "Sources/Tuxedo",
      "product_dependencies" : [
        "Eval"
      ],
      "product_memberships" : [
        "Tuxedo"
      ],
      "sources" : [
        "ContextExtensions.swift",
        "Generator.swift",
        "StandardLibrary.swift",
        "StandardLibrary_DataTypes.swift",
        "StandardLibrary_Functions.swift",
        "StandardLibrary_Tags.swift",
        "Tuxedo.swift",
        "Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/tevelee/Eval
[1/82718] Fetching eval
Fetched https://github.com/tevelee/Eval from cache (11.77s)
Computing version for https://github.com/tevelee/Eval
Computed https://github.com/tevelee/Eval at 1.5.0 (15.08s)
Creating working copy for https://github.com/tevelee/Eval
Working copy of https://github.com/tevelee/Eval resolved at 1.5.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling Eval MatchResult.swift
[5/12] Compiling Eval TypedInterpreter.swift
[6/12] Compiling Eval Matcher.swift
[7/12] Compiling Eval Pattern.swift
[8/12] Compiling Eval Elements.swift
[9/12] Compiling Eval Common.swift
[10/12] Emitting module Eval
[11/12] Compiling Eval TemplateInterpreter.swift
[12/12] Compiling Eval Utils.swift
[14/21] Compiling Tuxedo StandardLibrary_DataTypes.swift
[15/21] Compiling Tuxedo StandardLibrary.swift
[16/22] Emitting module Tuxedo
/host/spi-builder-workspace/Sources/Tuxedo/StandardLibrary_Tags.swift:20:16: warning: static property 'tagPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     }
 19 |
 20 |     static var tagPrefix: String = "{%"
    |                |- warning: static property 'tagPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'tagPrefix' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'tagPrefix' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     static var tagSuffix: String = "%}"
 22 |
/host/spi-builder-workspace/Sources/Tuxedo/StandardLibrary_Tags.swift:21:16: warning: static property 'tagSuffix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |
 20 |     static var tagPrefix: String = "{%"
 21 |     static var tagSuffix: String = "%}"
    |                |- warning: static property 'tagSuffix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'tagSuffix' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'tagSuffix' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     static var ifStatement: Pattern<String, TemplateInterpreter<String>> {
/host/spi-builder-workspace/Sources/Tuxedo/Utils.swift:11:1: warning: extension declares a conformance of imported type 'Character' to imported protocol 'Strideable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 9 | }
10 |
11 | extension Character: Strideable {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocol 'Strideable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |     public typealias Stride = Int
13 |
[17/22] Compiling Tuxedo ContextExtensions.swift
[18/22] Compiling Tuxedo Generator.swift
/host/spi-builder-workspace/Sources/Tuxedo/Generator.swift:58:29: warning: result of call to 'fileExists(atPath:isDirectory:)' is unused
56 |                 let filePath = "\(path)/\(file)"
57 |                 var isDirectory: ObjCBool = false
58 |                 fileManager.fileExists(atPath: filePath, isDirectory: &isDirectory)
   |                             `- warning: result of call to 'fileExists(atPath:isDirectory:)' is unused
59 |                 if isDirectory.boolValue {
60 |                     return self.files(with: fileExtension, in: filePath, using: fileManager)
[19/22] Compiling Tuxedo StandardLibrary_Tags.swift
/host/spi-builder-workspace/Sources/Tuxedo/StandardLibrary_Tags.swift:20:16: warning: static property 'tagPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 18 |     }
 19 |
 20 |     static var tagPrefix: String = "{%"
    |                |- warning: static property 'tagPrefix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'tagPrefix' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'tagPrefix' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     static var tagSuffix: String = "%}"
 22 |
/host/spi-builder-workspace/Sources/Tuxedo/StandardLibrary_Tags.swift:21:16: warning: static property 'tagSuffix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |
 20 |     static var tagPrefix: String = "{%"
 21 |     static var tagSuffix: String = "%}"
    |                |- warning: static property 'tagSuffix' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'tagSuffix' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'tagSuffix' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     static var ifStatement: Pattern<String, TemplateInterpreter<String>> {
[20/22] Compiling Tuxedo Tuxedo.swift
[21/22] Compiling Tuxedo StandardLibrary_Functions.swift
/host/spi-builder-workspace/Sources/Tuxedo/StandardLibrary_Functions.swift:676:42: error: cannot find 'Selector' in scope
674 |             if let lhs = $0.variables["lhs"] as? NSObjectProtocol,
675 |                 let rhs = $0.variables["rhs"] as? String,
676 |                 let result = lhs.perform(Selector(rhs)) {
    |                                          `- error: cannot find 'Selector' in scope
677 |                 return Double(Int(bitPattern: result.toOpaque()))
678 |             }
/host/spi-builder-workspace/Sources/Tuxedo/StandardLibrary_Functions.swift:676:34: error: value of type 'any NSObjectProtocol' has no member 'perform'
674 |             if let lhs = $0.variables["lhs"] as? NSObjectProtocol,
675 |                 let rhs = $0.variables["rhs"] as? String,
676 |                 let result = lhs.perform(Selector(rhs)) {
    |                                  `- error: value of type 'any NSObjectProtocol' has no member 'perform'
677 |                 return Double(Int(bitPattern: result.toOpaque()))
678 |             }
[22/22] Compiling Tuxedo Utils.swift
/host/spi-builder-workspace/Sources/Tuxedo/Utils.swift:11:1: warning: extension declares a conformance of imported type 'Character' to imported protocol 'Strideable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 9 | }
10 |
11 | extension Character: Strideable {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocol 'Strideable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |     public typealias Stride = Int
13 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling Eval MatchResult.swift
[3/10] Compiling Eval Pattern.swift
[4/10] Compiling Eval Matcher.swift
[5/10] Compiling Eval Elements.swift
[6/10] Compiling Eval Common.swift
[7/10] Emitting module Eval
[8/10] Compiling Eval TemplateInterpreter.swift
[9/10] Compiling Eval TypedInterpreter.swift
[10/10] Compiling Eval Utils.swift
[12/19] Emitting module Tuxedo
/host/spi-builder-workspace/Sources/Tuxedo/Utils.swift:11:1: warning: extension declares a conformance of imported type 'Character' to imported protocol 'Strideable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 9 | }
10 |
11 | extension Character: Strideable {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocol 'Strideable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |     public typealias Stride = Int
13 |
[13/19] Compiling Tuxedo ContextExtensions.swift
[14/20] Compiling Tuxedo Tuxedo.swift
[15/20] Compiling Tuxedo StandardLibrary_Tags.swift
[16/20] Compiling Tuxedo StandardLibrary.swift
[17/20] Compiling Tuxedo StandardLibrary_DataTypes.swift
[18/20] Compiling Tuxedo Generator.swift
/host/spi-builder-workspace/Sources/Tuxedo/Generator.swift:58:29: warning: result of call to 'fileExists(atPath:isDirectory:)' is unused
56 |                 let filePath = "\(path)/\(file)"
57 |                 var isDirectory: ObjCBool = false
58 |                 fileManager.fileExists(atPath: filePath, isDirectory: &isDirectory)
   |                             `- warning: result of call to 'fileExists(atPath:isDirectory:)' is unused
59 |                 if isDirectory.boolValue {
60 |                     return self.files(with: fileExtension, in: filePath, using: fileManager)
[19/20] Compiling Tuxedo StandardLibrary_Functions.swift
/host/spi-builder-workspace/Sources/Tuxedo/StandardLibrary_Functions.swift:676:42: error: cannot find 'Selector' in scope
674 |             if let lhs = $0.variables["lhs"] as? NSObjectProtocol,
675 |                 let rhs = $0.variables["rhs"] as? String,
676 |                 let result = lhs.perform(Selector(rhs)) {
    |                                          `- error: cannot find 'Selector' in scope
677 |                 return Double(Int(bitPattern: result.toOpaque()))
678 |             }
/host/spi-builder-workspace/Sources/Tuxedo/StandardLibrary_Functions.swift:676:34: error: value of type 'any NSObjectProtocol' has no member 'perform'
674 |             if let lhs = $0.variables["lhs"] as? NSObjectProtocol,
675 |                 let rhs = $0.variables["rhs"] as? String,
676 |                 let result = lhs.perform(Selector(rhs)) {
    |                                  `- error: value of type 'any NSObjectProtocol' has no member 'perform'
677 |                 return Double(Int(bitPattern: result.toOpaque()))
678 |             }
[20/20] Compiling Tuxedo Utils.swift
/host/spi-builder-workspace/Sources/Tuxedo/Utils.swift:11:1: warning: extension declares a conformance of imported type 'Character' to imported protocol 'Strideable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 9 | }
10 |
11 | extension Character: Strideable {
   | |- warning: extension declares a conformance of imported type 'Character' to imported protocol 'Strideable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |     public typealias Stride = Int
13 |
BUILD FAILURE 6.1 linux