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 JSONDecodeKit, reference master (fc93e1), with Swift 6.1 for Linux on 25 Apr 2025 09:31:48 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/yume190/JSONDecodeKit.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/yume190/JSONDecodeKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fc93e14 pod fix
Cloned https://github.com/yume190/JSONDecodeKit.git
Revision (git rev-parse @):
fc93e14b1b1e3a3113efd5eaff74537ea9f4b221
SUCCESS checkout https://github.com/yume190/JSONDecodeKit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yume190/JSONDecodeKit.git
https://github.com/yume190/JSONDecodeKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSONDecodeKit",
  "name" : "JSONDecodeKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JSONDecodeKit",
      "targets" : [
        "JSONDecodeKit"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONDecodeKit",
      "module_type" : "SwiftTarget",
      "name" : "JSONDecodeKit",
      "path" : "Sources/JSONDecodeKit",
      "product_memberships" : [
        "JSONDecodeKit"
      ],
      "sources" : [
        "JSON/JSON+Array.swift",
        "JSON/JSON+Dictionary+ValueArray.swift",
        "JSON/JSON+Dictionary.swift",
        "JSON/JSON+JSONDecodable.swift",
        "JSON/JSON+PrimitiveType.swift",
        "JSON/JSON+RawRepresentable.swift",
        "JSON/JSON+Subscript.swift",
        "JSON/JSON.swift",
        "JSONDecodable.swift",
        "JSONDecodeError.swift",
        "JSONEncodable.swift",
        "JSONSerializable.swift",
        "Operators.swift",
        "PrimitiveType.swift",
        "RawRepresentableExtension.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/20] Compiling JSONDecodeKit Operators.swift
[4/20] Compiling JSONDecodeKit PrimitiveType.swift
[5/21] Compiling JSONDecodeKit JSON+PrimitiveType.swift
[6/21] Compiling JSONDecodeKit JSON+RawRepresentable.swift
[7/21] Emitting module JSONDecodeKit
/host/spi-builder-workspace/Sources/JSONDecodeKit/JSONDecodeError.swift:37:10: warning: associated value 'keyNotFound(baseInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
10 |
11 | public enum JSONDecodeError: Error {
12 |     public struct BaseInfo {
   |                   `- note: consider making struct 'BaseInfo' conform to the 'Sendable' protocol
13 |         public let keyPath: String
14 |         public let currentKey: String
   :
35 |     }
36 |
37 |     case keyNotFound(baseInfo: BaseInfo)
   |          `- warning: associated value 'keyNotFound(baseInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
38 |     case nullValue(baseInfo: BaseInfo)
39 |     case typeMismatch(baseInfo: BaseInfo, extraInfo: ExtraInfo)
/host/spi-builder-workspace/Sources/JSONDecodeKit/JSONDecodeError.swift:38:10: warning: associated value 'nullValue(baseInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
10 |
11 | public enum JSONDecodeError: Error {
12 |     public struct BaseInfo {
   |                   `- note: consider making struct 'BaseInfo' conform to the 'Sendable' protocol
13 |         public let keyPath: String
14 |         public let currentKey: String
   :
36 |
37 |     case keyNotFound(baseInfo: BaseInfo)
38 |     case nullValue(baseInfo: BaseInfo)
   |          `- warning: associated value 'nullValue(baseInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
39 |     case typeMismatch(baseInfo: BaseInfo, extraInfo: ExtraInfo)
40 |     case specialCase(reason: String)
/host/spi-builder-workspace/Sources/JSONDecodeKit/JSONDecodeError.swift:39:10: warning: associated value 'typeMismatch(baseInfo:extraInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
10 |
11 | public enum JSONDecodeError: Error {
12 |     public struct BaseInfo {
   |                   `- note: consider making struct 'BaseInfo' conform to the 'Sendable' protocol
13 |         public let keyPath: String
14 |         public let currentKey: String
   :
37 |     case keyNotFound(baseInfo: BaseInfo)
38 |     case nullValue(baseInfo: BaseInfo)
39 |     case typeMismatch(baseInfo: BaseInfo, extraInfo: ExtraInfo)
   |          `- warning: associated value 'typeMismatch(baseInfo:extraInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
40 |     case specialCase(reason: String)
41 |
/host/spi-builder-workspace/Sources/JSONDecodeKit/JSONDecodeError.swift:39:10: warning: associated value 'typeMismatch(baseInfo:extraInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.ExtraInfo'; this is an error in the Swift 6 language mode
22 |     }
23 |
24 |     public struct ExtraInfo {
   |                   `- note: consider making struct 'ExtraInfo' conform to the 'Sendable' protocol
25 |         public let expectType: Any
26 |         public let actualType: Any
   :
37 |     case keyNotFound(baseInfo: BaseInfo)
38 |     case nullValue(baseInfo: BaseInfo)
39 |     case typeMismatch(baseInfo: BaseInfo, extraInfo: ExtraInfo)
   |          `- warning: associated value 'typeMismatch(baseInfo:extraInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.ExtraInfo'; this is an error in the Swift 6 language mode
40 |     case specialCase(reason: String)
41 |
[8/21] Compiling JSONDecodeKit JSON+Array.swift
[9/21] Compiling JSONDecodeKit JSON+Dictionary+ValueArray.swift
[10/21] Compiling JSONDecodeKit JSON+Dictionary.swift
[11/21] Compiling JSONDecodeKit JSON+JSONDecodable.swift
[12/21] Compiling JSONDecodeKit JSONEncodable.swift
[13/21] Compiling JSONDecodeKit JSONSerializable.swift
[14/21] Compiling JSONDecodeKit JSONDecodable.swift
/host/spi-builder-workspace/Sources/JSONDecodeKit/JSONDecodeError.swift:37:10: warning: associated value 'keyNotFound(baseInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
10 |
11 | public enum JSONDecodeError: Error {
12 |     public struct BaseInfo {
   |                   `- note: consider making struct 'BaseInfo' conform to the 'Sendable' protocol
13 |         public let keyPath: String
14 |         public let currentKey: String
   :
35 |     }
36 |
37 |     case keyNotFound(baseInfo: BaseInfo)
   |          `- warning: associated value 'keyNotFound(baseInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
38 |     case nullValue(baseInfo: BaseInfo)
39 |     case typeMismatch(baseInfo: BaseInfo, extraInfo: ExtraInfo)
/host/spi-builder-workspace/Sources/JSONDecodeKit/JSONDecodeError.swift:38:10: warning: associated value 'nullValue(baseInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
10 |
11 | public enum JSONDecodeError: Error {
12 |     public struct BaseInfo {
   |                   `- note: consider making struct 'BaseInfo' conform to the 'Sendable' protocol
13 |         public let keyPath: String
14 |         public let currentKey: String
   :
36 |
37 |     case keyNotFound(baseInfo: BaseInfo)
38 |     case nullValue(baseInfo: BaseInfo)
   |          `- warning: associated value 'nullValue(baseInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
39 |     case typeMismatch(baseInfo: BaseInfo, extraInfo: ExtraInfo)
40 |     case specialCase(reason: String)
/host/spi-builder-workspace/Sources/JSONDecodeKit/JSONDecodeError.swift:39:10: warning: associated value 'typeMismatch(baseInfo:extraInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
10 |
11 | public enum JSONDecodeError: Error {
12 |     public struct BaseInfo {
   |                   `- note: consider making struct 'BaseInfo' conform to the 'Sendable' protocol
13 |         public let keyPath: String
14 |         public let currentKey: String
   :
37 |     case keyNotFound(baseInfo: BaseInfo)
38 |     case nullValue(baseInfo: BaseInfo)
39 |     case typeMismatch(baseInfo: BaseInfo, extraInfo: ExtraInfo)
   |          `- warning: associated value 'typeMismatch(baseInfo:extraInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
40 |     case specialCase(reason: String)
41 |
/host/spi-builder-workspace/Sources/JSONDecodeKit/JSONDecodeError.swift:39:10: warning: associated value 'typeMismatch(baseInfo:extraInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.ExtraInfo'; this is an error in the Swift 6 language mode
22 |     }
23 |
24 |     public struct ExtraInfo {
   |                   `- note: consider making struct 'ExtraInfo' conform to the 'Sendable' protocol
25 |         public let expectType: Any
26 |         public let actualType: Any
   :
37 |     case keyNotFound(baseInfo: BaseInfo)
38 |     case nullValue(baseInfo: BaseInfo)
39 |     case typeMismatch(baseInfo: BaseInfo, extraInfo: ExtraInfo)
   |          `- warning: associated value 'typeMismatch(baseInfo:extraInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.ExtraInfo'; this is an error in the Swift 6 language mode
40 |     case specialCase(reason: String)
41 |
[15/21] Compiling JSONDecodeKit JSONDecodeError.swift
/host/spi-builder-workspace/Sources/JSONDecodeKit/JSONDecodeError.swift:37:10: warning: associated value 'keyNotFound(baseInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
10 |
11 | public enum JSONDecodeError: Error {
12 |     public struct BaseInfo {
   |                   `- note: consider making struct 'BaseInfo' conform to the 'Sendable' protocol
13 |         public let keyPath: String
14 |         public let currentKey: String
   :
35 |     }
36 |
37 |     case keyNotFound(baseInfo: BaseInfo)
   |          `- warning: associated value 'keyNotFound(baseInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
38 |     case nullValue(baseInfo: BaseInfo)
39 |     case typeMismatch(baseInfo: BaseInfo, extraInfo: ExtraInfo)
/host/spi-builder-workspace/Sources/JSONDecodeKit/JSONDecodeError.swift:38:10: warning: associated value 'nullValue(baseInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
10 |
11 | public enum JSONDecodeError: Error {
12 |     public struct BaseInfo {
   |                   `- note: consider making struct 'BaseInfo' conform to the 'Sendable' protocol
13 |         public let keyPath: String
14 |         public let currentKey: String
   :
36 |
37 |     case keyNotFound(baseInfo: BaseInfo)
38 |     case nullValue(baseInfo: BaseInfo)
   |          `- warning: associated value 'nullValue(baseInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
39 |     case typeMismatch(baseInfo: BaseInfo, extraInfo: ExtraInfo)
40 |     case specialCase(reason: String)
/host/spi-builder-workspace/Sources/JSONDecodeKit/JSONDecodeError.swift:39:10: warning: associated value 'typeMismatch(baseInfo:extraInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
10 |
11 | public enum JSONDecodeError: Error {
12 |     public struct BaseInfo {
   |                   `- note: consider making struct 'BaseInfo' conform to the 'Sendable' protocol
13 |         public let keyPath: String
14 |         public let currentKey: String
   :
37 |     case keyNotFound(baseInfo: BaseInfo)
38 |     case nullValue(baseInfo: BaseInfo)
39 |     case typeMismatch(baseInfo: BaseInfo, extraInfo: ExtraInfo)
   |          `- warning: associated value 'typeMismatch(baseInfo:extraInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.BaseInfo'; this is an error in the Swift 6 language mode
40 |     case specialCase(reason: String)
41 |
/host/spi-builder-workspace/Sources/JSONDecodeKit/JSONDecodeError.swift:39:10: warning: associated value 'typeMismatch(baseInfo:extraInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.ExtraInfo'; this is an error in the Swift 6 language mode
22 |     }
23 |
24 |     public struct ExtraInfo {
   |                   `- note: consider making struct 'ExtraInfo' conform to the 'Sendable' protocol
25 |         public let expectType: Any
26 |         public let actualType: Any
   :
37 |     case keyNotFound(baseInfo: BaseInfo)
38 |     case nullValue(baseInfo: BaseInfo)
39 |     case typeMismatch(baseInfo: BaseInfo, extraInfo: ExtraInfo)
   |          `- warning: associated value 'typeMismatch(baseInfo:extraInfo:)' of 'Sendable'-conforming enum 'JSONDecodeError' has non-sendable type 'JSONDecodeError.ExtraInfo'; this is an error in the Swift 6 language mode
40 |     case specialCase(reason: String)
41 |
[16/21] Compiling JSONDecodeKit JSON+Subscript.swift
[17/21] Compiling JSONDecodeKit JSON.swift
[18/21] Compiling JSONDecodeKit RawRepresentableExtension.swift
[19/22] Wrapping AST for JSONDecodeKit for debugging
[20/22] Write Objects.LinkFileList
[21/22] Archiving libJSONDecodeKit.a
Build complete! (8.60s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSONDecodeKit",
  "name" : "JSONDecodeKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JSONDecodeKit",
      "targets" : [
        "JSONDecodeKit"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONDecodeKit",
      "module_type" : "SwiftTarget",
      "name" : "JSONDecodeKit",
      "path" : "Sources/JSONDecodeKit",
      "product_memberships" : [
        "JSONDecodeKit"
      ],
      "sources" : [
        "JSON/JSON+Array.swift",
        "JSON/JSON+Dictionary+ValueArray.swift",
        "JSON/JSON+Dictionary.swift",
        "JSON/JSON+JSONDecodable.swift",
        "JSON/JSON+PrimitiveType.swift",
        "JSON/JSON+RawRepresentable.swift",
        "JSON/JSON+Subscript.swift",
        "JSON/JSON.swift",
        "JSONDecodable.swift",
        "JSONDecodeError.swift",
        "JSONEncodable.swift",
        "JSONSerializable.swift",
        "Operators.swift",
        "PrimitiveType.swift",
        "RawRepresentableExtension.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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.