The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build swift-openapi-security-schemes, reference main (42a1fa), with Swift 6.0 for Linux on 16 Sep 2024 00:30:24 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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
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 42a1fa3 Merge pull request #1 from edonv/server-middleware
Cloned https://github.com/edonv/swift-openapi-security-schemes.git
Revision (git rev-parse @):
42a1fa386878e5ab8e6fc6059ba3f19b7209c8f3
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.0
Building package at path:  $PWD
https://github.com/edonv/swift-openapi-security-schemes.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-numerics.git
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/edonv/swift-http-field-types.git
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-argument-parser
[1/528] Fetching swift-http-types
[529/918] Fetching swift-http-types, swift-http-field-types
[919/6417] Fetching swift-http-types, swift-http-field-types, swift-algorithms
[6418/11993] Fetching swift-http-types, swift-http-field-types, swift-algorithms, swift-numerics
Fetched https://github.com/apple/swift-http-types from cache (0.31s)
Fetched https://github.com/apple/swift-algorithms from cache (0.31s)
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/jpsim/Yams
[5353/5966] Fetching swift-http-field-types, swift-numerics
[5466/48308] Fetching swift-http-field-types, swift-numerics, openapikit
[7661/60477] Fetching swift-http-field-types, swift-numerics, openapikit, swift-argument-parser
[24420/65167] Fetching swift-http-field-types, swift-numerics, openapikit, swift-argument-parser, swift-openapi-runtime
[35106/74963] Fetching swift-http-field-types, swift-numerics, openapikit, swift-argument-parser, swift-openapi-runtime, yams
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.35s)
[38397/70273] Fetching swift-http-field-types, swift-numerics, openapikit, swift-argument-parser, yams
Fetching https://github.com/apple/swift-openapi-generator
Fetched https://github.com/edonv/swift-http-field-types.git from cache (0.74s)
[45869/69883] Fetching swift-numerics, openapikit, swift-argument-parser, yams
[55122/82943] Fetching swift-numerics, openapikit, swift-argument-parser, yams, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-generator from cache (0.63s)
Computing version for https://github.com/edonv/swift-http-field-types.git
Fetched https://github.com/jpsim/Yams from cache (1.17s)
Computed https://github.com/edonv/swift-http-field-types.git at 0.3.5 (0.47s)
Computing version for https://github.com/apple/swift-http-types
Fetched https://github.com/apple/swift-numerics.git from cache (1.96s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.97s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (1.99s)
Computed https://github.com/apple/swift-http-types at 1.3.0 (2.39s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.4.0 (0.46s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.2.1 (0.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.43s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.1.3 (0.47s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.1.3 (0.49s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.0 (0.46s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.46s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.4.0
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.1.3
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.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.3.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.1.3
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.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.2.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.4.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin OpenAPIGeneratorCommand
Building for debugging...
[3/9] Write sources
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/17] Compiling HTTPTypes HTTPRequest.swift
[11/17] Compiling HTTPTypes HTTPParsedFields.swift
[12/17] Compiling HTTPTypes ISOLatin1String.swift
[13/17] Compiling HTTPTypes HTTPResponse.swift
[14/17] Compiling HTTPTypes HTTPFieldName.swift
[15/17] Emitting module HTTPTypes
[16/17] Compiling HTTPTypes HTTPField.swift
[17/17] Compiling HTTPTypes HTTPFields.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/96] 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/97] Compiling HTTPFieldTypes HTTPRange+Unit.swift
[21/97] Compiling OpenAPIRuntime OpenAPIValue.swift
[22/97] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[23/97] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[24/97] 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/97] 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/97] Compiling HTTPFieldTypes HTTPContentRangeField.swift
[27/97] Compiling HTTPFieldTypes HTTPRangeField.swift
[28/97] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[29/97] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[30/97] Compiling OpenAPIRuntime ByteUtilities.swift
[31/97] Compiling OpenAPIRuntime ContentDisposition.swift
[32/97] Compiling OpenAPIRuntime Acceptable.swift
[33/97] Compiling OpenAPIRuntime Base64EncodedData.swift
[34/97] Emitting module OpenAPIRuntime
[43/97] Compiling OpenAPIRuntime UndocumentedPayload.swift
[44/105] Compiling OpenAPIRuntime URICodeCodingKey.swift
[45/105] Compiling OpenAPIRuntime URICoderConfiguration.swift
[46/105] Compiling OpenAPIRuntime URIEncodedNode.swift
[47/105] Compiling OpenAPIRuntime URIParsedNode.swift
[48/105] Compiling OpenAPIRuntime URIDecoder.swift
[49/105] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[50/105] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[51/105] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[52/105] Emitting module HTTPTypesFoundation
[53/105] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[54/105] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[56/106] Compiling HTTPFieldTypes HTTPRange.swift
[57/106] Compiling OpenAPIRuntime FoundationExtensions.swift
[58/106] Compiling OpenAPIRuntime ParameterStyles.swift
[59/106] Compiling OpenAPIRuntime ServerVariable.swift
[60/106] Compiling OpenAPIRuntime URLExtensions.swift
[61/106] Compiling OpenAPIRuntime Deprecated.swift
[62/106] Compiling OpenAPIRuntime ClientError.swift
[63/106] Compiling OpenAPIRuntime CodingErrors.swift
[64/106] Compiling OpenAPIRuntime RuntimeError.swift
[65/106] Compiling OpenAPIRuntime ServerError.swift
[66/106] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[67/106] Compiling OpenAPIRuntime CodableExtensions.swift
[68/106] Compiling OpenAPIRuntime Configuration.swift
[69/106] Compiling OpenAPIRuntime Converter+Client.swift
[70/106] Compiling OpenAPIRuntime Converter+Common.swift
[71/106] Compiling OpenAPIRuntime Converter+Server.swift
[72/106] Compiling OpenAPIRuntime Converter.swift
[73/106] Compiling OpenAPIRuntime CurrencyExtensions.swift
[74/106] Compiling OpenAPIRuntime ErrorExtensions.swift
BUILD FAILURE 6.0 linux