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

Successful build of Tuxedo, reference master (a25b26), with Swift 6.0 for Linux on 26 Nov 2024 13:23:39 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/tevelee/Tuxedo.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/tevelee/Tuxedo
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a25b263 Merge pull request #13 from tevelee/dependabot/npm_and_yarn/website/bl-1.2.3
Cloned https://github.com/tevelee/Tuxedo.git
Revision (git rev-parse @):
a25b263e76b5a39189d93ce4226a81db066091a7
SUCCESS checkout https://github.com/tevelee/Tuxedo.git at master
========================================
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-4609320-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/tevelee/Eval
[1/82718] Fetching eval
Fetched https://github.com/tevelee/Eval from cache (10.15s)
Computing version for https://github.com/tevelee/Eval
Computed https://github.com/tevelee/Eval at 1.5.0 (0.43s)
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 Matcher.swift
[5/11] Compiling Eval Pattern.swift
[6/12] Compiling Eval MatchResult.swift
[7/12] Compiling Eval TemplateInterpreter.swift
[8/12] Compiling Eval Elements.swift
[9/12] Compiling Eval Common.swift
[10/12] Emitting module Eval
[11/12] Compiling Eval TypedInterpreter.swift
[12/12] Compiling Eval Utils.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 ContextExtensions.swift
[17/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 |
[18/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>> {
[19/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 |
[20/22] Compiling Tuxedo StandardLibrary.swift
[21/22] Compiling Tuxedo StandardLibrary_DataTypes.swift
[22/22] Compiling Tuxedo StandardLibrary_Functions.swift
Build complete! (26.76s)
Build complete.
{
  "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"
}
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
Done.