Build Information
Failed to build ConsulSwift, reference 0.5.0 (b4480c
), with Swift 6.1 for Android on 27 May 2025 16:12:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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: android
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-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/cpageler93/quack
[1/639] Fetching quack
Fetched https://github.com/cpageler93/quack from cache (0.24s)
Computing version for https://github.com/cpageler93/quack
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.pRuAXR/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.HMf4hz/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-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Updating https://github.com/cpageler93/quack
Updated https://github.com/cpageler93/quack (0.18s)
Computing version for https://github.com/cpageler93/quack
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.S5BLNu/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.zwjCAk/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 android