The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppStoreConnectMiddleware, reference main (ac1d34), with Swift 6.1 for Android on 27 Jun 2025 14:05:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edorphy/AppStoreConnectMiddleware.git
Reference: main
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/edorphy/AppStoreConnectMiddleware
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ac1d343 #5 - Added spi yml file with default documentation target
Cloned https://github.com/edorphy/AppStoreConnectMiddleware.git
Revision (git rev-parse @):
ac1d343fa1ed7e37d51a2c1d3c68ae5b41cffb25
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/edorphy/AppStoreConnectMiddleware.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/edorphy/AppStoreConnectMiddleware.git
https://github.com/edorphy/AppStoreConnectMiddleware.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-openapi-runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-runtime"
    }
  ],
  "manifest_display_name" : "AppStoreConnectMiddleware",
  "name" : "AppStoreConnectMiddleware",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    },
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "AppStoreConnectMiddleware",
      "targets" : [
        "AppStoreConnectMiddleware"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppStoreConnectMiddlewareTests",
      "module_type" : "SwiftTarget",
      "name" : "AppStoreConnectMiddlewareTests",
      "path" : "Tests/AppStoreConnectMiddlewareTests",
      "sources" : [
        "AuthorizationMiddlewareTests.swift",
        "TokenGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "AppStoreConnectMiddleware"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppStoreConnectMiddleware",
      "module_type" : "SwiftTarget",
      "name" : "AppStoreConnectMiddleware",
      "path" : "Sources/AppStoreConnectMiddleware",
      "product_dependencies" : [
        "OpenAPIRuntime"
      ],
      "product_memberships" : [
        "AppStoreConnectMiddleware"
      ],
      "sources" : [
        "AuthorizationMiddleware.swift",
        "KeyType.swift",
        "TokenGenerator.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: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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-openapi-runtime
[1/5679] Fetching swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.63s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (1.23s)
Fetching https://github.com/apple/swift-http-types
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.30s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.87s)
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.8.2
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling HTTPTypes ISOLatin1String.swift
[6/13] Compiling HTTPTypes HTTPRequest.swift
[7/13] Compiling HTTPTypes HTTPParsedFields.swift
[8/13] Compiling HTTPTypes HTTPResponse.swift
[9/13] Compiling HTTPTypes NIOLock.swift
[10/13] Compiling HTTPTypes HTTPFieldName.swift
[11/13] Compiling HTTPTypes HTTPFields.swift
[12/13] Compiling HTTPTypes HTTPField.swift
[13/13] Emitting module HTTPTypes
[15/75] Compiling OpenAPIRuntime URICodeCodingKey.swift
[16/75] Compiling OpenAPIRuntime URICoderConfiguration.swift
[17/75] Compiling OpenAPIRuntime URIEncodedNode.swift
[18/75] Compiling OpenAPIRuntime URIParsedTypes.swift
[19/75] Compiling OpenAPIRuntime URIDecoder.swift
[20/75] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[21/75] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[22/75] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[23/83] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[24/83] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[25/83] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[26/83] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[27/83] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[28/83] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[29/83] Compiling OpenAPIRuntime MultipartValidation.swift
[30/83] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[31/83] Compiling OpenAPIRuntime CurrencyTypes.swift
[32/83] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[33/83] Compiling OpenAPIRuntime HTTPBody.swift
[34/83] Compiling OpenAPIRuntime ServerTransport.swift
[35/83] Compiling OpenAPIRuntime UniversalClient.swift
[36/83] Compiling OpenAPIRuntime UniversalServer.swift
[37/83] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[38/83] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[39/83] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[40/83] Compiling OpenAPIRuntime CodableExtensions.swift
[41/83] Compiling OpenAPIRuntime Configuration.swift
[42/83] Compiling OpenAPIRuntime Converter+Client.swift
[43/83] Compiling OpenAPIRuntime Converter+Common.swift
[44/83] Compiling OpenAPIRuntime Converter+Server.swift
[45/83] Compiling OpenAPIRuntime Converter.swift
[46/83] Compiling OpenAPIRuntime CurrencyExtensions.swift
[47/83] Compiling OpenAPIRuntime ErrorExtensions.swift
[48/83] Compiling OpenAPIRuntime FoundationExtensions.swift
[49/83] Compiling OpenAPIRuntime ParameterStyles.swift
[50/83] Compiling OpenAPIRuntime ServerVariable.swift
[51/83] Compiling OpenAPIRuntime URLExtensions.swift
[52/83] Compiling OpenAPIRuntime Deprecated.swift
[53/83] Compiling OpenAPIRuntime ClientError.swift
[54/83] Compiling OpenAPIRuntime CodingErrors.swift
[55/83] Compiling OpenAPIRuntime RuntimeError.swift
[56/83] Compiling OpenAPIRuntime ServerError.swift
[57/83] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[58/83] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[59/83] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[60/83] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[61/83] Compiling OpenAPIRuntime ServerSentEvents.swift
[62/83] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[63/83] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[64/83] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[65/83] Compiling OpenAPIRuntime ClientTransport.swift
[66/83] Emitting module OpenAPIRuntime
[67/83] Compiling OpenAPIRuntime Acceptable.swift
[68/83] Compiling OpenAPIRuntime Base64EncodedData.swift
[69/83] Compiling OpenAPIRuntime ByteUtilities.swift
[70/83] Compiling OpenAPIRuntime ContentDisposition.swift
[71/83] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[72/83] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[73/83] Compiling OpenAPIRuntime OpenAPIValue.swift
[74/83] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[75/83] Compiling OpenAPIRuntime UndocumentedPayload.swift
[76/83] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[77/83] Compiling OpenAPIRuntime URIEncoder.swift
[78/83] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[79/83] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[80/83] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[81/83] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[82/83] Compiling OpenAPIRuntime URIParser.swift
[83/83] Compiling OpenAPIRuntime URISerializer.swift
[85/88] Compiling AppStoreConnectMiddleware KeyType.swift
/host/spi-builder-workspace/Sources/AppStoreConnectMiddleware/AuthorizationMiddleware.swift:9:8: error: no such module 'CryptoKit'
  7 | //
  8 |
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 | import Foundation
 11 | import HTTPTypes
[86/88] Compiling AppStoreConnectMiddleware TokenGenerator.swift
/host/spi-builder-workspace/Sources/AppStoreConnectMiddleware/AuthorizationMiddleware.swift:9:8: error: no such module 'CryptoKit'
  7 | //
  8 |
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 | import Foundation
 11 | import HTTPTypes
error: emit-module command failed with exit code 1 (use -v to see invocation)
[87/88] Emitting module AppStoreConnectMiddleware
/host/spi-builder-workspace/Sources/AppStoreConnectMiddleware/AuthorizationMiddleware.swift:9:8: error: no such module 'CryptoKit'
  7 | //
  8 |
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 | import Foundation
 11 | import HTTPTypes
[88/88] Compiling AppStoreConnectMiddleware AuthorizationMiddleware.swift
/host/spi-builder-workspace/Sources/AppStoreConnectMiddleware/AuthorizationMiddleware.swift:9:8: error: no such module 'CryptoKit'
  7 | //
  8 |
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 | import Foundation
 11 | import HTTPTypes
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling HTTPTypes ISOLatin1String.swift
[3/10] Compiling HTTPTypes NIOLock.swift
[4/10] Compiling HTTPTypes HTTPRequest.swift
[5/10] Compiling HTTPTypes HTTPResponse.swift
[6/10] Compiling HTTPTypes HTTPFieldName.swift
[7/10] Compiling HTTPTypes HTTPParsedFields.swift
[8/10] Compiling HTTPTypes HTTPField.swift
[9/10] Emitting module HTTPTypes
[10/10] Compiling HTTPTypes HTTPFields.swift
[12/72] Compiling OpenAPIRuntime URICodeCodingKey.swift
[13/72] Compiling OpenAPIRuntime URICoderConfiguration.swift
[14/72] Compiling OpenAPIRuntime URIEncodedNode.swift
[15/72] Compiling OpenAPIRuntime URIParsedTypes.swift
[16/72] Compiling OpenAPIRuntime URIDecoder.swift
[17/72] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[18/72] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[19/72] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[20/80] Compiling OpenAPIRuntime Acceptable.swift
[21/80] Compiling OpenAPIRuntime Base64EncodedData.swift
[22/80] Compiling OpenAPIRuntime ByteUtilities.swift
[23/80] Compiling OpenAPIRuntime ContentDisposition.swift
[24/80] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[25/80] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[26/80] Compiling OpenAPIRuntime OpenAPIValue.swift
[27/80] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[28/80] Compiling OpenAPIRuntime UndocumentedPayload.swift
[29/80] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[30/80] Compiling OpenAPIRuntime CodableExtensions.swift
[31/80] Compiling OpenAPIRuntime Configuration.swift
[32/80] Compiling OpenAPIRuntime Converter+Client.swift
[33/80] Compiling OpenAPIRuntime Converter+Common.swift
[34/80] Compiling OpenAPIRuntime Converter+Server.swift
[35/80] Compiling OpenAPIRuntime Converter.swift
[36/80] Compiling OpenAPIRuntime CurrencyExtensions.swift
[37/80] Compiling OpenAPIRuntime ErrorExtensions.swift
[38/80] Emitting module OpenAPIRuntime
[39/80] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[40/80] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[41/80] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[42/80] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[43/80] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[44/80] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[45/80] Compiling OpenAPIRuntime MultipartValidation.swift
[46/80] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[47/80] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[48/80] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[49/80] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[50/80] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[51/80] Compiling OpenAPIRuntime ServerSentEvents.swift
[52/80] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[53/80] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[54/80] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[55/80] Compiling OpenAPIRuntime ClientTransport.swift
[56/80] Compiling OpenAPIRuntime CurrencyTypes.swift
[57/80] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[58/80] Compiling OpenAPIRuntime HTTPBody.swift
[59/80] Compiling OpenAPIRuntime ServerTransport.swift
[60/80] Compiling OpenAPIRuntime UniversalClient.swift
[61/80] Compiling OpenAPIRuntime UniversalServer.swift
[62/80] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[63/80] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[64/80] Compiling OpenAPIRuntime FoundationExtensions.swift
[65/80] Compiling OpenAPIRuntime ParameterStyles.swift
[66/80] Compiling OpenAPIRuntime ServerVariable.swift
[67/80] Compiling OpenAPIRuntime URLExtensions.swift
[68/80] Compiling OpenAPIRuntime Deprecated.swift
[69/80] Compiling OpenAPIRuntime ClientError.swift
[70/80] Compiling OpenAPIRuntime CodingErrors.swift
[71/80] Compiling OpenAPIRuntime RuntimeError.swift
[72/80] Compiling OpenAPIRuntime ServerError.swift
[73/80] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[74/80] Compiling OpenAPIRuntime URIEncoder.swift
[75/80] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[76/80] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[77/80] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[78/80] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[79/80] Compiling OpenAPIRuntime URIParser.swift
[80/80] Compiling OpenAPIRuntime URISerializer.swift
[82/85] Compiling AppStoreConnectMiddleware KeyType.swift
/host/spi-builder-workspace/Sources/AppStoreConnectMiddleware/AuthorizationMiddleware.swift:9:8: error: no such module 'CryptoKit'
  7 | //
  8 |
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 | import Foundation
 11 | import HTTPTypes
[83/85] Compiling AppStoreConnectMiddleware TokenGenerator.swift
/host/spi-builder-workspace/Sources/AppStoreConnectMiddleware/AuthorizationMiddleware.swift:9:8: error: no such module 'CryptoKit'
  7 | //
  8 |
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 | import Foundation
 11 | import HTTPTypes
error: emit-module command failed with exit code 1 (use -v to see invocation)
[84/85] Emitting module AppStoreConnectMiddleware
/host/spi-builder-workspace/Sources/AppStoreConnectMiddleware/AuthorizationMiddleware.swift:9:8: error: no such module 'CryptoKit'
  7 | //
  8 |
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 | import Foundation
 11 | import HTTPTypes
[85/85] Compiling AppStoreConnectMiddleware AuthorizationMiddleware.swift
/host/spi-builder-workspace/Sources/AppStoreConnectMiddleware/AuthorizationMiddleware.swift:9:8: error: no such module 'CryptoKit'
  7 | //
  8 |
  9 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 10 | import Foundation
 11 | import HTTPTypes
BUILD FAILURE 6.1 android