Build Information
Failed to build swift-openapi-security-schemes, reference 0.2.1 (bf82e5
), with Swift 6.0 for Linux on 2 Dec 2024 01:29:34 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.0-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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.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.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-0":/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 -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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
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/edonv/swift-http-field-types.git
Fetching https://github.com/apple/swift-openapi-generator
Fetching https://github.com/apple/swift-openapi-runtime
[1/390] Fetching swift-http-field-types
[239/1061] Fetching swift-http-field-types, swift-http-types
[1062/6423] Fetching swift-http-field-types, swift-http-types, swift-openapi-runtime
Fetched https://github.com/apple/swift-http-types from cache (0.21s)
[2267/5752] Fetching swift-http-field-types, swift-openapi-runtime
[5753/20032] Fetching swift-http-field-types, swift-openapi-runtime, swift-openapi-generator
Fetched https://github.com/edonv/swift-http-field-types.git from cache (0.55s)
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.55s)
Fetched https://github.com/apple/swift-openapi-generator from cache (0.56s)
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 (0.76s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.1 (1.87s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.5.0 (0.49s)
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-algorithms
[1/5591] Fetching swift-algorithms
[5313/15533] Fetching swift-algorithms, yams
[6189/31136] Fetching swift-algorithms, yams, swift-collections
[7169/43531] Fetching swift-algorithms, yams, swift-collections, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms from cache (0.39s)
[2708/37940] Fetching yams, swift-collections, swift-argument-parser
[26548/95635] Fetching yams, swift-collections, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-argument-parser from cache (1.27s)
[58432/83240] Fetching yams, swift-collections, openapikit
Fetched https://github.com/apple/swift-collections from cache (1.30s)
[43983/67637] Fetching yams, openapikit
Fetched https://github.com/jpsim/Yams from cache (1.31s)
[34617/57695] Fetching openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (2.76s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.3.0 (0.57s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.1.4 (0.81s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.0 (0.44s)
Fetching https://github.com/apple/swift-numerics.git
[1/5576] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.45s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.40s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.7.0 (0.40s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.1.3 (0.45s)
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.1
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-openapi-generator
Working copy of https://github.com/apple/swift-openapi-generator resolved at 1.5.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.7.0
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.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/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.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.5.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.1.3
[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 HTTPParsedFields.swift
[11/18] Compiling HTTPTypes HTTPRequest.swift
[12/18] Compiling HTTPTypes HTTPResponse.swift
[13/18] Compiling HTTPTypes ISOLatin1String.swift
[14/18] Compiling HTTPTypes NIOLock.swift
[15/18] Compiling HTTPTypes HTTPFieldName.swift
[16/18] Emitting module HTTPTypes
[17/18] Compiling HTTPTypes HTTPFields.swift
[18/18] Compiling HTTPTypes HTTPField.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/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)
[21/99] Compiling OpenAPIRuntime ByteUtilities.swift
[22/99] Compiling OpenAPIRuntime ContentDisposition.swift
[23/99] Compiling OpenAPIRuntime Acceptable.swift
[24/99] Compiling OpenAPIRuntime Base64EncodedData.swift
[25/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)
[26/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)
[27/99] Compiling HTTPFieldTypes HTTPRange+Unit.swift
[28/99] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[29/99] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[30/99] Compiling OpenAPIRuntime OpenAPIValue.swift
[31/99] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[32/99] Compiling HTTPFieldTypes HTTPContentRangeField.swift
[33/99] Compiling HTTPFieldTypes HTTPRangeField.swift
[34/99] Compiling HTTPFieldTypes HTTPRange.swift
[35/99] Emitting module HTTPTypesFoundation
[36/99] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[37/99] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
BUILD FAILURE 6.0 linux