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 ConsulSwift, reference 0.5.0 (b4480c), with Swift 6.2 (beta) for Linux on 18 Jun 2025 08:40:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cpageler93/consulswift.git
Reference: 0.5.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/cpageler93/consulswift
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at b4480c9 Update to Quack 1.3.1 for Linux Support
Cloned https://github.com/cpageler93/consulswift.git
Revision (git rev-parse @):
b4480c9ce94c209777bb4f3acfbd810e811fb24d
SUCCESS checkout https://github.com/cpageler93/consulswift.git at 0.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/cpageler93/consulswift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/cpageler93/quack
[1/639] Fetching quack
Fetched https://github.com/cpageler93/quack from cache (0.33s)
Computing version for https://github.com/cpageler93/quack
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.PsaZa2/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "4", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "4.1.0", "/Package.swift", "-o", "/tmp/TemporaryDirectory.QsRYd2/quack-manifest"])
/Package.swift:7:69: error: missing argument for parameter 'condition' in call
 5 | #if os(Linux)
 6 | let httpPackageDependency = Package.Dependency.package(url: "https://github.com/vapor/http.git", "3.0.0"..<"4.0.0")
 7 | let httpTargetDependency = Target.Dependency.byNameItem(name: "HTTP")
   |                                                                     `- error: missing argument for parameter 'condition' in call
 8 | #else
 9 | let httpPackageDependency = Package.Dependency.package(url: "https://github.com/Alamofire/Alamofire", from: "4.8.2")
PackageDescription.Target.Dependency.byNameItem:3:6: note: 'byNameItem(name:condition:)' declared here
1 | class Target {
2 |   enum Dependency {
3 | case byNameItem(name: String, condition: TargetDependencyCondition?)  }
  |      `- note: 'byNameItem(name:condition:)' declared here
4 | }
5 |
/Package.swift:26:43: error: missing argument for parameter 'condition' in call
24 |         .target(name: "Quack", dependencies: [
25 |             httpTargetDependency,
26 |             .byNameItem(name: "SwiftyJSON"),
   |                                           `- error: missing argument for parameter 'condition' in call
27 |             .byNameItem(name: "Result")
28 |         ]),
PackageDescription.Target.Dependency.byNameItem:3:6: note: 'byNameItem(name:condition:)' declared here
1 | class Target {
2 |   enum Dependency {
3 | case byNameItem(name: String, condition: TargetDependencyCondition?)  }
  |      `- note: 'byNameItem(name:condition:)' declared here
4 | }
5 |
/Package.swift:27:39: error: missing argument for parameter 'condition' in call
25 |             httpTargetDependency,
26 |             .byNameItem(name: "SwiftyJSON"),
27 |             .byNameItem(name: "Result")
   |                                       `- error: missing argument for parameter 'condition' in call
28 |         ]),
29 |         .testTarget(name: "QuackUnitTests", dependencies: ["Quack"])
PackageDescription.Target.Dependency.byNameItem:3:6: note: 'byNameItem(name:condition:)' declared here
1 | class Target {
2 |   enum Dependency {
3 | case byNameItem(name: String, condition: TargetDependencyCondition?)  }
  |      `- note: 'byNameItem(name:condition:)' declared here
4 | }
5 | in https://github.com/cpageler93/quack
BUILD FAILURE 6.2 linux