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 main (7c0779), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 03:14:28 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jrothwell/VersionedCodable.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2049] Fetching swift-docc-plugin
[227/5426] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.23s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.23s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
========================================
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": "versionedcodable",
      "name": "VersionedCodable",
      "url": "https://github.com/jrothwell/VersionedCodable.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/VersionedCodable",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jrothwell/VersionedCodable.git
[1/1045] Fetching versionedcodable
Fetched https://github.com/jrothwell/VersionedCodable.git from cache (0.99s)
Creating working copy for https://github.com/jrothwell/VersionedCodable.git
Working copy of https://github.com/jrothwell/VersionedCodable.git resolved at main (7c07792)
warning: '.resolve-product-dependencies': dependency 'versionedcodable' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jrothwell/VersionedCodable.git
https://github.com/jrothwell/VersionedCodable.git
{
  "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" : "/Users/admin/builder/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" : "/Users/admin/builder/spi-builder-workspace/Tests/VersionedCodableTests/Support/UnusualKeyPaths/sonnet-v1.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/VersionedCodableTests/Support/UnusualKeyPaths/sonnet-v2.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/VersionedCodableTests/Support/expectedEncoded.plist",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/VersionedCodableTests/Support/expectedOlder.plist",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[3/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/18] Compiling VersionedCodable VersionedEncodingError.swift
[7/18] Compiling VersionedCodable VersionedCodable.swift
[8/18] Compiling VersionedCodable VersionedCodable+encode.swift
[9/18] Compiling VersionedCodable VersionPathSpec.swift
[10/18] Compiling VersionedCodable VersionedDecodingError.swift
[11/19] Compiling VersionedCodable VersionedCodable+decode.swift
[12/19] Compiling VersionedCodable Never+VersionedCodable.swift
[13/19] Compiling VersionedCodable PropertyListDecoder+versioned.swift
[14/19] Emitting module VersionedCodable
[15/19] Compiling VersionedCodable JSONDecoder+versioned.swift
[16/19] Compiling VersionedCodable JSONEncoder+versioned.swift
[17/19] Compiling VersionedCodable PropertyListEncoder+versioned.swift
[18/19] Compiling VersionedCodable NothingEarlier.swift
[19/19] Compiling VersionedCodable resource_bundle_accessor.swift
Build complete! (15.17s)
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" : "/Users/admin/builder/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" : "/Users/admin/builder/spi-builder-workspace/Tests/VersionedCodableTests/Support/UnusualKeyPaths/sonnet-v1.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/VersionedCodableTests/Support/UnusualKeyPaths/sonnet-v2.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/VersionedCodableTests/Support/expectedEncoded.plist",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/VersionedCodableTests/Support/expectedOlder.plist",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/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" : "/Users/admin/builder/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"
}
Done.