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.0 for Linux on 26 Nov 2024 13:17:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/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.0
Building package at path:  $PWD
https://github.com/tevelee/Tuxedo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/tevelee/Eval
[1/82718] Fetching eval
Fetched https://github.com/tevelee/Eval from cache (9.79s)
Computing version for https://github.com/tevelee/Eval
Computed https://github.com/tevelee/Eval at 1.5.0 (0.45s)
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 Pattern.swift
[5/12] Compiling Eval TypedInterpreter.swift
[6/12] Compiling Eval Matcher.swift
[7/12] Compiling Eval MatchResult.swift
[8/12] Compiling Eval Utils.swift
[9/12] Compiling Eval TemplateInterpreter.swift
[10/12] Emitting module Eval
[11/12] Compiling Eval Elements.swift
[12/12] Compiling Eval Common.swift
[14/21] Compiling Tuxedo Tuxedo.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: annotate 'tagPrefix' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     static var tagSuffix: String = "%}"
 22 |
[15/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)
[16/22] Compiling Tuxedo StandardLibrary.swift
[17/22] Compiling Tuxedo ContextExtensions.swift
[18/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: annotate 'tagPrefix' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: annotate 'tagSuffix' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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 |
[19/22] Compiling Tuxedo StandardLibrary_DataTypes.swift
[20/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: annotate 'tagPrefix' with '@MainActor' if property should only be accessed from the main actor
    |                `- 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: annotate 'tagSuffix' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |
 23 |     static var ifStatement: Pattern<String, TemplateInterpreter<String>> {
[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 |
BUILD FAILURE 6.0 linux