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 master (e077d1), with Swift 6.0 for Linux on 30 Oct 2024 22:07:09 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-json.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/dankogai/swift-json
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e077d1b Update README.md
Cloned https://github.com/dankogai/swift-json.git
Revision (git rev-parse @):
e077d1bc08b604f34a31dae29a5afaf424624a18
SUCCESS checkout https://github.com/dankogai/swift-json.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dankogai/swift-json.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/9] Write sources
[2/9] Write swift-version-24593BA9C3E375BF.txt
[4/11] Emitting module JSON
/host/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)")
[5/11] Compiling JSON JSON.swift
/host/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)")
/host/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/12] Wrapping AST for JSON for debugging
[7/12] Write Objects.LinkFileList
[8/14] Linking libJSON.so
[10/14] Emitting module JSONRun
[11/14] Compiling JSONRun main.swift
[12/15] Wrapping AST for JSONRun for debugging
[13/15] Write Objects.LinkFileList
[14/15] Linking JSONRun
Build complete! (9.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSON",
  "name" : "JSON",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.