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 0.2.0 (42a1fa), with Swift 6.0 for Linux on 16 Sep 2024 00:30:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 0.2.0
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.0      -> FETCH_HEAD
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 0.2.0
========================================
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-4606859-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/jpsim/Yams
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-openapi-generator
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/edonv/swift-http-field-types.git
Fetching https://github.com/mattpolzin/OpenAPIKit
[1/390] Fetching swift-http-field-types
[391/5889] Fetching swift-http-field-types, swift-algorithms
[1436/18949] Fetching swift-http-field-types, swift-algorithms, swift-openapi-generator
[6826/23639] Fetching swift-http-field-types, swift-algorithms, swift-openapi-generator, swift-openapi-runtime
[9096/33435] Fetching swift-http-field-types, swift-algorithms, swift-openapi-generator, swift-openapi-runtime, yams
[16458/75777] Fetching swift-http-field-types, swift-algorithms, swift-openapi-generator, swift-openapi-runtime, yams, openapikit
Fetched https://github.com/apple/swift-algorithms from cache (0.37s)
[17094/70278] Fetching swift-http-field-types, swift-openapi-generator, swift-openapi-runtime, yams, openapikit
Fetching https://github.com/apple/swift-numerics.git
[52919/75854] Fetching swift-http-field-types, swift-openapi-generator, swift-openapi-runtime, yams, openapikit, swift-numerics
Fetched https://github.com/edonv/swift-http-field-types.git from cache (1.21s)
[65302/75464] Fetching swift-openapi-generator, swift-openapi-runtime, yams, openapikit, swift-numerics
Fetched https://github.com/apple/swift-openapi-runtime from cache (1.21s)
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-argument-parser
[61036/70774] Fetching swift-openapi-generator, yams, openapikit, swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.88s)
Fetched https://github.com/jpsim/Yams from cache (1.26s)
[46934/55402] Fetching swift-openapi-generator, openapikit
[52016/55930] Fetching swift-openapi-generator, openapikit, swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.23s)
[54556/55402] Fetching swift-openapi-generator, openapikit
[55403/67571] Fetching swift-openapi-generator, openapikit, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.86s)
Fetched https://github.com/apple/swift-openapi-generator from cache (2.21s)
Computing version for https://github.com/edonv/swift-http-field-types.git
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (2.25s)
Computed https://github.com/edonv/swift-http-field-types.git at 0.3.5 (0.49s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.0 (3.02s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.4.0 (0.50s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.2.1 (0.66s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.51s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.1.3 (0.56s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.1.3 (0.61s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.0 (0.52s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.55s)
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.2
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/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.4.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.3.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.4.0
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
[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 HTTPField.swift
[15/17] Compiling HTTPTypes HTTPFields.swift
[16/17] Emitting module HTTPTypes
[17/17] Compiling HTTPTypes HTTPFieldName.swift
[19/96] Compiling OpenAPIRuntime CodingErrors.swift
[20/96] Compiling OpenAPIRuntime RuntimeError.swift
[21/97] Compiling HTTPFieldTypes HTTPRangeField.swift
[22/97] Compiling HTTPFieldTypes HTTPRange+Unit.swift
[23/97] Compiling OpenAPIRuntime ServerVariable.swift
[24/97] Compiling OpenAPIRuntime URLExtensions.swift
[25/97] Compiling OpenAPIRuntime Deprecated.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 OpenAPIRuntime ClientError.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)
[27/97] 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)
[28/97] Compiling OpenAPIRuntime FoundationExtensions.swift
[29/97] Compiling OpenAPIRuntime ParameterStyles.swift
[38/97] Compiling OpenAPIRuntime ServerError.swift
[39/105] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[40/105] Compiling HTTPFieldTypes HTTPContentRangeField.swift
[41/105] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[42/105] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[43/105] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[44/105] Compiling HTTPFieldTypes HTTPRange.swift
[45/105] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[46/105] Compiling OpenAPIRuntime CodableExtensions.swift
[47/105] Compiling OpenAPIRuntime Configuration.swift
[48/105] Compiling OpenAPIRuntime Converter+Client.swift
[49/105] Compiling OpenAPIRuntime Converter+Common.swift
[50/105] Compiling OpenAPIRuntime Converter+Server.swift
[51/105] Compiling OpenAPIRuntime Converter.swift
[52/105] Compiling OpenAPIRuntime CurrencyExtensions.swift
[53/105] Compiling OpenAPIRuntime ErrorExtensions.swift
[54/105] Emitting module OpenAPIRuntime
[55/105] Compiling OpenAPIRuntime Acceptable.swift
[56/105] Compiling OpenAPIRuntime Base64EncodedData.swift
[57/105] Compiling OpenAPIRuntime ByteUtilities.swift
[58/105] Compiling OpenAPIRuntime ContentDisposition.swift
[59/105] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[60/105] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[61/105] Compiling OpenAPIRuntime OpenAPIValue.swift
[62/105] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[63/105] Compiling OpenAPIRuntime UndocumentedPayload.swift
[64/105] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[65/105] Emitting module HTTPTypesFoundation
BUILD FAILURE 6.0 linux