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

Failed to build VersionFilePlugin, reference main (23349c), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 08:39:55 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mobelux/swift-version-file-plugin.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mobelux/swift-version-file-plugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 23349c4 Fix Unknown Case Warning (#3)
Cloned https://github.com/mobelux/swift-version-file-plugin.git
Revision (git rev-parse @):
23349c4f7c66eed19dee3cccd186e131eebc503f
SUCCESS checkout https://github.com/mobelux/swift-version-file-plugin.git at main
========================================
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": "swift-version-file-plugin",
      "name": "VersionFilePlugin",
      "url": "https://github.com/mobelux/swift-version-file-plugin.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-version-file-plugin",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mobelux/swift-version-file-plugin.git
[1/113] Fetching swift-version-file-plugin
Fetched https://github.com/mobelux/swift-version-file-plugin.git from cache (0.62s)
Creating working copy for https://github.com/mobelux/swift-version-file-plugin.git
Working copy of https://github.com/mobelux/swift-version-file-plugin.git resolved at main (23349c4)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mobelux/swift-version-file-plugin.git
https://github.com/mobelux/swift-version-file-plugin.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "VersionFilePlugin",
  "name" : "VersionFilePlugin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "VersionFile",
      "targets" : [
        "VersionFile"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "semver",
      "module_type" : "BinaryTarget",
      "name" : "semver",
      "path" : "Artifacts/semver.artifactbundle",
      "product_memberships" : [
        "VersionFile"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "VersionFile",
      "module_type" : "PluginTarget",
      "name" : "VersionFile",
      "path" : "Plugins/VersionFile",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generates and increments `Version.swift`",
          "type" : "custom",
          "verb" : "version-file"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "This command writes `Version.swift` to the source root.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "VersionFile"
      ],
      "sources" : [
        "Extensions/PackagePlugin+Utils.swift",
        "Extensions/String+Utils.swift",
        "VersionFile.swift"
      ],
      "target_dependencies" : [
        "semver"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.6"
}
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.1 macosSpm