The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-openapi-security-schemes, reference main (bf82e5), with Swift 6.1 for Android on 29 May 2025 19:30:05 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edonv/swift-openapi-security-schemes.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/edonv/swift-openapi-security-schemes
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bf82e57 Added docs.
Cloned https://github.com/edonv/swift-openapi-security-schemes.git
Revision (git rev-parse @):
bf82e579edfdf91181ea63e6fb2c3af2dc3c93c4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/edonv/swift-openapi-security-schemes.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/edonv/swift-openapi-security-schemes.git
https://github.com/edonv/swift-openapi-security-schemes.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-openapi-generator",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-generator"
    },
    {
      "identity" : "swift-openapi-runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-runtime"
    },
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-http-types"
    },
    {
      "identity" : "swift-http-field-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/edonv/swift-http-field-types.git"
    }
  ],
  "manifest_display_name" : "swift-openapi-security-schemes",
  "name" : "swift-openapi-security-schemes",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAPISecuritySchemes",
      "targets" : [
        "OpenAPISecuritySchemes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAPISecuritySchemesTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAPISecuritySchemesTests",
      "path" : "Tests/OpenAPISecuritySchemesTests",
      "sources" : [
        "OpenAPISecuritySchemesTests.swift"
      ],
      "target_dependencies" : [
        "OpenAPISecuritySchemes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAPISecuritySchemes",
      "module_type" : "SwiftTarget",
      "name" : "OpenAPISecuritySchemes",
      "path" : "Sources/OpenAPISecuritySchemes",
      "product_dependencies" : [
        "OpenAPIRuntime",
        "HTTPTypes",
        "HTTPTypesFoundation",
        "HTTPFieldTypes"
      ],
      "product_memberships" : [
        "OpenAPISecuritySchemes"
      ],
      "sources" : [
        "Internal Extensions/URL+appendQueryItemsBackport.swift",
        "SecurityError.swift",
        "SecurityScheme.swift",
        "SecuritySchemeMiddleware.swift",
        "SecuritySchemes/APIKeySecurityScheme.swift",
        "SecuritySchemes/HTTPSecurityScheme.swift",
        "SecuritySchemes/Never+SecurityScheme.swift",
        "SecuritySchemes/OAuth2SecurityScheme.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/apple/swift-http-types
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/edonv/swift-http-field-types.git
Fetching https://github.com/apple/swift-openapi-generator
[1/390] Fetching swift-http-field-types
[391/1294] Fetching swift-http-field-types, swift-http-types
[1295/6973] Fetching swift-http-field-types, swift-http-types, swift-openapi-runtime
Fetched https://github.com/edonv/swift-http-field-types.git from cache (0.38s)
[2097/6583] Fetching swift-http-types, swift-openapi-runtime
[6584/22332] Fetching swift-http-types, swift-openapi-runtime, swift-openapi-generator
Fetched https://github.com/apple/swift-http-types from cache (1.07s)
Fetched https://github.com/apple/swift-openapi-runtime from cache (1.07s)
Fetched https://github.com/apple/swift-openapi-generator from cache (1.07s)
Computing version for https://github.com/edonv/swift-http-field-types.git
Computed https://github.com/edonv/swift-http-field-types.git at 0.3.5 (1.67s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.65s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (0.96s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.8.0 (3.95s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
[1/5959] Fetching swift-algorithms
[359/22550] Fetching swift-algorithms, swift-collections
[360/33207] Fetching swift-algorithms, swift-collections, yams
[9788/48586] Fetching swift-algorithms, swift-collections, yams, swift-argument-parser
[9895/136496] Fetching swift-algorithms, swift-collections, yams, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-argument-parser from cache (4.12s)
Fetched https://github.com/apple/swift-algorithms from cache (7.15s)
Fetched https://github.com/apple/swift-collections from cache (7.18s)
Fetched https://github.com/jpsim/Yams from cache (7.23s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (7.31s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (8.45s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (1.13s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.46s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.82s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.89s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.5.2 (0.76s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.0.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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.0
Creating working copy for https://github.com/edonv/swift-http-field-types.git
Working copy of https://github.com/edonv/swift-http-field-types.git resolved at 0.3.5
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.0.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
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.5.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-openapi-generator
Working copy of https://github.com/apple/swift-openapi-generator resolved at 1.8.0
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/9] Write sources
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/17] Compiling HTTPTypes ISOLatin1String.swift
[11/18] Compiling HTTPTypes HTTPParsedFields.swift
[12/18] Emitting module HTTPTypes
[13/18] Compiling HTTPTypes HTTPField.swift
[14/18] Compiling HTTPTypes HTTPResponse.swift
[15/18] Compiling HTTPTypes HTTPRequest.swift
[16/18] Compiling HTTPTypes NIOLock.swift
[17/18] Compiling HTTPTypes HTTPFields.swift
[18/18] Compiling HTTPTypes HTTPFieldName.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/98] Compiling HTTPFieldTypes HTTPRange+Unit.swift
[21/98] Compiling OpenAPIRuntime Acceptable.swift
[22/98] Compiling OpenAPIRuntime Base64EncodedData.swift
[23/98] Emitting module HTTPFieldTypes
/host/spi-builder-workspace/.build/checkouts/swift-http-field-types/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:11: error: value of type 'DateFormatter' has no member 'formattingContext'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |           `- error: value of type 'DateFormatter' has no member 'formattingContext'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
/host/spi-builder-workspace/.build/checkouts/swift-http-field-types/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:32: error: cannot infer contextual base in reference to member 'standalone'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |                                `- error: cannot infer contextual base in reference to member 'standalone'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
[24/98] Compiling OpenAPIRuntime OpenAPIValue.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-field-types/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:11: error: value of type 'DateFormatter' has no member 'formattingContext'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |           `- error: value of type 'DateFormatter' has no member 'formattingContext'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
/host/spi-builder-workspace/.build/checkouts/swift-http-field-types/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:32: error: cannot infer contextual base in reference to member 'standalone'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |                                `- error: cannot infer contextual base in reference to member 'standalone'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
[25/98] Compiling OpenAPIRuntime PrettyStringConvertible.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-field-types/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:11: error: value of type 'DateFormatter' has no member 'formattingContext'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |           `- error: value of type 'DateFormatter' has no member 'formattingContext'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
/host/spi-builder-workspace/.build/checkouts/swift-http-field-types/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:32: error: cannot infer contextual base in reference to member 'standalone'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |                                `- error: cannot infer contextual base in reference to member 'standalone'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
[26/99] Emitting module HTTPTypesFoundation
[27/99] Emitting module OpenAPIRuntime
[28/107] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[29/107] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[30/107] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[31/107] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[32/107] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[33/108] Compiling HTTPFieldTypes HTTPRange.swift
[34/108] Compiling OpenAPIRuntime URICodeCodingKey.swift
[35/108] Compiling OpenAPIRuntime URICoderConfiguration.swift
[36/108] Compiling OpenAPIRuntime URIEncodedNode.swift
[37/108] Compiling OpenAPIRuntime URIParsedTypes.swift
[38/108] Compiling OpenAPIRuntime URIDecoder.swift
[39/108] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[40/108] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[41/108] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[42/108] Compiling HTTPFieldTypes HTTPContentRangeField.swift
[43/108] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[44/108] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[45/108] Compiling OpenAPIRuntime ByteUtilities.swift
[46/108] Compiling OpenAPIRuntime ContentDisposition.swift
[47/108] Compiling HTTPFieldTypes HTTPRangeField.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
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling HTTPTypes ISOLatin1String.swift
[6/13] Compiling HTTPTypes NIOLock.swift
[7/13] Compiling HTTPTypes HTTPRequest.swift
[8/13] Compiling HTTPTypes HTTPParsedFields.swift
[9/13] Compiling HTTPTypes HTTPResponse.swift
[10/13] Compiling HTTPTypes HTTPField.swift
[11/13] Compiling HTTPTypes HTTPFields.swift
[12/13] Emitting module HTTPTypes
[13/13] Compiling HTTPTypes HTTPFieldName.swift
[15/93] Compiling OpenAPIRuntime CopyOnWriteBox.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-field-types/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:11: error: value of type 'DateFormatter' has no member 'formattingContext'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |           `- error: value of type 'DateFormatter' has no member 'formattingContext'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
/host/spi-builder-workspace/.build/checkouts/swift-http-field-types/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:32: error: cannot infer contextual base in reference to member 'standalone'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |                                `- error: cannot infer contextual base in reference to member 'standalone'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
[16/93] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-field-types/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:11: error: value of type 'DateFormatter' has no member 'formattingContext'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |           `- error: value of type 'DateFormatter' has no member 'formattingContext'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
/host/spi-builder-workspace/.build/checkouts/swift-http-field-types/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:32: error: cannot infer contextual base in reference to member 'standalone'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |                                `- error: cannot infer contextual base in reference to member 'standalone'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/94] Emitting module HTTPFieldTypes
/host/spi-builder-workspace/.build/checkouts/swift-http-field-types/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:11: error: value of type 'DateFormatter' has no member 'formattingContext'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |           `- error: value of type 'DateFormatter' has no member 'formattingContext'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
/host/spi-builder-workspace/.build/checkouts/swift-http-field-types/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:32: error: cannot infer contextual base in reference to member 'standalone'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |                                `- error: cannot infer contextual base in reference to member 'standalone'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
[18/94] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[19/94] Compiling HTTPFieldTypes HTTPRange+Unit.swift
[20/94] Compiling HTTPFieldTypes HTTPRangeField.swift
[21/94] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[22/94] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[23/94] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[24/94] Compiling OpenAPIRuntime Acceptable.swift
[25/94] Compiling OpenAPIRuntime Base64EncodedData.swift
[26/94] Compiling HTTPFieldTypes HTTPRange.swift
[27/94] Compiling OpenAPIRuntime OpenAPIValue.swift
[28/94] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[29/94] Compiling HTTPFieldTypes HTTPContentRangeField.swift
[30/94] Compiling OpenAPIRuntime ByteUtilities.swift
[31/94] Compiling OpenAPIRuntime ContentDisposition.swift
[32/94] Emitting module HTTPTypesFoundation
[33/94] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
BUILD FAILURE 6.1 android