Build Information
Failed to build swift-openapi-security-schemes, reference main (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-1":/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: 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: 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-1":/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/edonv/swift-http-field-types.git
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-openapi-generator
Fetching https://github.com/apple/swift-openapi-runtime
[1/390] Fetching swift-http-field-types
[391/6062] Fetching swift-http-field-types, swift-openapi-runtime
[6063/21530] Fetching swift-http-field-types, swift-openapi-runtime, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.41s)
[10754/15858] Fetching swift-http-field-types, swift-openapi-generator
Fetched https://github.com/edonv/swift-http-field-types.git from cache (0.68s)
Fetched https://github.com/apple/swift-openapi-generator from cache (0.69s)
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.92s)
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.33s)
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 (2.64s)
Fetching https://github.com/apple/swift-algorithms
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
[1/5903] Fetching swift-algorithms
[179/16348] Fetching swift-algorithms, yams
[11545/31298] Fetching swift-algorithms, yams, swift-argument-parser
[13593/109792] Fetching swift-algorithms, yams, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-argument-parser from cache (1.22s)
[40682/94842] Fetching swift-algorithms, yams, openapikit
Fetched https://github.com/apple/swift-algorithms from cache (1.41s)
[44983/88939] Fetching yams, openapikit
Fetched https://github.com/jpsim/Yams from cache (4.19s)
[1/16269] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (5.24s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (5.28s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.1.4 (6.48s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.46s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.34s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.78s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.64s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.5.0 (0.68s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (0.61s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.3.1 (0.49s)
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.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/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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.3.1
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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.1.4
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-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.7.2
[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 HTTPResponse.swift
[12/18] Compiling HTTPTypes HTTPRequest.swift
[13/18] Compiling HTTPTypes HTTPParsedFields.swift
[14/18] Compiling HTTPTypes NIOLock.swift
[15/18] Compiling HTTPTypes HTTPField.swift
[16/18] Emitting module HTTPTypes
[17/18] Compiling HTTPTypes HTTPFieldName.swift
[18/18] Compiling HTTPTypes HTTPFields.swift
[20/98] Emitting module HTTPTypesFoundation
[21/98] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[22/98] Compiling HTTPFieldTypes HTTPRangeField.swift
[23/98] Compiling HTTPFieldTypes HTTPRange+Unit.swift
[24/99] Compiling OpenAPIRuntime Acceptable.swift
[25/99] Compiling OpenAPIRuntime Base64EncodedData.swift
[26/99] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[27/99] Compiling OpenAPIRuntime OpenAPIValue.swift
[28/99] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[29/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)
[30/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)
[31/99] Compiling HTTPFieldTypes HTTPContentRangeField.swift
[32/99] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[33/99] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[34/99] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/100] Compiling OpenAPIRuntime ByteUtilities.swift
[36/100] Compiling OpenAPIRuntime ContentDisposition.swift
[37/100] 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)
[39/100] Compiling HTTPFieldTypes HTTPRange.swift
[40/100] Compiling OpenAPIRuntime FoundationExtensions.swift
[41/100] Compiling OpenAPIRuntime ParameterStyles.swift
[42/100] Compiling OpenAPIRuntime ServerVariable.swift
[43/100] Compiling OpenAPIRuntime URLExtensions.swift
[44/100] Compiling OpenAPIRuntime Deprecated.swift
[45/100] Compiling OpenAPIRuntime ClientError.swift
[46/100] Compiling OpenAPIRuntime CodingErrors.swift
[47/100] Compiling OpenAPIRuntime RuntimeError.swift
[48/100] Compiling OpenAPIRuntime ServerError.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 HTTPRequest.swift
[8/13] Compiling HTTPTypes HTTPParsedFields.swift
[9/13] Compiling HTTPTypes HTTPResponse.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 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)
[17/94] Compiling HTTPFieldTypes HTTPRange+Unit.swift
[18/94] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[19/94] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[20/94] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[21/94] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[22/94] Compiling HTTPFieldTypes HTTPRangeField.swift
[23/94] Compiling HTTPFieldTypes HTTPContentRangeField.swift
[24/94] Compiling OpenAPIRuntime OpenAPIValue.swift
[25/94] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[26/94] Compiling OpenAPIRuntime ByteUtilities.swift
[27/94] Compiling OpenAPIRuntime ContentDisposition.swift
[28/94] Compiling OpenAPIRuntime Acceptable.swift
[29/94] Compiling OpenAPIRuntime Base64EncodedData.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/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)
[31/94] Compiling HTTPFieldTypes HTTPRange.swift
[32/94] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[33/94] Emitting module HTTPTypesFoundation
BUILD FAILURE 6.1 linux