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 macOS (SPM) on 24 Apr 2025 17:11:44 UTC.

Swift 6 data race errors: 4

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/yume190/JSONDecodeKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
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": "jsondecodekit",
      "name": "JSONDecodeKit",
      "url": "https://github.com/yume190/JSONDecodeKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JSONDecodeKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/yume190/JSONDecodeKit.git
[1/893] Fetching jsondecodekit
Fetched https://github.com/yume190/JSONDecodeKit.git from cache (0.97s)
Creating working copy for https://github.com/yume190/JSONDecodeKit.git
Working copy of https://github.com/yume190/JSONDecodeKit.git resolved at master (fc93e14)
warning: '.resolve-product-dependencies': dependency 'jsondecodekit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yume190/JSONDecodeKit.git
https://github.com/yume190/JSONDecodeKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSONDecodeKit",
  "name" : "JSONDecodeKit",
  "path" : "/Users/admin/builder/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 ...
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/4] Write sources
[1/4] Write swift-version-2F0A5646E1D333AE.txt
[3/19] Compiling JSONDecodeKit Operators.swift
[4/19] Compiling JSONDecodeKit JSONSerializable.swift
[5/19] Compiling JSONDecodeKit PrimitiveType.swift
[6/19] Compiling JSONDecodeKit JSONEncodable.swift
[7/19] Compiling JSONDecodeKit JSON+PrimitiveType.swift
[8/19] Compiling JSONDecodeKit JSON+RawRepresentable.swift
[9/19] Compiling JSONDecodeKit JSON+Array.swift
[10/19] Compiling JSONDecodeKit JSON+Dictionary+ValueArray.swift
[11/19] Compiling JSONDecodeKit JSONDecodable.swift
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[12/19] Compiling JSONDecodeKit JSONDecodeError.swift
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[13/19] Emitting module JSONDecodeKit
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[14/19] Compiling JSONDecodeKit JSON+Dictionary.swift
[15/19] Compiling JSONDecodeKit JSON+JSONDecodable.swift
[16/19] Compiling JSONDecodeKit JSON+Subscript.swift
[17/19] Compiling JSONDecodeKit JSON.swift
[18/20] Compiling JSONDecodeKit RawRepresentableExtension.swift
[18/20] Write Objects.LinkFileList
[19/20] Archiving libJSONDecodeKit.a
Build complete! (6.01s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSONDecodeKit",
  "name" : "JSONDecodeKit",
  "path" : "/Users/admin/builder/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"
}
Done.