The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NimbleLoyalty, reference 0.2.0 (d3a823), with Swift 6.1 for Android on 28 May 2025 14:02:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/nimblehq/business-loyalty-ios-sdk-poc.git
Reference: 0.2.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/nimblehq/business-loyalty-ios-sdk-poc
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at d3a823e Merge pull request #21 from nimblehq/release/0.2.0
Cloned https://github.com/nimblehq/business-loyalty-ios-sdk-poc.git
Revision (git rev-parse @):
d3a823ea00b28299b89b0224a88cf73eafedefca
SUCCESS checkout https://github.com/nimblehq/business-loyalty-ios-sdk-poc.git at 0.2.0
========================================
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/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/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/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-4609320-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/Moya/Moya.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
[1/25266] Fetching moya
[254/29652] Fetching moya, keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (1.10s)
[13967/25266] Fetching moya
Fetched https://github.com/Moya/Moya.git from cache (2.95s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 15.0.3 (5.10s)
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
[1/52488] Fetching reactiveswift
[4201/82629] Fetching reactiveswift, alamofire
[10209/135312] Fetching reactiveswift, alamofire, rxswift
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.62s)
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (4.40s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (4.51s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 3.2.1 (5.07s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.9.0 (0.49s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 6.7.0 (0.51s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.58s)
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/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 6.7.0
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
[2/6] Copying PrivacyInfo.xcprivacy
[4/6] Write sources
[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 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
[10/52] Compiling Alamofire URLRequest+Alamofire.swift
[11/52] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[12/52] Compiling Alamofire AlamofireExtended.swift
[13/52] Compiling Alamofire AuthenticationInterceptor.swift
[14/52] Compiling Alamofire CachedResponseHandler.swift
[15/52] Compiling Alamofire Combine.swift
[16/52] Compiling Alamofire Concurrency.swift
[17/52] Compiling Alamofire EventMonitor.swift
[18/52] Compiling Alamofire MultipartFormData.swift
[19/52] Compiling Alamofire MultipartUpload.swift
[20/52] Compiling Alamofire WebSocketRequest.swift
[21/52] Compiling Alamofire DispatchQueue+Alamofire.swift
[22/52] Compiling Alamofire OperationQueue+Alamofire.swift
[23/52] Compiling Alamofire Result+Alamofire.swift
[24/52] Compiling Alamofire StringEncoding+Alamofire.swift
[25/52] Compiling Alamofire HTTPMethod.swift
[26/52] Compiling Alamofire Notifications.swift
[27/52] Compiling Alamofire ParameterEncoder.swift
[28/52] Compiling Alamofire ParameterEncoding.swift
[29/52] Compiling Alamofire Protected.swift
[30/52] Compiling Alamofire Request.swift
[31/52] Compiling Alamofire NetworkReachabilityManager.swift
[32/52] Compiling Alamofire RedirectHandler.swift
[33/52] Compiling Alamofire RequestCompression.swift
[34/52] Compiling Alamofire RequestInterceptor.swift
[35/52] Compiling Alamofire ResponseSerialization.swift
[36/52] Compiling Alamofire RetryPolicy.swift
[37/52] Compiling Alamofire ServerTrustEvaluation.swift
[38/52] Compiling Alamofire URLEncodedFormEncoder.swift
[39/52] Compiling Alamofire Validation.swift
[40/52] Compiling Alamofire resource_bundle_accessor.swift
[41/52] Compiling Alamofire RequestTaskMap.swift
[42/52] Compiling Alamofire Response.swift
[43/52] Compiling Alamofire Session.swift
[44/52] Compiling Alamofire SessionDelegate.swift
[45/52] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[46/52] Compiling Alamofire UploadRequest.swift
[47/52] Compiling Alamofire Alamofire.swift
[48/52] Compiling Alamofire AFError.swift
[49/52] Compiling Alamofire DataRequest.swift
[50/52] Compiling Alamofire DataStreamRequest.swift
[51/52] Compiling Alamofire DownloadRequest.swift
[52/52] Compiling Alamofire HTTPHeaders.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/42] 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
[3/42] 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
BUILD FAILURE 6.1 android