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 Catbird, reference 0.11.0 (ad1187), with Swift 6.1 for Linux on 26 Apr 2025 20:06:10 UTC.

Swift 6 data race errors: 6

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RedMadRobot/catbird.git
Reference: 0.11.0
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/RedMadRobot/catbird
 * tag               0.11.0     -> FETCH_HEAD
HEAD is now at ad11879 Version 0.11.0
Cloned https://github.com/RedMadRobot/catbird.git
Revision (git rev-parse @):
ad118798331243b6debd0e783054fb0682f1734d
SUCCESS checkout https://github.com/RedMadRobot/catbird.git at 0.11.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RedMadRobot/catbird.git
https://github.com/RedMadRobot/catbird.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Catbird",
  "name" : "Catbird",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "CatbirdAPI",
      "targets" : [
        "CatbirdAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CatbirdAPITests",
      "module_type" : "SwiftTarget",
      "name" : "CatbirdAPITests",
      "path" : "Packages/CatbirdAPI/Tests",
      "sources" : [
        "CatbirdAPITests/CatbirdActionTests.swift",
        "CatbirdAPITests/CatbirdTests.swift",
        "CatbirdAPITests/Network.swift",
        "CatbirdAPITests/PatternMatchTests.swift"
      ],
      "target_dependencies" : [
        "CatbirdAPI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CatbirdAPI",
      "module_type" : "SwiftTarget",
      "name" : "CatbirdAPI",
      "path" : "Packages/CatbirdAPI/Sources",
      "product_memberships" : [
        "CatbirdAPI"
      ],
      "sources" : [
        "CatbirdAPI/Catbird.swift",
        "CatbirdAPI/CatbirdAction.swift",
        "CatbirdAPI/CatbirdError.swift",
        "CatbirdAPI/PatternMatch.swift",
        "CatbirdAPI/RequestPattern.swift",
        "CatbirdAPI/ResponseMock.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling CatbirdAPI Catbird.swift
[4/9] Compiling CatbirdAPI CatbirdAction.swift
[5/9] Emitting module CatbirdAPI
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/CatbirdError.swift:16:23: warning: static property 'errorDomain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |     /// The domain of the error.
16 |     public static var errorDomain = "com.redmadrobot.catbird.APIErrorDomain"
   |                       |- warning: static property 'errorDomain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'errorDomain' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'errorDomain' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     /// HTTP status code.
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/RequestPattern.swift:45:27: warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension RequestPattern {
38 |     public struct HTTPMethod: RawRepresentable, Hashable, Codable {
   |                   `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
39 |         public let rawValue: String
40 |
   :
43 |         }
44 |
45 |         public static let GET = HTTPMethod("GET")
   |                           |- warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'GET' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |         public static let POST = HTTPMethod("POST")
47 |         public static let PUT = HTTPMethod("PUT")
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/RequestPattern.swift:46:27: warning: static property 'POST' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension RequestPattern {
38 |     public struct HTTPMethod: RawRepresentable, Hashable, Codable {
   |                   `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
39 |         public let rawValue: String
40 |
   :
44 |
45 |         public static let GET = HTTPMethod("GET")
46 |         public static let POST = HTTPMethod("POST")
   |                           |- warning: static property 'POST' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'POST' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |         public static let PUT = HTTPMethod("PUT")
48 |         public static let PATCH = HTTPMethod("PATCH")
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/RequestPattern.swift:47:27: warning: static property 'PUT' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension RequestPattern {
38 |     public struct HTTPMethod: RawRepresentable, Hashable, Codable {
   |                   `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
39 |         public let rawValue: String
40 |
   :
45 |         public static let GET = HTTPMethod("GET")
46 |         public static let POST = HTTPMethod("POST")
47 |         public static let PUT = HTTPMethod("PUT")
   |                           |- warning: static property 'PUT' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'PUT' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |         public static let PATCH = HTTPMethod("PATCH")
49 |         public static let DELETE = HTTPMethod("DELETE")
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/RequestPattern.swift:48:27: warning: static property 'PATCH' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension RequestPattern {
38 |     public struct HTTPMethod: RawRepresentable, Hashable, Codable {
   |                   `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
39 |         public let rawValue: String
40 |
   :
46 |         public static let POST = HTTPMethod("POST")
47 |         public static let PUT = HTTPMethod("PUT")
48 |         public static let PATCH = HTTPMethod("PATCH")
   |                           |- warning: static property 'PATCH' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'PATCH' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |         public static let DELETE = HTTPMethod("DELETE")
50 |     }
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/RequestPattern.swift:49:27: warning: static property 'DELETE' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension RequestPattern {
38 |     public struct HTTPMethod: RawRepresentable, Hashable, Codable {
   |                   `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
39 |         public let rawValue: String
40 |
   :
47 |         public static let PUT = HTTPMethod("PUT")
48 |         public static let PATCH = HTTPMethod("PATCH")
49 |         public static let DELETE = HTTPMethod("DELETE")
   |                           |- warning: static property 'DELETE' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'DELETE' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |     }
51 | }
[6/9] Compiling CatbirdAPI ResponseMock.swift
[7/9] Compiling CatbirdAPI RequestPattern.swift
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/RequestPattern.swift:45:27: warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension RequestPattern {
38 |     public struct HTTPMethod: RawRepresentable, Hashable, Codable {
   |                   `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
39 |         public let rawValue: String
40 |
   :
43 |         }
44 |
45 |         public static let GET = HTTPMethod("GET")
   |                           |- warning: static property 'GET' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'GET' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |         public static let POST = HTTPMethod("POST")
47 |         public static let PUT = HTTPMethod("PUT")
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/RequestPattern.swift:46:27: warning: static property 'POST' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension RequestPattern {
38 |     public struct HTTPMethod: RawRepresentable, Hashable, Codable {
   |                   `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
39 |         public let rawValue: String
40 |
   :
44 |
45 |         public static let GET = HTTPMethod("GET")
46 |         public static let POST = HTTPMethod("POST")
   |                           |- warning: static property 'POST' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'POST' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |         public static let PUT = HTTPMethod("PUT")
48 |         public static let PATCH = HTTPMethod("PATCH")
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/RequestPattern.swift:47:27: warning: static property 'PUT' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension RequestPattern {
38 |     public struct HTTPMethod: RawRepresentable, Hashable, Codable {
   |                   `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
39 |         public let rawValue: String
40 |
   :
45 |         public static let GET = HTTPMethod("GET")
46 |         public static let POST = HTTPMethod("POST")
47 |         public static let PUT = HTTPMethod("PUT")
   |                           |- warning: static property 'PUT' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'PUT' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |         public static let PATCH = HTTPMethod("PATCH")
49 |         public static let DELETE = HTTPMethod("DELETE")
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/RequestPattern.swift:48:27: warning: static property 'PATCH' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension RequestPattern {
38 |     public struct HTTPMethod: RawRepresentable, Hashable, Codable {
   |                   `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
39 |         public let rawValue: String
40 |
   :
46 |         public static let POST = HTTPMethod("POST")
47 |         public static let PUT = HTTPMethod("PUT")
48 |         public static let PATCH = HTTPMethod("PATCH")
   |                           |- warning: static property 'PATCH' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'PATCH' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |         public static let DELETE = HTTPMethod("DELETE")
50 |     }
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/RequestPattern.swift:49:27: warning: static property 'DELETE' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension RequestPattern {
38 |     public struct HTTPMethod: RawRepresentable, Hashable, Codable {
   |                   `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
39 |         public let rawValue: String
40 |
   :
47 |         public static let PUT = HTTPMethod("PUT")
48 |         public static let PATCH = HTTPMethod("PATCH")
49 |         public static let DELETE = HTTPMethod("DELETE")
   |                           |- warning: static property 'DELETE' is not concurrency-safe because non-'Sendable' type 'RequestPattern.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'DELETE' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |     }
51 | }
[8/9] Compiling CatbirdAPI CatbirdError.swift
/host/spi-builder-workspace/Packages/CatbirdAPI/Sources/CatbirdAPI/CatbirdError.swift:16:23: warning: static property 'errorDomain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 |     /// The domain of the error.
16 |     public static var errorDomain = "com.redmadrobot.catbird.APIErrorDomain"
   |                       |- warning: static property 'errorDomain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'errorDomain' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'errorDomain' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     /// HTTP status code.
[9/9] Compiling CatbirdAPI PatternMatch.swift
Build complete! (6.80s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Catbird",
  "name" : "Catbird",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "CatbirdAPI",
      "targets" : [
        "CatbirdAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CatbirdAPITests",
      "module_type" : "SwiftTarget",
      "name" : "CatbirdAPITests",
      "path" : "Packages/CatbirdAPI/Tests",
      "sources" : [
        "CatbirdAPITests/CatbirdActionTests.swift",
        "CatbirdAPITests/CatbirdTests.swift",
        "CatbirdAPITests/Network.swift",
        "CatbirdAPITests/PatternMatchTests.swift"
      ],
      "target_dependencies" : [
        "CatbirdAPI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CatbirdAPI",
      "module_type" : "SwiftTarget",
      "name" : "CatbirdAPI",
      "path" : "Packages/CatbirdAPI/Sources",
      "product_memberships" : [
        "CatbirdAPI"
      ],
      "sources" : [
        "CatbirdAPI/Catbird.swift",
        "CatbirdAPI/CatbirdAction.swift",
        "CatbirdAPI/CatbirdError.swift",
        "CatbirdAPI/PatternMatch.swift",
        "CatbirdAPI/RequestPattern.swift",
        "CatbirdAPI/ResponseMock.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.