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 JSON, reference 4.0.2 (12e37e), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 12:04:17 UTC.

Swift 6 data race errors: 0

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/dankogai/swift-json.git
Reference: 4.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankogai/swift-json
 * tag               4.0.2      -> FETCH_HEAD
HEAD is now at 12e37ec version 4.0.2
Cloned https://github.com/dankogai/swift-json.git
Revision (git rev-parse @):
12e37ec0a9e5d979de7cd3d00e0495a87c62834d
SUCCESS checkout https://github.com/dankogai/swift-json.git at 4.0.2
========================================
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": "swift-json",
      "name": "JSON",
      "url": "https://github.com/dankogai/swift-json.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-json",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dankogai/swift-json.git
[1/466] Fetching swift-json
Fetched https://github.com/dankogai/swift-json.git from cache (0.85s)
Creating working copy for https://github.com/dankogai/swift-json.git
Working copy of https://github.com/dankogai/swift-json.git resolved at 4.0.2 (12e37ec)
warning: '.resolve-product-dependencies': dependency 'swift-json' 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/dankogai/swift-json.git
https://github.com/dankogai/swift-json.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSON",
  "name" : "JSON",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JSON",
      "targets" : [
        "JSON"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "JSONRun",
      "targets" : [
        "JSONRun"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONTests",
      "path" : "Tests/JSONTests",
      "sources" : [
        "JSONTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "JSON"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONRun",
      "module_type" : "SwiftTarget",
      "name" : "JSONRun",
      "path" : "Sources/JSONRun",
      "product_memberships" : [
        "JSONRun"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "JSON"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "JSON",
      "module_type" : "SwiftTarget",
      "name" : "JSON",
      "path" : "Sources/JSON",
      "product_memberships" : [
        "JSON",
        "JSONRun"
      ],
      "sources" : [
        "JSON.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.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/9] Write sources
[2/9] Write JSONRun-entitlement.plist
[3/9] Write swift-version-2F0A5646E1D333AE.txt
[5/11] Emitting module JSON
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON.swift:32:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'JSON' to 'Hashable' by implementing 'hash(into:)' instead
 30 | }
 31 | extension JSON : Hashable {
 32 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'JSON' to 'Hashable' by implementing 'hash(into:)' instead
 33 |         switch self {
 34 |         case .Error(let m):     fatalError("\(m)")
[6/11] Compiling JSON JSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON.swift:32:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'JSON' to 'Hashable' by implementing 'hash(into:)' instead
 30 | }
 31 | extension JSON : Hashable {
 32 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'JSON' to 'Hashable' by implementing 'hash(into:)' instead
 33 |         switch self {
 34 |         case .Error(let m):     fatalError("\(m)")
/Users/admin/builder/spi-builder-workspace/Sources/JSON/JSON.swift:270:17: warning: variable 'kv' was never mutated; consider changing to 'let' constant
268 |             }
269 |         case .Object(let o):
270 |             var kv = o.map{ $0 }
    |                 `- warning: variable 'kv' was never mutated; consider changing to 'let' constant
271 |             var i = -1
272 |             return AnyIterator {
[6/11] Write Objects.LinkFileList
[8/13] Compiling JSONRun main.swift
[9/13] Emitting module JSONRun
[9/13] Write Objects.LinkFileList
[10/13] Linking libJSON.dylib
[11/13] Linking JSONRun
[12/13] Applying JSONRun
Build complete! (4.91s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSON",
  "name" : "JSON",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JSON",
      "targets" : [
        "JSON"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "JSONRun",
      "targets" : [
        "JSONRun"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONTests",
      "path" : "Tests/JSONTests",
      "sources" : [
        "JSONTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "JSON"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONRun",
      "module_type" : "SwiftTarget",
      "name" : "JSONRun",
      "path" : "Sources/JSONRun",
      "product_memberships" : [
        "JSONRun"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "JSON"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "JSON",
      "module_type" : "SwiftTarget",
      "name" : "JSON",
      "path" : "Sources/JSON",
      "product_memberships" : [
        "JSON",
        "JSONRun"
      ],
      "sources" : [
        "JSON.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.