This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xOpenBytes/Test.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xOpenBytes/Test
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 81f4833 Provide SwiftDoc for Waitable feature (#4)
Cloned https://github.com/0xOpenBytes/Test.git
Revision (git rev-parse @):
81f4833ba9107e2df98f104632cda4f430aae5b2
SUCCESS checkout https://github.com/0xOpenBytes/Test.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/0xOpenBytes/Test.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-6F35C1178C84523A.txt
[8/26] Compiling Fork ForkedArray.swift
[9/26] Compiling Fork ForkedActor.swift
[10/26] Compiling Fork Fork.swift
[11/26] Compiling Fork Task+Fork.swift
[12/26] Emitting module Fork
[13/26] Compiling Fork KeyPathActor.swift
[14/26] Compiling Fork Sequence+ForkedArray.swift
[15/26] Compiling Fork Actor+ForkedActor.swift
[16/31] Compiling Plugin Plugin.swift
[17/31] Compiling Logging MetadataProvider.swift
[18/31] Compiling Plugin ImmutablePluginable.swift
[19/31] Emitting module Plugin
[20/31] Compiling Plugin ImmutablePlugin.swift
[21/31] Compiling Plugin Pluginable.swift
[22/31] Emitting module Logging
[23/31] Compiling Logging LogHandler.swift
[24/31] Compiling Logging Locks.swift
[25/31] Compiling Logging Logging.swift
[26/34] Compiling Scribe Scribe.swift
[27/34] Emitting module Scribe
[28/34] Compiling Scribe ScribePlugin.swift
[29/34] Compiling t t.swift
[30/34] Compiling t t+Factories.swift
[31/34] Compiling t t+Structure.swift
[32/34] Compiling t t+Logging.swift
[33/34] Compiling t t+Assertion.swift
[34/34] Emitting module t
[35/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 non-isolated 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 non-isolated 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: annotate 'scribe' 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
45 | }
46 |
[36/48] Compiling Test TestError.swift
[37/48] Compiling Test Tested.swift
[38/48] 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 non-isolated 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 non-isolated 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: annotate 'scribe' 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
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:19:16: warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 |     /// Static logging function used for all logging in `t`
19 |     static var logger: (String) -> Void = { print($0) }
   |                |- warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'logger' 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
20 |
21 |     /// Log a message using the `logger`
/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`
[39/48] 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 non-isolated 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 non-isolated 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: annotate 'scribe' 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
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/t/Sources/t/Logging/t+Logging.swift:19:16: warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 |     /// Static logging function used for all logging in `t`
19 |     static var logger: (String) -> Void = { print($0) }
   |                |- warning: static property 'logger' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'logger' 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
20 |
21 |     /// Log a message using the `logger`
/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`
[40/48] Compiling Test Tester+t.swift
[41/48] Compiling Test TestPlugin.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 non-isolated 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 non-isolated 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: annotate 'scribe' 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
45 | }
46 |
[42/48] Compiling Test Test.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 non-isolated 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 non-isolated 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: annotate 'scribe' 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
45 | }
46 |
[43/48] Compiling Test Tester+Scribe.swift
[44/48] Compiling Test Waitable.swift
[45/48] Compiling Test Tester.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 non-isolated 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 non-isolated 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: annotate 'scribe' 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
45 | }
46 |
[46/48] Compiling Test WaitableError.swift
[47/48] Compiling Test Waitable+Default.swift
[48/48] Compiling Test Waiter.swift
Build complete! (23.24s)
Fetching https://github.com/0xLeif/Scribe
Fetching https://github.com/0xLeif/Fork
Fetching https://github.com/apple/swift-log
Fetching https://github.com/0xLeif/Plugin
Fetching https://github.com/0xOpenBytes/t
[1/153] Fetching plugin
[87/521] Fetching plugin, t
[95/902] Fetching plugin, t, fork
[118/1028] Fetching plugin, t, fork, scribe
Fetched https://github.com/0xLeif/Plugin from cache (0.76s)
[477/4228] Fetching t, fork, scribe, swift-log
Fetched https://github.com/apple/swift-log from cache (1.16s)
Fetched https://github.com/0xLeif/Fork from cache (1.16s)
Fetched https://github.com/0xLeif/Scribe from cache (1.16s)
Fetched https://github.com/0xOpenBytes/t from cache (1.16s)
Computing version for https://github.com/0xLeif/Plugin
Computed https://github.com/0xLeif/Plugin at 2.0.2 (0.67s)
Computing version for https://github.com/0xLeif/Scribe
Computed https://github.com/0xLeif/Scribe at 2.0.1 (0.69s)
Computing version for https://github.com/0xOpenBytes/t
Computed https://github.com/0xOpenBytes/t at 1.0.4 (0.67s)
Computing version for https://github.com/0xLeif/Fork
Computed https://github.com/0xLeif/Fork at 1.2.0 (0.67s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.5.2 (0.66s)
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/Scribe
Working copy of https://github.com/0xLeif/Scribe resolved at 2.0.1
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/Fork
Working copy of https://github.com/0xLeif/Fork resolved at 1.2.0
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.