The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build danthorpe-swiftlint-plugin, reference main (5fc8c9), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 21:10:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danthorpe/danthorpe-swiftlint-plugin.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/danthorpe/danthorpe-swiftlint-plugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5fc8c94 SwiftLint plugin
Cloned https://github.com/danthorpe/danthorpe-swiftlint-plugin.git
Revision (git rev-parse @):
5fc8c94a1ebf4f459b27a12a0720f29ee9a41499
SUCCESS checkout https://github.com/danthorpe/danthorpe-swiftlint-plugin.git at main
[8948/9007955] Downloading https://github.com/realm/SwiftLint/releases/download/0.52.0/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.52.0/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.52.0/SwiftLintBinary-macos.artifactbundle.zip (1.75s)
========================================
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": "danthorpe-swiftlint-plugin",
      "name": "danthorpe-swiftlint-plugin",
      "url": "https://github.com/danthorpe/danthorpe-swiftlint-plugin.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/danthorpe-swiftlint-plugin",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/danthorpe/danthorpe-swiftlint-plugin.git
[1/22] Fetching danthorpe-swiftlint-plugin
Fetched https://github.com/danthorpe/danthorpe-swiftlint-plugin.git from cache (0.64s)
Creating working copy for https://github.com/danthorpe/danthorpe-swiftlint-plugin.git
Working copy of https://github.com/danthorpe/danthorpe-swiftlint-plugin.git resolved at main (5fc8c94)
Fetching binary artifact https://github.com/realm/SwiftLint/releases/download/0.52.0/SwiftLintBinary-macos.artifactbundle.zip from cache
Fetched https://github.com/realm/SwiftLint/releases/download/0.52.0/SwiftLintBinary-macos.artifactbundle.zip from cache (0.45s)
warning: '.resolve-product-dependencies': dependency 'danthorpe-swiftlint-plugin' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/danthorpe/danthorpe-swiftlint-plugin.git
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "danthorpe-swiftlint-plugin",
  "name" : "danthorpe-swiftlint-plugin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftLintPlugin",
      "targets" : [
        "SwiftLintPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftLintPlugin",
      "module_type" : "PluginTarget",
      "name" : "SwiftLintPlugin",
      "path" : "Plugins/SwiftLintPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "SwiftLintPlugin"
      ],
      "sources" : [
        "plugin.swift"
      ],
      "target_dependencies" : [
        "SwiftLintBinary"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "SwiftLintBinary",
      "module_type" : "BinaryTarget",
      "name" : "SwiftLintBinary",
      "path" : "remote/archive/SwiftLintBinary-macos.artifactbundle.zip",
      "product_memberships" : [
        "SwiftLintPlugin"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "SwiftLintAutocorrectPlugin",
      "module_type" : "PluginTarget",
      "name" : "SwiftLintAutocorrectPlugin",
      "path" : "Plugins/SwiftLintAutocorrectPlugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "Invokes swiftlint --autocorrect, which will fix all correctable violations.",
          "type" : "custom",
          "verb" : "swiftlint"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "All correctable violations are fixed by SwiftLint.",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "sources" : [
        "plugin.swift"
      ],
      "target_dependencies" : [
        "SwiftLintBinary"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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`.
BUILD FAILURE 6.0 macosSpm