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 Test, reference 0.3.0 (71eeae), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 11:23:52 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xOpenBytes/Test.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xOpenBytes/Test
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 71eeae3 Leif/update dependencies (#2)
Cloned https://github.com/0xOpenBytes/Test.git
Revision (git rev-parse @):
71eeae35ae89c68502e4086aa533eff40d0c32a1
SUCCESS checkout https://github.com/0xOpenBytes/Test.git at 0.3.0
Fetching https://github.com/0xLeif/Plugin
Fetching https://github.com/0xLeif/Fork
Fetching https://github.com/0xLeif/Scribe
Fetching https://github.com/0xOpenBytes/t
Fetching https://github.com/apple/swift-log from cache
[1/368] Fetching t
[152/494] Fetching t, scribe
[272/647] Fetching t, scribe, plugin
[429/1131] Fetching t, scribe, plugin, fork
Fetched https://github.com/0xLeif/Fork from cache (0.84s)
Fetched https://github.com/0xLeif/Scribe from cache (0.84s)
Fetched https://github.com/0xOpenBytes/t from cache (0.84s)
Fetched https://github.com/0xLeif/Plugin from cache (0.84s)
Computing version for https://github.com/0xLeif/Plugin
Fetched https://github.com/apple/swift-log from cache (0.84s)
Computed https://github.com/0xLeif/Plugin at 2.0.2 (1.41s)
Computing version for https://github.com/0xLeif/Scribe
Computed https://github.com/0xLeif/Scribe at 2.0.1 (0.56s)
Computing version for https://github.com/0xOpenBytes/t
Computed https://github.com/0xOpenBytes/t at 1.0.4 (0.58s)
Computing version for https://github.com/0xLeif/Fork
Computed https://github.com/0xLeif/Fork at 1.2.0 (0.58s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.5.2 (0.58s)
Creating working copy for https://github.com/0xLeif/Plugin
Working copy of https://github.com/0xLeif/Plugin resolved at 2.0.2
Creating working copy for https://github.com/0xOpenBytes/t
Working copy of https://github.com/0xOpenBytes/t resolved at 1.0.4
Creating working copy for https://github.com/0xLeif/Fork
Working copy of https://github.com/0xLeif/Fork resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.5.2
Creating working copy for https://github.com/0xLeif/Scribe
Working copy of https://github.com/0xLeif/Scribe resolved at 2.0.1
========================================
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": "test",
      "name": "Test",
      "url": "https://github.com/0xOpenBytes/Test.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Test",
      "dependencies": [
        {
          "identity": "t",
          "name": "t",
          "url": "https://github.com/0xOpenBytes/t",
          "version": "1.0.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/t",
          "dependencies": [
          ]
        },
        {
          "identity": "scribe",
          "name": "Scribe",
          "url": "https://github.com/0xLeif/Scribe",
          "version": "2.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Scribe",
          "dependencies": [
            {
              "identity": "swift-log",
              "name": "swift-log",
              "url": "https://github.com/apple/swift-log",
              "version": "1.6.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
              "dependencies": [
              ]
            },
            {
              "identity": "plugin",
              "name": "Plugin",
              "url": "https://github.com/0xLeif/Plugin",
              "version": "2.0.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Plugin",
              "dependencies": [
                {
                  "identity": "fork",
                  "name": "Fork",
                  "url": "https://github.com/0xLeif/Fork",
                  "version": "1.3.0",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Fork",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "plugin",
          "name": "Plugin",
          "url": "https://github.com/0xLeif/Plugin",
          "version": "2.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Plugin",
          "dependencies": [
            {
              "identity": "fork",
              "name": "Fork",
              "url": "https://github.com/0xLeif/Fork",
              "version": "1.3.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Fork",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/0xOpenBytes/Test.git
[1/87] Fetching test
Fetched https://github.com/0xOpenBytes/Test.git from cache (0.68s)
Fetching https://github.com/0xOpenBytes/t from cache
Fetching https://github.com/0xLeif/Plugin from cache
Fetching https://github.com/0xLeif/Scribe from cache
Fetched https://github.com/0xLeif/Plugin from cache (0.44s)
Fetched https://github.com/0xLeif/Scribe from cache (0.44s)
Fetched https://github.com/0xOpenBytes/t from cache (0.44s)
Computing version for https://github.com/0xLeif/Plugin
Computed https://github.com/0xLeif/Plugin at 2.0.2 (0.50s)
Fetching https://github.com/0xLeif/Fork from cache
Fetched https://github.com/0xLeif/Fork from cache (0.39s)
Computing version for https://github.com/0xLeif/Fork
Computed https://github.com/0xLeif/Fork at 1.3.0 (0.44s)
Computing version for https://github.com/0xLeif/Scribe
Computed https://github.com/0xLeif/Scribe at 2.0.2 (0.03s)
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.50s)
Computing version for https://github.com/0xOpenBytes/t
Computed https://github.com/0xOpenBytes/t at 1.0.4 (0.56s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.45s)
Creating working copy for https://github.com/0xOpenBytes/t
Working copy of https://github.com/0xOpenBytes/t resolved at 1.0.4
Creating working copy for https://github.com/0xOpenBytes/Test.git
Working copy of https://github.com/0xOpenBytes/Test.git resolved at 0.3.0 (71eeae3)
Creating working copy for https://github.com/0xLeif/Scribe
Working copy of https://github.com/0xLeif/Scribe resolved at 2.0.2
Creating working copy for https://github.com/0xLeif/Fork
Working copy of https://github.com/0xLeif/Fork resolved at 1.3.0
Creating working copy for https://github.com/0xLeif/Plugin
Working copy of https://github.com/0xLeif/Plugin resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
warning: '.resolve-product-dependencies': dependency 'test' is not used by any target
Found 3 product dependencies
  - t
  - Scribe
  - Plugin
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xOpenBytes/Test.git
https://github.com/0xOpenBytes/Test.git
{
  "dependencies" : [
    {
      "identity" : "t",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xOpenBytes/t"
    },
    {
      "identity" : "scribe",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLeif/Scribe"
    },
    {
      "identity" : "plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLeif/Plugin"
    }
  ],
  "manifest_display_name" : "Test",
  "name" : "Test",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Test",
      "targets" : [
        "Test"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestTests",
      "module_type" : "SwiftTarget",
      "name" : "TestTests",
      "path" : "Tests/TestTests",
      "sources" : [
        "TestTests.swift"
      ],
      "target_dependencies" : [
        "Test"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Test",
      "module_type" : "SwiftTarget",
      "name" : "Test",
      "path" : "Sources/Test",
      "product_dependencies" : [
        "t",
        "Scribe",
        "Plugin"
      ],
      "product_memberships" : [
        "Test"
      ],
      "sources" : [
        "Expect.swift",
        "Interface/TestConfiguration.swift",
        "Interface/TestPlugin.swift",
        "Test.swift",
        "TestError.swift",
        "Tested.swift",
        "Tester/Tester+Scribe.swift",
        "Tester/Tester+t.swift",
        "Tester/Tester.swift",
        "Wait/Waitable+Default.swift",
        "Wait/Waitable.swift",
        "Wait/WaitableError.swift",
        "Wait/Waiter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/7] Write sources
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/26] Emitting module Fork
[9/26] Compiling Fork ForkedActor.swift
[10/26] Compiling Fork Task+Fork.swift
[11/26] Compiling Fork Fork.swift
[12/26] Compiling Fork Actor+ForkedActor.swift
[13/26] Compiling Fork ForkedArray.swift
[14/26] Compiling Fork Sequence+ForkedArray.swift
[15/26] Compiling Fork KeyPathActor.swift
[16/31] Compiling Plugin ImmutablePlugin.swift
[17/31] Emitting module Plugin
[18/31] Compiling Plugin ImmutablePluginable.swift
[19/31] Compiling Plugin Plugin.swift
[20/31] Compiling Plugin Pluginable.swift
[21/31] Emitting module Logging
[22/31] Compiling Logging Locks.swift
[23/31] Compiling Logging LogHandler.swift
[24/31] Compiling Logging Logging.swift
[25/31] Compiling Logging MetadataProvider.swift
[26/34] Compiling Scribe ScribePlugin.swift
[27/34] Emitting module Scribe
[28/34] Compiling Scribe Scribe.swift
[29/34] Compiling t t+Factories.swift
[30/34] Compiling t t.swift
[31/34] Emitting module t
[32/34] Compiling t t+Structure.swift
[33/34] Compiling t t+Assertion.swift
[34/34] Compiling t t+Logging.swift
[35/47] Compiling Test Expect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Test/Interface/TestConfiguration.swift:44:23: warning: static property 'scribe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 |     */
44 |     public static var scribe: Scribe = Scribe(label: "Test.Scribe")
   |                       |- warning: static property 'scribe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'scribe' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'scribe' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Test/Interface/TestConfiguration.swift:28:17: warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 |      */
27 |     public static var logger: (String) -> Void {
28 |         get { t.logger }
   |                 `- warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 |         set { t.logger = newValue }
30 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:19:16: note: static property declared here
17 |
18 |     /// Static logging function used for all logging in `t`
19 |     static var logger: (String) -> Void = { print($0) }
   |                `- note: static property declared here
20 |
21 |     /// Log a message using the `logger`
/Users/admin/builder/spi-builder-workspace/Sources/Test/Interface/TestConfiguration.swift:29:17: warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 |     public static var logger: (String) -> Void {
28 |         get { t.logger }
29 |         set { t.logger = newValue }
   |                 `- warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 |     }
31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:19:16: note: static property declared here
17 |
18 |     /// Static logging function used for all logging in `t`
19 |     static var logger: (String) -> Void = { print($0) }
   |                `- note: static property declared here
20 |
21 |     /// Log a message using the `logger`
[36/47] Compiling Test TestConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Test/Interface/TestConfiguration.swift:44:23: warning: static property 'scribe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 |     */
44 |     public static var scribe: Scribe = Scribe(label: "Test.Scribe")
   |                       |- warning: static property 'scribe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'scribe' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'scribe' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Test/Interface/TestConfiguration.swift:28:17: warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 |      */
27 |     public static var logger: (String) -> Void {
28 |         get { t.logger }
   |                 `- warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 |         set { t.logger = newValue }
30 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:19:16: note: static property declared here
17 |
18 |     /// Static logging function used for all logging in `t`
19 |     static var logger: (String) -> Void = { print($0) }
   |                `- note: static property declared here
20 |
21 |     /// Log a message using the `logger`
/Users/admin/builder/spi-builder-workspace/Sources/Test/Interface/TestConfiguration.swift:29:17: warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 |     public static var logger: (String) -> Void {
28 |         get { t.logger }
29 |         set { t.logger = newValue }
   |                 `- warning: reference to static property 'logger' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 |     }
31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:19:16: note: static property declared here
17 |
18 |     /// Static logging function used for all logging in `t`
19 |     static var logger: (String) -> Void = { print($0) }
   |                `- note: static property declared here
20 |
21 |     /// Log a message using the `logger`
[37/47] Emitting module Test
/Users/admin/builder/spi-builder-workspace/Sources/Test/Interface/TestConfiguration.swift:44:23: warning: static property 'scribe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |
43 |     */
44 |     public static var scribe: Scribe = Scribe(label: "Test.Scribe")
   |                       |- warning: static property 'scribe' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'scribe' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'scribe' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
[38/47] Compiling Test TestPlugin.swift
[39/47] Compiling Test Test.swift
[40/47] Compiling Test Tester+t.swift
[41/48] Compiling Test Tester+Scribe.swift
[42/48] Compiling Test Waitable.swift
[43/48] Compiling Test TestError.swift
[44/48] Compiling Test Tested.swift
[45/48] Compiling Test Tester.swift
[46/48] Compiling Test WaitableError.swift
[47/48] Compiling Test Waitable+Default.swift
[48/48] Compiling Test Waiter.swift
Build complete! (7.07s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "t",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xOpenBytes/t"
    },
    {
      "identity" : "scribe",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLeif/Scribe"
    },
    {
      "identity" : "plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLeif/Plugin"
    }
  ],
  "manifest_display_name" : "Test",
  "name" : "Test",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Test",
      "targets" : [
        "Test"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestTests",
      "module_type" : "SwiftTarget",
      "name" : "TestTests",
      "path" : "Tests/TestTests",
      "sources" : [
        "TestTests.swift"
      ],
      "target_dependencies" : [
        "Test"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Test",
      "module_type" : "SwiftTarget",
      "name" : "Test",
      "path" : "Sources/Test",
      "product_dependencies" : [
        "t",
        "Scribe",
        "Plugin"
      ],
      "product_memberships" : [
        "Test"
      ],
      "sources" : [
        "Expect.swift",
        "Interface/TestConfiguration.swift",
        "Interface/TestPlugin.swift",
        "Test.swift",
        "TestError.swift",
        "Tested.swift",
        "Tester/Tester+Scribe.swift",
        "Tester/Tester+t.swift",
        "Tester/Tester.swift",
        "Wait/Waitable+Default.swift",
        "Wait/Waitable.swift",
        "Wait/WaitableError.swift",
        "Wait/Waiter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.