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 JSONPatch, reference main (e040fc), with Swift 6.0 for macOS (SPM) on 16 Oct 2024 13:44:28 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/peterringset/JSONPatch.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/peterringset/JSONPatch
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e040fc7 Update actions script to newest version of Swift default script
Cloned https://github.com/peterringset/JSONPatch.git
Revision (git rev-parse @):
e040fc7c02e5846a87b9ac3086ead61784542647
SUCCESS checkout https://github.com/peterringset/JSONPatch.git at main
========================================
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": "jsonpatch",
      "name": "JSONPatch",
      "url": "https://github.com/peterringset/JSONPatch.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JSONPatch",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/peterringset/JSONPatch.git
[1/191] Fetching jsonpatch
Fetched https://github.com/peterringset/JSONPatch.git from cache (0.71s)
Creating working copy for https://github.com/peterringset/JSONPatch.git
Working copy of https://github.com/peterringset/JSONPatch.git resolved at main (e040fc7)
warning: '.resolve-product-dependencies': dependency 'jsonpatch' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/peterringset/JSONPatch.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4A847ED0836F2485.txt
[3/6] Compiling JSONPatch JSONPatch.swift
[4/6] Emitting module JSONPatch
[5/6] Compiling JSONPatch KeyPath+StringConversion.swift
[6/6] Compiling JSONPatch AnyEncodable.swift
Build complete! (7.06s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSONPatch",
  "name" : "JSONPatch",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "JSONPatch",
      "targets" : [
        "JSONPatch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONPatchTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONPatchTests",
      "path" : "Tests/JSONPatchTests",
      "sources" : [
        "JSONPatchTests.swift",
        "KeyPath+StringConversionTests.swift",
        "ReadmeTests.swift"
      ],
      "target_dependencies" : [
        "JSONPatch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSONPatch",
      "module_type" : "SwiftTarget",
      "name" : "JSONPatch",
      "path" : "Sources/JSONPatch",
      "product_memberships" : [
        "JSONPatch"
      ],
      "sources" : [
        "AnyEncodable.swift",
        "JSONPatch.swift",
        "KeyPath+StringConversion.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.