Build Information
Failed to build NimbleLoyalty, reference develop (39df1f), with Swift 6.1 for Android on 28 May 2025 14:02:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/nimblehq/business-loyalty-ios-sdk-poc.git
Reference: develop
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/nimblehq/business-loyalty-ios-sdk-poc
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 39df1f8 Merge pull request #28 from nimblehq/chore/update-podspec-author-email
Cloned https://github.com/nimblehq/business-loyalty-ios-sdk-poc.git
Revision (git rev-parse @):
39df1f85c92e073e7b1112051449e056c14b7c9b
SUCCESS checkout https://github.com/nimblehq/business-loyalty-ios-sdk-poc.git at develop
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/nimblehq/business-loyalty-ios-sdk-poc.git
https://github.com/nimblehq/business-loyalty-ios-sdk-poc.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "moya",
"requirement" : {
"range" : [
{
"lower_bound" : "15.0.0",
"upper_bound" : "16.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Moya/Moya.git"
},
{
"identity" : "keychainaccess",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kishikawakatsumi/KeychainAccess.git"
}
],
"manifest_display_name" : "NimbleLoyalty",
"name" : "NimbleLoyalty",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "NimbleLoyalty",
"targets" : [
"NimbleLoyalty"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NimbleLoyalty",
"module_type" : "SwiftTarget",
"name" : "NimbleLoyalty",
"path" : "Sources",
"product_dependencies" : [
"Moya",
"KeychainAccess"
],
"product_memberships" : [
"NimbleLoyalty"
],
"sources" : [
"AuthenticationSessionManager.swift",
"Constants/Constants+API.swift",
"Constants/Constants.swift",
"Data/NetworkAPI/Core/CXTargetType.swift",
"Data/NetworkAPI/Core/NetworkAPIProtocol.swift",
"Data/NetworkAPI/Models/Internal/APIError.swift",
"Data/NetworkAPI/Models/Internal/APIToken.swift",
"Data/NetworkAPI/Models/Public/APIImages.swift",
"Data/NetworkAPI/Models/Public/APIProduct.swift",
"Data/NetworkAPI/Models/Public/APIRedeemReward.swift",
"Data/NetworkAPI/Models/Public/APIReward.swift",
"Data/NetworkAPI/Models/Public/APIRewardList.swift",
"Data/NetworkAPI/NetworkAPI.swift",
"Data/NetworkAPI/Plugins/AuthPlugin.swift",
"Data/Repositories/AuthenticationRepository.swift",
"Data/Repositories/ProductRepository.swift",
"Data/Repositories/RewardRepository.swift",
"Data/Storage/Keychain/Keychain.swift",
"Data/Storage/Keychain/KeychainKey.swift",
"Data/Storage/Keychain/Models/KeychainToken.swift",
"Data/Storage/UserDefaults/UserDefaultsKey.swift",
"Data/Storage/UserDefaults/UserDefaultsManager.swift",
"Domain/Entities/Token.swift",
"Domain/Interfaces/AuthenticationRepositoryProtocol.swift",
"Domain/Interfaces/ProductRepositoryProtocol.swift",
"Domain/Interfaces/RewardRepositoryProtocol.swift",
"NimbleLoyalty.swift",
"Supports/Helpers/Typealiases.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/kishikawakatsumi/KeychainAccess.git
Fetching https://github.com/Moya/Moya.git
[1/4386] Fetching keychainaccess
[703/29652] Fetching keychainaccess, moya
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (6.34s)
Fetched https://github.com/Moya/Moya.git from cache (6.39s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 15.0.3 (7.04s)
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/52488] Fetching reactiveswift
[5775/82629] Fetching reactiveswift, alamofire
[15623/135312] Fetching reactiveswift, alamofire, rxswift
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (4.32s)
[81244/82824] Fetching alamofire, rxswift
Fetched https://github.com/Alamofire/Alamofire.git from cache (7.10s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (7.18s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 3.2.1 (11.86s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.9.0 (0.82s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 6.7.0 (0.66s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.63s)
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 6.7.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.9.0
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 3.2.1
Creating working copy for https://github.com/Moya/Moya.git
Working copy of https://github.com/Moya/Moya.git resolved at 15.0.3
Building for debugging...
[0/6] Write sources
[3/6] Copying PrivacyInfo.xcprivacy
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/47] Emitting module Alamofire
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/52] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
25 |
26 | import Foundation
27 | import Security
| `- error: no such module 'Security'
28 | #if os(iOS) || os(OSX)
29 | import LocalAuthentication
[9/52] Compiling Alamofire RetryPolicy.swift
[10/52] Compiling Alamofire ServerTrustEvaluation.swift
[11/52] Compiling Alamofire URLEncodedFormEncoder.swift
[12/52] Compiling Alamofire Validation.swift
[13/52] Compiling Alamofire resource_bundle_accessor.swift
[14/52] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
25 |
26 | import Foundation
27 | import Security
| `- error: no such module 'Security'
28 | #if os(iOS) || os(OSX)
29 | import LocalAuthentication
[15/52] Compiling Alamofire NetworkReachabilityManager.swift
[16/52] Compiling Alamofire RedirectHandler.swift
[17/52] Compiling Alamofire RequestCompression.swift
[18/52] Compiling Alamofire RequestInterceptor.swift
[19/52] Compiling Alamofire ResponseSerialization.swift
[20/52] Compiling Alamofire URLRequest+Alamofire.swift
[21/52] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[22/52] Compiling Alamofire AlamofireExtended.swift
[23/52] Compiling Alamofire AuthenticationInterceptor.swift
[24/52] Compiling Alamofire CachedResponseHandler.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/42] Compiling Alamofire WebSocketRequest.swift
[3/42] Compiling Alamofire DispatchQueue+Alamofire.swift
[4/42] Compiling Alamofire OperationQueue+Alamofire.swift
[5/42] Compiling Alamofire Result+Alamofire.swift
[6/42] Compiling Alamofire StringEncoding+Alamofire.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/47] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
25 |
26 | import Foundation
27 | import Security
| `- error: no such module 'Security'
28 | #if os(iOS) || os(OSX)
29 | import LocalAuthentication
[8/47] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
25 |
26 | import Foundation
27 | import Security
| `- error: no such module 'Security'
28 | #if os(iOS) || os(OSX)
29 | import LocalAuthentication
[9/47] Emitting module Alamofire
BUILD FAILURE 6.1 android