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 VersionedCodable, reference v1.2.4 (bc4660), with Swift 6.1 for Linux on 28 Apr 2025 03:07:29 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jrothwell/VersionedCodable.git
Reference: v1.2.4
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/jrothwell/VersionedCodable
 * tag               v1.2.4     -> FETCH_HEAD
HEAD is now at bc46608 Select Xcode 16 in docs
Cloned https://github.com/jrothwell/VersionedCodable.git
Revision (git rev-parse @):
bc46608052e6bb9e12ebbfd9b4fa1f6d19724a6b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jrothwell/VersionedCodable.git at v1.2.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jrothwell/VersionedCodable.git
https://github.com/jrothwell/VersionedCodable.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "VersionedCodable",
  "name" : "VersionedCodable",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "VersionedCodable",
      "targets" : [
        "VersionedCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VersionedCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "VersionedCodableTests",
      "path" : "Tests/VersionedCodableTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/VersionedCodableTests/Support/UnusualKeyPaths/sonnet-v1.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/VersionedCodableTests/Support/UnusualKeyPaths/sonnet-v2.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/VersionedCodableTests/Support/expectedEncoded.plist",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/VersionedCodableTests/Support/expectedOlder.plist",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/VersionedCodableTests/Support/expectedUnsupported.plist",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "NeverVersionedCodableConformanceTests.swift",
        "NothingEarlierConformanceConfidenceTests.swift",
        "Support/ExamplePoems.swift",
        "Support/IsTypeMismatchVs.swift",
        "Support/PerformanceTestDocuments.swift",
        "Support/PoemDocuments.swift",
        "Support/TestCategories.swift",
        "Support/UnusualKeyPaths/Sonnets.swift",
        "UnusualVersionKeyPathsTests.swift",
        "VersionedCodableJSONTests.swift",
        "VersionedCodablePerformanceTests.swift",
        "VersionedCodablePropertyListTests.swift"
      ],
      "target_dependencies" : [
        "VersionedCodable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VersionedCodable",
      "module_type" : "SwiftTarget",
      "name" : "VersionedCodable",
      "path" : "Sources/VersionedCodable",
      "product_memberships" : [
        "VersionedCodable"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/VersionedCodable/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Foundation Extensions/JSONDecoder+versioned.swift",
        "Foundation Extensions/JSONEncoder+versioned.swift",
        "Foundation Extensions/Never+VersionedCodable.swift",
        "Foundation Extensions/PropertyListDecoder+versioned.swift",
        "Foundation Extensions/PropertyListEncoder+versioned.swift",
        "NothingEarlier.swift",
        "VersionPathSpec.swift",
        "VersionedCodable+decode.swift",
        "VersionedCodable+encode.swift",
        "VersionedCodable.swift",
        "VersionedDecodingError.swift",
        "VersionedEncodingError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.40s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.56s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3377] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.95s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Copying PrivacyInfo.xcprivacy
[3/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/18] Compiling VersionedCodable VersionedEncodingError.swift
[7/19] Compiling VersionedCodable VersionedDecodingError.swift
[8/19] Compiling VersionedCodable VersionPathSpec.swift
[9/19] Compiling VersionedCodable VersionedCodable+decode.swift
[10/19] Compiling VersionedCodable VersionedCodable+encode.swift
[11/19] Compiling VersionedCodable VersionedCodable.swift
[12/19] Compiling VersionedCodable resource_bundle_accessor.swift
[13/19] Emitting module VersionedCodable
[14/19] Compiling VersionedCodable Never+VersionedCodable.swift
[15/19] Compiling VersionedCodable PropertyListDecoder+versioned.swift
[16/19] Compiling VersionedCodable JSONDecoder+versioned.swift
[17/19] Compiling VersionedCodable JSONEncoder+versioned.swift
[18/19] Compiling VersionedCodable PropertyListEncoder+versioned.swift
[19/19] Compiling VersionedCodable NothingEarlier.swift
Build complete! (25.23s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "VersionedCodable",
  "name" : "VersionedCodable",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "VersionedCodable",
      "targets" : [
        "VersionedCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VersionedCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "VersionedCodableTests",
      "path" : "Tests/VersionedCodableTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/VersionedCodableTests/Support/UnusualKeyPaths/sonnet-v1.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/VersionedCodableTests/Support/UnusualKeyPaths/sonnet-v2.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/VersionedCodableTests/Support/expectedEncoded.plist",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/VersionedCodableTests/Support/expectedOlder.plist",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/VersionedCodableTests/Support/expectedUnsupported.plist",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "NeverVersionedCodableConformanceTests.swift",
        "NothingEarlierConformanceConfidenceTests.swift",
        "Support/ExamplePoems.swift",
        "Support/IsTypeMismatchVs.swift",
        "Support/PerformanceTestDocuments.swift",
        "Support/PoemDocuments.swift",
        "Support/TestCategories.swift",
        "Support/UnusualKeyPaths/Sonnets.swift",
        "UnusualVersionKeyPathsTests.swift",
        "VersionedCodableJSONTests.swift",
        "VersionedCodablePerformanceTests.swift",
        "VersionedCodablePropertyListTests.swift"
      ],
      "target_dependencies" : [
        "VersionedCodable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VersionedCodable",
      "module_type" : "SwiftTarget",
      "name" : "VersionedCodable",
      "path" : "Sources/VersionedCodable",
      "product_memberships" : [
        "VersionedCodable"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/VersionedCodable/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Foundation Extensions/JSONDecoder+versioned.swift",
        "Foundation Extensions/JSONEncoder+versioned.swift",
        "Foundation Extensions/Never+VersionedCodable.swift",
        "Foundation Extensions/PropertyListDecoder+versioned.swift",
        "Foundation Extensions/PropertyListEncoder+versioned.swift",
        "NothingEarlier.swift",
        "VersionPathSpec.swift",
        "VersionedCodable+decode.swift",
        "VersionedCodable+encode.swift",
        "VersionedCodable.swift",
        "VersionedDecodingError.swift",
        "VersionedEncodingError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.