The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VersionFilePlugin, reference 0.2.1 (23349c), with Swift 6.1 for macOS (SPM) on 3 Sep 2025 06:40:40 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mgacy/swift-version-file-plugin.git
Reference: 0.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mgacy/swift-version-file-plugin
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at 23349c4 Fix Unknown Case Warning (#3)
Cloned https://github.com/mgacy/swift-version-file-plugin.git
Revision (git rev-parse @):
23349c4f7c66eed19dee3cccd186e131eebc503f
SUCCESS checkout https://github.com/mgacy/swift-version-file-plugin.git at 0.2.1
========================================
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/mgacy/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/mgacy/swift-version-file-plugin.git
[1/113] Fetching swift-version-file-plugin
Fetched https://github.com/mgacy/swift-version-file-plugin.git from cache (0.66s)
Creating working copy for https://github.com/mgacy/swift-version-file-plugin.git
Working copy of https://github.com/mgacy/swift-version-file-plugin.git resolved at 0.2.1 (23349c4)
Found 0 product dependencies
========================================
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.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