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

Swift 6 data race errors: 4

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/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/yume190/JSONDecodeKit.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/4] Write sources
[1/4] Write swift-version-6F35C1178C84523A.txt
[3/19] Compiling JSONDecodeKit Operators.swift
[4/20] Compiling JSONDecodeKit PrimitiveType.swift
[5/20] Compiling JSONDecodeKit JSONSerializable.swift
[6/20] Compiling JSONDecodeKit JSONEncodable.swift
[7/20] Compiling JSONDecodeKit JSON+Dictionary.swift
[8/20] Compiling JSONDecodeKit JSON+JSONDecodable.swift
[9/20] Compiling JSONDecodeKit JSON+Subscript.swift
[10/20] Compiling JSONDecodeKit JSON.swift
[11/20] 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 |
[12/20] Compiling JSONDecodeKit JSON+Array.swift
[13/20] Compiling JSONDecodeKit JSON+Dictionary+ValueArray.swift
[14/20] Compiling JSONDecodeKit JSON+PrimitiveType.swift
[15/20] Compiling JSONDecodeKit JSON+RawRepresentable.swift
[16/20] 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 |
[17/20] 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 |
[18/20] Compiling JSONDecodeKit RawRepresentableExtension.swift
[18/20] Write Objects.LinkFileList
[19/20] Archiving libJSONDecodeKit.a
Build complete! (21.14s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.