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 Linux.

Swift 6 data race errors: 4

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /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.0
Building package at path:  $workDir
https://github.com/yume190/JSONDecodeKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 RawRepresentableExtension.swift
[6/21] Compiling JSONDecodeKit JSONEncodable.swift
[7/21] Compiling JSONDecodeKit JSONSerializable.swift
[8/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 |
[9/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 |
[10/21] Compiling JSONDecodeKit JSON+PrimitiveType.swift
[11/21] Compiling JSONDecodeKit JSON+RawRepresentable.swift
[12/21] Compiling JSONDecodeKit JSON+Dictionary.swift
[13/21] Compiling JSONDecodeKit JSON+JSONDecodable.swift
[14/21] Compiling JSONDecodeKit JSON+Array.swift
[15/21] Compiling JSONDecodeKit JSON+Dictionary+ValueArray.swift
[16/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 |
[17/21] Compiling JSONDecodeKit JSON+Subscript.swift
[18/21] Compiling JSONDecodeKit JSON.swift
[19/22] Wrapping AST for JSONDecodeKit for debugging
[20/22] Write Objects.LinkFileList
[21/22] Archiving libJSONDecodeKit.a
Build complete! (18.45s)
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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.