The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftLintPlugin with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lukepistrol/SwiftLintPlugin.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/lukepistrol/SwiftLintPlugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e5dcdd1 Update README.md
Cloned https://github.com/lukepistrol/SwiftLintPlugin.git
Revision (git rev-parse @):
e5dcdd16e3aaefd5945cfc2fd84a0bd802802d0e
SUCCESS checkout https://github.com/lukepistrol/SwiftLintPlugin.git at main
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.54.0/SwiftLintBinary-macos.artifactbundle.zip
[16375/10235927] Downloading https://github.com/realm/SwiftLint/releases/download/0.54.0/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.54.0/SwiftLintBinary-macos.artifactbundle.zip (0.80s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftlintplugin",
      "name": "SwiftLintPlugin",
      "url": "https://github.com/lukepistrol/SwiftLintPlugin.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftLintPlugin",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/lukepistrol/SwiftLintPlugin.git
[1/290] Fetching swiftlintplugin
Fetched https://github.com/lukepistrol/SwiftLintPlugin.git (0.29s)
Creating working copy for https://github.com/lukepistrol/SwiftLintPlugin.git
Working copy of https://github.com/lukepistrol/SwiftLintPlugin.git resolved at main
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.54.0/SwiftLintBinary-macos.artifactbundle.zip
[11015/10235927] Downloading https://github.com/realm/SwiftLint/releases/download/0.54.0/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.54.0/SwiftLintBinary-macos.artifactbundle.zip (0.71s)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $workDir
https://github.com/lukepistrol/SwiftLintPlugin.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.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`.
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 5.9 macosSpm

Build Machine: Mac 7