Build Information
Failed to build swift-openapi-security-schemes, reference 0.2.1 (bf82e5
), with Swift 6.1 for Linux on 29 Apr 2025 14:47:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edonv/swift-openapi-security-schemes.git
Reference: 0.2.1
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
* tag 0.2.1 -> FETCH_HEAD
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 0.2.1
========================================
Build
========================================
Selected platform: linux
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-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-openapi-generator
Fetching https://github.com/edonv/swift-http-field-types.git
[1/904] Fetching swift-http-types
[616/1294] Fetching swift-http-types, swift-http-field-types
[1295/6966] Fetching swift-http-types, swift-http-field-types, swift-openapi-runtime
Fetched https://github.com/edonv/swift-http-field-types.git from cache (0.27s)
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.35s)
[1/15468] Fetching swift-openapi-generator
Fetched https://github.com/apple/swift-http-types from cache (0.75s)
Fetched https://github.com/apple/swift-openapi-generator from cache (0.76s)
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.17s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.43s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.7.2 (1.89s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mattpolzin/OpenAPIKit
[1/5903] Fetching swift-algorithms
[5904/22172] Fetching swift-algorithms, swift-collections
[10134/37122] Fetching swift-algorithms, swift-collections, swift-argument-parser
[25049/115616] Fetching swift-algorithms, swift-collections, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-collections from cache (1.14s)
[54606/99347] Fetching swift-algorithms, swift-argument-parser, openapikit
[54607/109792] Fetching swift-algorithms, swift-argument-parser, openapikit, yams
Fetched https://github.com/apple/swift-algorithms from cache (4.81s)
Fetched https://github.com/apple/swift-argument-parser from cache (4.81s)
Fetched https://github.com/jpsim/Yams from cache (4.84s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (4.87s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.1.4 (5.52s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.61s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (3.13s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (3.79s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.66s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.5.0 (0.50s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (0.65s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.3.1 (0.55s)
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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.1.4
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/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 5.3.1
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.5.0
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.0
Creating working copy for https://github.com/apple/swift-openapi-generator
Working copy of https://github.com/apple/swift-openapi-generator resolved at 1.7.2
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-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.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 HTTPResponse.swift
[11/17] Compiling HTTPTypes ISOLatin1String.swift
[12/18] Compiling HTTPTypes HTTPRequest.swift
[13/18] Compiling HTTPTypes HTTPParsedFields.swift
[14/18] Compiling HTTPTypes NIOLock.swift
[15/18] Compiling HTTPTypes HTTPFieldName.swift
[16/18] Emitting module HTTPTypes
[17/18] Compiling HTTPTypes HTTPField.swift
[18/18] Compiling HTTPTypes HTTPFields.swift
[20/98] Compiling HTTPFieldTypes HTTPRange+Unit.swift
[21/98] Compiling HTTPFieldTypes HTTPRangeField.swift
[22/99] Compiling OpenAPIRuntime OpenAPIValue.swift
[23/99] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[24/99] 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)
[25/99] 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)
[26/99] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[27/99] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[28/99] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[29/99] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[30/99] Compiling HTTPFieldTypes HTTPContentRangeField.swift
[31/99] Compiling HTTPFieldTypes HTTPRange.swift
[32/99] Compiling OpenAPIRuntime Acceptable.swift
[33/99] Compiling OpenAPIRuntime Base64EncodedData.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/99] Compiling OpenAPIRuntime ByteUtilities.swift
[35/99] Compiling OpenAPIRuntime ContentDisposition.swift
[36/99] 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)
[37/99] Compiling OpenAPIRuntime URICodeCodingKey.swift
[38/99] Compiling OpenAPIRuntime URICoderConfiguration.swift
[39/99] Compiling OpenAPIRuntime URIEncodedNode.swift
[40/99] Compiling OpenAPIRuntime URIParsedTypes.swift
[41/99] Compiling OpenAPIRuntime URIDecoder.swift
[42/99] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[43/99] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[44/99] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[45/107] Emitting module HTTPTypesFoundation
[46/107] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[47/108] Emitting module OpenAPIRuntime
[49/108] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[50/108] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[51/108] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[52/108] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[53/108] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[54/108] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[55/108] Compiling OpenAPIRuntime MultipartValidation.swift
[56/108] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[65/108] Compiling OpenAPIRuntime UndocumentedPayload.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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 HTTPResponse.swift
[8/13] Compiling HTTPTypes HTTPParsedFields.swift
[9/13] Compiling HTTPTypes HTTPRequest.swift
[10/13] Compiling HTTPTypes HTTPFieldName.swift
[11/13] Compiling HTTPTypes HTTPField.swift
[12/13] Emitting module HTTPTypes
[13/13] Compiling HTTPTypes HTTPFields.swift
[15/93] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[16/93] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[17/93] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[18/93] Compiling HTTPFieldTypes HTTPRange+Unit.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/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)
[20/94] Emitting module HTTPTypesFoundation
[21/94] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[22/94] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[23/94] Compiling HTTPFieldTypes HTTPRangeField.swift
[24/95] 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)
[25/95] 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)
[26/95] Compiling OpenAPIRuntime OpenAPIValue.swift
[27/95] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[28/95] Compiling HTTPFieldTypes HTTPContentRangeField.swift
[29/95] Compiling OpenAPIRuntime Acceptable.swift
[30/95] Compiling OpenAPIRuntime Base64EncodedData.swift
[32/95] Compiling OpenAPIRuntime ByteUtilities.swift
[33/95] Compiling OpenAPIRuntime ContentDisposition.swift
[34/95] Compiling HTTPFieldTypes HTTPRange.swift
BUILD FAILURE 6.1 linux