Build Information
Failed to build ConsulSwift, reference master (b4480c
), with Swift 6.1 for Linux on 25 Apr 2025 17:18:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cpageler93/consulswift.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/cpageler93/consulswift.git
https://github.com/cpageler93/consulswift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "quack",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/cpageler93/quack"
}
],
"manifest_display_name" : "ConsulSwift",
"name" : "ConsulSwift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ConsulSwift",
"targets" : [
"ConsulSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ConsulSwiftTests",
"module_type" : "SwiftTarget",
"name" : "ConsulSwiftTests",
"path" : "Tests/ConsulSwiftTests",
"sources" : [
"ConsulAgentTests.swift",
"ConsulCatalogTests.swift",
"ConsulEventTests.swift",
"ConsulHealthTests.swift",
"ConsulKeyValueTests.swift",
"ConsulSwiftTests.swift"
],
"target_dependencies" : [
"ConsulSwift"
],
"type" : "test"
},
{
"c99name" : "ConsulSwift",
"module_type" : "SwiftTarget",
"name" : "ConsulSwift",
"path" : "Sources/ConsulSwift",
"product_dependencies" : [
"Quack"
],
"product_memberships" : [
"ConsulSwift"
],
"sources" : [
"Consul+AgentBase.swift",
"Consul+AgentChecks.swift",
"Consul+AgentServices.swift",
"Consul+Catalog.swift",
"Consul+Events.swift",
"Consul+Health.swift",
"Consul+KVStore.swift",
"Consul.swift",
"ConsulAgentCheck.swift",
"ConsulAgentConfiguration.swift",
"ConsulAgentMember.swift",
"ConsulAgentService.swift",
"ConsulCatalogDatacenter.swift",
"ConsulCatalogNode.swift",
"ConsulCatalogService.swift",
"ConsulEvent.swift",
"ConsulKeyValuePair.swift"
],
"type" : "library"
}
],
"tools_version" : "4.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/cpageler93/quack
[1/639] Fetching quack
Fetched https://github.com/cpageler93/quack from cache (0.21s)
Computing version for https://github.com/cpageler93/quack
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.cCgGrj/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.dEPRkX/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Updating https://github.com/cpageler93/quack
Updated https://github.com/cpageler93/quack (0.13s)
Computing version for https://github.com/cpageler93/quack
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.Yr1Uc4/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.8k6VpN/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.1 linux