The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Cobalt, reference v10.1.6 (725b1a), with Swift 6.1 for Android on 15 Aug 2025 12:27:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.66.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/UnlockAgency/Cobalt.git
Reference: v10.1.6
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/UnlockAgency/Cobalt
 * tag               v10.1.6    -> FETCH_HEAD
HEAD is now at 725b1a5 Fixed cache cobalt response
Cloned https://github.com/UnlockAgency/Cobalt.git
Revision (git rev-parse @):
725b1a515cd56ee98c4d8eabbae5ca053142f0eb
SUCCESS checkout https://github.com/UnlockAgency/Cobalt.git at v10.1.6
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/UnlockAgency/Cobalt.git
https://github.com/UnlockAgency/Cobalt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.2.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "keychainaccess",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kishikawakatsumi/KeychainAccess.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "11.0.0",
            "upper_bound" : "12.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "identity" : "debugmasking",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/UnlockAgency/DebugMasking.git"
    }
  ],
  "manifest_display_name" : "Cobalt",
  "name" : "Cobalt",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Cobalt",
      "targets" : [
        "Cobalt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CobaltCache",
      "targets" : [
        "CobaltCache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CobaltStubbing",
      "targets" : [
        "CobaltStubbing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CobaltTesting",
      "module_type" : "SwiftTarget",
      "name" : "CobaltTesting",
      "path" : "CobaltTests",
      "product_dependencies" : [
        "Nimble"
      ],
      "sources" : [
        "CobaltTests-Authentication.swift",
        "CobaltTests-Cache.swift",
        "CobaltTests-Parsing.swift",
        "CobaltTests-Requests.swift",
        "CobaltTests-Stubbing.swift",
        "CobaltTests.swift"
      ],
      "target_dependencies" : [
        "Cobalt",
        "CobaltStubbing",
        "CobaltCache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CobaltStubbing",
      "module_type" : "SwiftTarget",
      "name" : "CobaltStubbing",
      "path" : "Sources/Stubbing",
      "product_dependencies" : [
        "Alamofire"
      ],
      "product_memberships" : [
        "CobaltStubbing"
      ],
      "sources" : [
        "Client+Stubbing.swift",
        "ClientService+Stubbing.swift",
        "Stub.swift",
        "StubbingManager.swift"
      ],
      "target_dependencies" : [
        "Cobalt"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CobaltCache",
      "module_type" : "SwiftTarget",
      "name" : "CobaltCache",
      "path" : "Sources/Cache",
      "product_memberships" : [
        "CobaltCache"
      ],
      "sources" : [
        "CacheManager.swift",
        "CachePolicy.swift",
        "Client+Cache.swift",
        "ClientService+Cache.swift",
        "Request+Cache.swift"
      ],
      "target_dependencies" : [
        "Cobalt"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Cobalt",
      "module_type" : "SwiftTarget",
      "name" : "Cobalt",
      "path" : "Sources/Core",
      "product_dependencies" : [
        "Alamofire",
        "KeychainAccess",
        "Logging",
        "DebugMasking"
      ],
      "product_memberships" : [
        "Cobalt",
        "CobaltCache",
        "CobaltStubbing"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Core/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Authentication/AccessToken.swift",
        "Authentication/Authentication.swift",
        "Authentication/AuthenticationProvider.swift",
        "Authentication/AuthorizationCodeRequest.swift",
        "Base/ClientService.swift",
        "Base/CobaltClient.swift",
        "Base/CobaltConfig.swift",
        "Base/CobaltError.swift",
        "Base/CobaltRequest.swift",
        "Base/CobaltResponse.swift",
        "Base/RequestQueue.swift",
        "Extensions/Optional.swift",
        "Extensions/String+Extension.swift",
        "Logging/LoggingOption.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
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/Quick/Nimble.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/UnlockAgency/DebugMasking.git
[1/4386] Fetching keychainaccess
[396/4405] Fetching keychainaccess, debugmasking
[722/8291] Fetching keychainaccess, debugmasking, swift-log
[5275/38453] Fetching keychainaccess, debugmasking, swift-log, alamofire
[5899/58037] Fetching keychainaccess, debugmasking, swift-log, alamofire, nimble
Fetched https://github.com/apple/swift-log.git from cache (0.90s)
[15017/54151] Fetching keychainaccess, debugmasking, alamofire, nimble
Fetched https://github.com/UnlockAgency/DebugMasking.git from cache (6.35s)
Fetched https://github.com/Quick/Nimble.git from cache (6.40s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (6.40s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (6.52s)
Computing version for https://github.com/UnlockAgency/DebugMasking.git
Computed https://github.com/UnlockAgency/DebugMasking.git at 1.0.1 (7.59s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (2.91s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 11.2.2 (1.29s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.75s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.80s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.80s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.72s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.82s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.89s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 11.2.2
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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/UnlockAgency/DebugMasking.git
Working copy of https://github.com/UnlockAgency/DebugMasking.git resolved at 1.0.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Building for debugging...
[0/10] Write sources
[0/10] Copying PrivacyInfo.xcprivacy
[0/10] Write sources
[5/10] Copying PrivacyInfo.xcprivacy
[8/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/60] Emitting module Alamofire
[12/65] Compiling Logging MetadataProvider.swift
[13/65] Emitting module Logging
[14/65] Compiling Logging Locks.swift
[15/65] Compiling Logging LogHandler.swift
[16/65] Compiling Logging Logging.swift
[17/66] Compiling DebugMasking DebugMasking.swift
[18/66] Compiling DebugMasking DebugMasking.MaskOption.swift
[20/66] Compiling DebugMasking DebugMasking.Config.swift
[21/66] Emitting module DebugMasking
[23/67] Compiling Alamofire URLRequest+Alamofire.swift
[24/67] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[25/67] Compiling Alamofire AlamofireExtended.swift
[26/67] Compiling Alamofire AuthenticationInterceptor.swift
[27/67] Compiling Alamofire CachedResponseHandler.swift
[28/67] Compiling Alamofire HTTPMethod.swift
[29/67] Compiling Alamofire Notifications.swift
[30/67] Compiling Alamofire ParameterEncoder.swift
[31/67] Compiling Alamofire ParameterEncoding.swift
[32/67] Compiling Alamofire Protected.swift
[33/67] Compiling Alamofire Request.swift
[34/67] Compiling Alamofire NetworkReachabilityManager.swift
[35/67] Compiling Alamofire RedirectHandler.swift
[36/67] Compiling Alamofire RequestCompression.swift
[37/67] Compiling Alamofire RequestInterceptor.swift
[38/67] Compiling Alamofire ResponseSerialization.swift
[39/67] Compiling Alamofire Combine.swift
[40/67] Compiling Alamofire Concurrency.swift
[41/67] Compiling Alamofire EventMonitor.swift
[42/67] Compiling Alamofire MultipartFormData.swift
[43/67] Compiling Alamofire MultipartUpload.swift
[44/67] Compiling Alamofire Alamofire.swift
[45/67] Compiling Alamofire AFError.swift
[46/67] Compiling Alamofire DataRequest.swift
[47/67] Compiling Alamofire DataStreamRequest.swift
[48/67] Compiling Alamofire DownloadRequest.swift
[49/67] Compiling Alamofire HTTPHeaders.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/67] 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
[51/67] 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
[52/67] Compiling Alamofire RequestTaskMap.swift
[53/67] Compiling Alamofire Response.swift
[54/67] Compiling Alamofire Session.swift
[55/67] Compiling Alamofire SessionDelegate.swift
[56/67] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[57/67] Compiling Alamofire UploadRequest.swift
[58/67] Compiling Alamofire WebSocketRequest.swift
[59/67] Compiling Alamofire DispatchQueue+Alamofire.swift
[60/67] Compiling Alamofire OperationQueue+Alamofire.swift
[61/67] Compiling Alamofire Result+Alamofire.swift
[62/67] Compiling Alamofire StringEncoding+Alamofire.swift
[63/67] Compiling Alamofire RetryPolicy.swift
[64/67] Compiling Alamofire ServerTrustEvaluation.swift
[65/67] Compiling Alamofire URLEncodedFormEncoder.swift
[66/67] Compiling Alamofire Validation.swift
[67/67] Compiling Alamofire resource_bundle_accessor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/CobaltTests/Info.plist
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/51] Compiling Logging MetadataProvider.swift
[3/51] Emitting module Logging
[4/51] Compiling DebugMasking DebugMasking.MaskOption.swift
[5/51] Compiling DebugMasking DebugMasking.Config.swift
[6/51] Emitting module DebugMasking
[7/51] Compiling DebugMasking DebugMasking.swift
[9/52] Compiling Alamofire WebSocketRequest.swift
[10/52] Compiling Alamofire DispatchQueue+Alamofire.swift
[11/52] Compiling Alamofire OperationQueue+Alamofire.swift
[12/52] Compiling Alamofire Result+Alamofire.swift
[13/52] Compiling Alamofire StringEncoding+Alamofire.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/57] 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
[15/57] 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
[16/57] Compiling Logging LogHandler.swift
[17/57] Compiling Logging Locks.swift
[18/57] Compiling Alamofire URLRequest+Alamofire.swift
[19/57] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[20/57] Compiling Alamofire AlamofireExtended.swift
[21/57] Compiling Alamofire AuthenticationInterceptor.swift
[22/57] Compiling Alamofire CachedResponseHandler.swift
BUILD FAILURE 6.1 android