The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of VersionedCodable, reference main (7c0779), with Swift 6.2 (beta) for Linux on 20 Jun 2025 21:02:32 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jrothwell/VersionedCodable.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/jrothwell/VersionedCodable
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7c07792 Update README.md
Cloned https://github.com/jrothwell/VersionedCodable.git
Revision (git rev-parse @):
7c077929fd9c210ee5a6eade3bae89c8a6e863bc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jrothwell/VersionedCodable.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jrothwell/VersionedCodable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.49s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (4.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.97s)
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
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.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[2/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/18] Emitting module VersionedCodable
/host/spi-builder-workspace/Sources/VersionedCodable/VersionedDecodingError.swift:26:10: warning: associated value 'unsupportedVersion(tried:)' of 'Sendable'-conforming enum 'VersionedDecodingError' has non-Sendable type 'any VersionedCodable.Type'
24 |     /// There is no previous version available to attempt decoding, so this type cannot be decoded.
25 |     /// - Parameter tried: The last ``VersionedCodable`` attempted.
26 |     case unsupportedVersion(tried: any VersionedCodable.Type)
   |          `- warning: associated value 'unsupportedVersion(tried:)' of 'Sendable'-conforming enum 'VersionedDecodingError' has non-Sendable type 'any VersionedCodable.Type'
27 | }
28 |
[7/19] Compiling VersionedCodable resource_bundle_accessor.swift
[8/19] Compiling VersionedCodable VersionPathSpec.swift
[9/19] Compiling VersionedCodable VersionedCodable+decode.swift
[10/19] Compiling VersionedCodable PropertyListEncoder+versioned.swift
[11/19] Compiling VersionedCodable NothingEarlier.swift
[12/19] Compiling VersionedCodable Never+VersionedCodable.swift
[13/19] Compiling VersionedCodable PropertyListDecoder+versioned.swift
[14/19] Compiling VersionedCodable VersionedEncodingError.swift
[15/19] Compiling VersionedCodable VersionedCodable+encode.swift
[16/19] Compiling VersionedCodable VersionedCodable.swift
[17/19] Compiling VersionedCodable VersionedDecodingError.swift
/host/spi-builder-workspace/Sources/VersionedCodable/VersionedDecodingError.swift:26:10: warning: associated value 'unsupportedVersion(tried:)' of 'Sendable'-conforming enum 'VersionedDecodingError' has non-Sendable type 'any VersionedCodable.Type'
24 |     /// There is no previous version available to attempt decoding, so this type cannot be decoded.
25 |     /// - Parameter tried: The last ``VersionedCodable`` attempted.
26 |     case unsupportedVersion(tried: any VersionedCodable.Type)
   |          `- warning: associated value 'unsupportedVersion(tried:)' of 'Sendable'-conforming enum 'VersionedDecodingError' has non-Sendable type 'any VersionedCodable.Type'
27 | }
28 |
[18/19] Compiling VersionedCodable JSONDecoder+versioned.swift
[19/19] Compiling VersionedCodable JSONEncoder+versioned.swift
Build complete! (40.33s)
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.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.