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 main (2673a4), with Swift 6.0 for Linux on 1 Nov 2024 20:19:23 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/skelpo/json.git
Reference: main
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/skelpo/json
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2673a40 Merge pull request #8 from skelpo/fix-uint-singlevalue-coding
Cloned https://github.com/skelpo/json.git
Revision (git rev-parse @):
2673a405aaab323678a8fd118492b393ae45cebd
SUCCESS checkout https://github.com/skelpo/json.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/skelpo/json.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/18] Compiling JSON _JSONUnkeyedDecoder.swift
[4/18] Compiling JSON _JSONEncoder.swift
[5/20] Compiling JSON JSON.swift
[6/20] Compiling JSON JSONConvertible.swift
[7/20] Compiling JSON JSONCoder.swift
[8/20] Compiling JSON JSON+Codable.swift
[9/20] Compiling JSON _JSONKeyedEncoder.swift
[10/20] Compiling JSON _JSONSingleValueEncoder.swift
[11/20] Compiling JSON _JSONUnkeyedEncoder.swift
[12/20] Compiling JSON JSON+Type.swift
[13/20] Compiling JSON _JSONDecoder.swift
[14/20] Compiling JSON _JSONKeyedValueDecoder.swift
[15/20] Compiling JSON _JSONSingleValueDecoder.swift
[16/20] Emitting module JSON
[17/20] Compiling JSON JSON+ExpressibleByLiteral.swift
[18/20] Compiling JSON JSON+JSONConvertible.swift
[19/20] Compiling JSON Number.swift
[20/20] Compiling JSON Operator.swift
Build complete! (27.91s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JSON",
  "name" : "JSON",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JSON",
      "targets" : [
        "JSON"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JSONTests",
      "module_type" : "SwiftTarget",
      "name" : "JSONTests",
      "path" : "Tests/JSONTests",
      "sources" : [
        "DecimalTests.swift",
        "JSONCodingTests.swift",
        "JSONTests.swift",
        "NestedData.swift",
        "WeatherModels.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "JSON"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JSON",
      "module_type" : "SwiftTarget",
      "name" : "JSON",
      "path" : "Sources/JSON",
      "product_memberships" : [
        "JSON"
      ],
      "sources" : [
        "Coder/Decoding/_JSONDecoder.swift",
        "Coder/Decoding/_JSONKeyedValueDecoder.swift",
        "Coder/Decoding/_JSONSingleValueDecoder.swift",
        "Coder/Decoding/_JSONUnkeyedDecoder.swift",
        "Coder/Encoding/_JSONEncoder.swift",
        "Coder/Encoding/_JSONKeyedEncoder.swift",
        "Coder/Encoding/_JSONSingleValueEncoder.swift",
        "Coder/Encoding/_JSONUnkeyedEncoder.swift",
        "Coder/JSON+Type.swift",
        "Coder/JSONCoder.swift",
        "JSON+Codable.swift",
        "JSON+ExpressibleByLiteral.swift",
        "JSON+JSONConvertible.swift",
        "JSON.swift",
        "JSONConvertible.swift",
        "Number.swift",
        "Operator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.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.