The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VersionFilePlugin, reference main (d8229b), with Swift 6.1 for macOS (SPM) on 9 Mar 2026 04:17:23 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mgacy/swift-version-file-plugin.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mgacy/swift-version-file-plugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d8229bb Fix version number
Cloned https://github.com/mgacy/swift-version-file-plugin.git
Revision (git rev-parse @):
d8229bb828f28c12dfd6c13550f4ca0c4aab45ae
SUCCESS checkout https://github.com/mgacy/swift-version-file-plugin.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mgacy/swift-version-file-plugin.git
https://github.com/mgacy/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.9"
}
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