Build Information
Failed to build CtrlHub, reference 0.0.4 (fcec08
), with Swift 6.0 for Linux on 28 Mar 2025 15:40:12 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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.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: linux
Swift version: 6.0
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/DataDog/swift-jsonapi.git
Fetching https://github.com/evgenyneu/keychain-swift.git
[1/2201] Fetching keychain-swift
[508/3132] Fetching keychain-swift, swift-jsonapi
Fetched https://github.com/DataDog/swift-jsonapi.git from cache (0.28s)
Fetched https://github.com/evgenyneu/keychain-swift.git from cache (0.28s)
Computing version for https://github.com/evgenyneu/keychain-swift.git
Computed https://github.com/evgenyneu/keychain-swift.git at 24.0.0 (2.35s)
Computing version for https://github.com/DataDog/swift-jsonapi.git
Computed https://github.com/DataDog/swift-jsonapi.git at 0.1.2 (0.62s)
Fetching https://github.com/swiftlang/swift-syntax
[1/69688] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.21s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 510.0.3 (0.83s)
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 510.0.3
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
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 SwiftSyntax509
[20/42] Compiling SwiftSyntax509 Empty.swift
[21/43] Compiling SwiftSyntax510 Empty.swift
[22/43] Emitting module SwiftSyntax510
[24/44] Wrapping AST for SwiftSyntax510 for debugging
[25/44] Wrapping AST for SwiftSyntax509 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/104] 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 |
[28/104] 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 |
[29/104] 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 |
[30/104] 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 |
[31/104] Compiling SwiftSyntax AbsolutePosition.swift
[32/104] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[33/104] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[34/104] Compiling SwiftSyntax Assert.swift
[35/104] Compiling SwiftSyntax BumpPtrAllocator.swift
[36/104] Compiling SwiftSyntax CommonAncestor.swift
[37/104] Compiling SwiftSyntax Convenience.swift
[38/104] Compiling SwiftSyntax MemoryLayout.swift
[39/104] Compiling SwiftSyntax MissingNodeInitializers.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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] Compiling SwiftSyntax509 Empty.swift
[3/25] Emitting module SwiftSyntax509
[4/26] Emitting module SwiftSyntax510
[5/26] Compiling SwiftSyntax510 Empty.swift
[6/27] 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 |
[7/27] 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/25] 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/25] 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.0 linux