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 macOS (SPM) on 26 Nov 2024 13:25:16 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/tevelee/Eval
[1/82718] Fetching eval
Fetched https://github.com/tevelee/Eval from cache (27.90s)
Computing version for https://github.com/tevelee/Eval
Computed https://github.com/tevelee/Eval at 1.5.0 (0.57s)
Creating working copy for https://github.com/tevelee/Eval
Working copy of https://github.com/tevelee/Eval resolved at 1.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "tuxedo",
      "name": "Tuxedo",
      "url": "https://github.com/tevelee/Tuxedo.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Tuxedo",
      "dependencies": [
        {
          "identity": "eval",
          "name": "Eval",
          "url": "https://github.com/tevelee/Eval",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Eval",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/tevelee/Tuxedo.git
[1/1778] Fetching tuxedo
Fetched https://github.com/tevelee/Tuxedo.git from cache (1.06s)
Fetching https://github.com/tevelee/Eval from cache
Fetched https://github.com/tevelee/Eval from cache (0.48s)
Computing version for https://github.com/tevelee/Eval
Computed https://github.com/tevelee/Eval at 1.5.0 (0.02s)
Creating working copy for https://github.com/tevelee/Eval
Working copy of https://github.com/tevelee/Eval resolved at 1.5.0
Creating working copy for https://github.com/tevelee/Tuxedo.git
Working copy of https://github.com/tevelee/Tuxedo.git resolved at master (a25b263)
warning: '.resolve-product-dependencies': dependency 'tuxedo' is not used by any target
Found 1 product dependencies
  - Eval
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/tevelee/Tuxedo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/12] Compiling Eval Utils.swift
[5/12] Compiling Eval Pattern.swift
[6/12] Compiling Eval TypedInterpreter.swift
[7/12] Compiling Eval MatchResult.swift
[8/12] Compiling Eval TemplateInterpreter.swift
[9/12] Compiling Eval Common.swift
[10/12] Compiling Eval Elements.swift
[11/12] Emitting module Eval
[12/12] Compiling Eval Matcher.swift
[13/21] Compiling Tuxedo Utils.swift
/Users/admin/builder/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 |
[14/21] Compiling Tuxedo StandardLibrary_DataTypes.swift
[15/21] Compiling Tuxedo Tuxedo.swift
/Users/admin/builder/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 |
[16/21] Compiling Tuxedo StandardLibrary_Tags.swift
/Users/admin/builder/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 |
/Users/admin/builder/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>> {
[17/21] Compiling Tuxedo ContextExtensions.swift
[18/21] Compiling Tuxedo Generator.swift
[19/21] Emitting module Tuxedo
/Users/admin/builder/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 |
/Users/admin/builder/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>> {
/Users/admin/builder/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/21] Compiling Tuxedo StandardLibrary.swift
[21/21] Compiling Tuxedo StandardLibrary_Functions.swift
Build complete! (12.74s)
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" : "/Users/admin/builder/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"
}
Done.