Build Information
Failed to build CtrlHub, reference 0.0.4 (fcec08), with Swift 6.1 for Android on 30 May 2025 15:49:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ctrl-hub/sdk.swift.git
Reference: 0.0.4
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/ctrl-hub/sdk.swift
* tag 0.0.4 -> FETCH_HEAD
HEAD is now at fcec087 nil by default
Cloned https://github.com/ctrl-hub/sdk.swift.git
Revision (git rev-parse @):
fcec087381b15526c0f160fda818611beb6c0c39
SUCCESS checkout https://github.com/ctrl-hub/sdk.swift.git at 0.0.4
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/ctrl-hub/sdk.swift.git
https://github.com/ctrl-hub/sdk.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-jsonapi",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/DataDog/swift-jsonapi.git"
},
{
"identity" : "keychain-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "24.0.0",
"upper_bound" : "25.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/evgenyneu/keychain-swift.git"
}
],
"manifest_display_name" : "CtrlHub",
"name" : "CtrlHub",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "CtrlHub",
"targets" : [
"CtrlHub"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CtrlHubTests",
"module_type" : "SwiftTarget",
"name" : "CtrlHubTests",
"path" : "Tests/CtrlHubTests",
"sources" : [
"CtrlHubTests.swift"
],
"target_dependencies" : [
"CtrlHub"
],
"type" : "test"
},
{
"c99name" : "CtrlHub",
"module_type" : "SwiftTarget",
"name" : "CtrlHub",
"path" : "Source",
"product_dependencies" : [
"JSONAPI",
"KeychainSwift"
],
"product_memberships" : [
"CtrlHub"
],
"sources" : [
"Core/APIError.swift",
"Core/Config.swift",
"Core/Log.swift",
"Core/Router.swift",
"CtrlHub.swift",
"Features/Models/EquipmentModels.swift",
"Features/Models/IAMModels.swift",
"Features/Models/OperationsModels.swift",
"Features/Models/OrganisationModels.swift",
"Features/Models/PermissionModels.swift",
"Features/Models/PropertyModels.swift",
"Features/Models/RoleModels.swift",
"Features/Models/SchemeModels.swift",
"Features/Models/ServiceAccountModels.swift",
"Features/Models/Shared/Label.swift",
"Features/Models/Shared/Location.swift",
"Features/Models/Shared/Meta.swift",
"Features/Models/StreetModels.swift",
"Features/Models/VehicleInspectionModels.swift",
"Features/Models/VehicleModels.swift",
"Features/Models/WorkOrderModels.swift",
"Features/Routers/AuthRouter.swift",
"Features/Routers/EquipmentExposuresRouter.swift",
"Features/Routers/EquipmentRouter.swift",
"Features/Routers/IAMRouter.swift",
"Features/Routers/OrganisationRouter.swift",
"Features/Routers/PermissionRouter.swift",
"Features/Routers/PropertyRouter.swift",
"Features/Routers/RoleRouter.swift",
"Features/Routers/SchemeRouter.swift",
"Features/Routers/ServiceAccountRouter.swift",
"Features/Routers/StreetRouter.swift",
"Features/Routers/VehiclesInspectionsRouter.swift",
"Features/Routers/VehiclesRouter.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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 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/evgenyneu/keychain-swift.git
Fetching https://github.com/DataDog/swift-jsonapi.git
[1/931] Fetching swift-jsonapi
[616/3132] Fetching swift-jsonapi, keychain-swift
Fetched https://github.com/DataDog/swift-jsonapi.git from cache (0.56s)
Fetched https://github.com/evgenyneu/keychain-swift.git from cache (0.57s)
Computing version for https://github.com/evgenyneu/keychain-swift.git
Computed https://github.com/evgenyneu/keychain-swift.git at 24.0.0 (4.57s)
Computing version for https://github.com/DataDog/swift-jsonapi.git
Computed https://github.com/DataDog/swift-jsonapi.git at 0.1.2 (0.76s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70522] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (7.38s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 510.0.3 (8.17s)
Creating working copy for https://github.com/DataDog/swift-jsonapi.git
Working copy of https://github.com/DataDog/swift-jsonapi.git resolved at 0.1.2
Creating working copy for https://github.com/evgenyneu/keychain-swift.git
Working copy of https://github.com/evgenyneu/keychain-swift.git resolved at 24.0.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 510.0.3
warning: 'keychain-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/PrivacyInfo.xcprivacy
Building for debugging...
[0/34] Write sources
[17/34] Write swift-version-24593BA9C3E375BF.txt
[19/42] Emitting module SwiftSyntax510
[20/42] Compiling SwiftSyntax510 Empty.swift
[21/43] Compiling SwiftSyntax509 Empty.swift
[22/43] Emitting module SwiftSyntax509
[24/44] Wrapping AST for SwiftSyntax509 for debugging
[25/44] Wrapping AST for SwiftSyntax510 for debugging
[27/104] Compiling SwiftSyntax RawSyntax.swift
[28/104] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[29/104] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[30/104] Compiling SwiftSyntax RawSyntaxTokenView.swift
[31/104] Compiling SwiftSyntax SourceLength.swift
[32/104] Compiling SwiftSyntax SourceLocation.swift
[33/104] Compiling SwiftSyntax SourcePresence.swift
[34/104] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[35/104] Compiling SwiftSyntax Syntax.swift
[36/112] Compiling KeychainSwift KeychainSwiftAccessOptions.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
1 | import Security
| `- error: no such module 'Security'
2 | import Foundation
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/112] Emitting module KeychainSwift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
1 | import Security
| `- error: no such module 'Security'
2 | import Foundation
3 |
[38/112] Compiling KeychainSwift TegKeychainConstants.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
1 | import Security
| `- error: no such module 'Security'
2 | import Foundation
3 |
[39/112] Compiling KeychainSwift KeychainSwift.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
1 | import Security
| `- error: no such module 'Security'
2 | import Foundation
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
warning: 'keychain-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/PrivacyInfo.xcprivacy
[0/1] Planning build
Building for debugging...
[0/17] Write swift-version-24593BA9C3E375BF.txt
[2/25] Emitting module SwiftSyntax509
[3/25] Compiling SwiftSyntax509 Empty.swift
[4/26] Emitting module SwiftSyntax510
[5/26] Compiling SwiftSyntax510 Empty.swift
[7/26] Compiling KeychainSwift TegKeychainConstants.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
1 | import Security
| `- error: no such module 'Security'
2 | import Foundation
3 |
[9/26] Compiling KeychainSwift KeychainSwiftAccessOptions.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
1 | import Security
| `- error: no such module 'Security'
2 | import Foundation
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/26] Emitting module KeychainSwift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
1 | import Security
| `- error: no such module 'Security'
2 | import Foundation
3 |
[11/26] Compiling KeychainSwift KeychainSwift.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
1 | import Security
| `- error: no such module 'Security'
2 | import Foundation
3 |
BUILD FAILURE 6.1 android