Build Information
Failed to build ASN1Kit, reference 1.3.1 (09df89
), with Swift 6.0 for Linux on 1 Dec 2024 11:21:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/gematik/ASN1Kit.git
Reference: 1.3.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/gematik/ASN1Kit
* tag 1.3.1 -> FETCH_HEAD
HEAD is now at 09df895 Set access level of func hexString() to internal (was erroneously public) (#30)
Cloned https://github.com/gematik/ASN1Kit.git
Revision (git rev-parse @):
09df8959217517065d7022061cb36a4915430150
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gematik/ASN1Kit.git at 1.3.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/gematik/ASN1Kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 http://github.com/Carthage/Commandant
Fetching https://github.com/apple/swift-docc-plugin
[1/2323] Fetching commandant
[164/4361] Fetching commandant, swift-docc-plugin
Fetched http://github.com/Carthage/Commandant from cache (0.26s)
[1957/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.33s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (0.53s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.53s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.31s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.51s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for http://github.com/Carthage/Commandant
Working copy of http://github.com/Carthage/Commandant resolved at 0.18.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/11] Write sources
[5/11] Write swift-version-24593BA9C3E375BF.txt
[7/47] Emitting module ASN1Kit
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:23:16: warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | extension Date: ASN1CodableType {
23 | static let utcTimeFormatter: ASN1DateFormatter = {
| |- warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utcTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | let encodingFormatter = DateFormatter()
25 | encodingFormatter.calendar = Calendar(identifier: .iso8601)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:39:16: warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
37 | }()
38 |
39 | static let generalizedTimeFormatter: ASN1DateFormatter = {
| |- warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'generalizedTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | let encodingFormatter = DateFormatter()
41 | encodingFormatter.calendar = Calendar(identifier: .iso8601)
[8/50] Compiling Commandant Result+Additions.swift
[9/51] Compiling Commandant OrderedSet.swift
[10/51] Compiling Commandant Switch.swift
[11/51] Compiling Commandant Option.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Option.swift:239:32: error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
237 | let components = unwrappedStringValue.split(
238 | omittingEmptySubsequences: true,
239 | whereSeparator: [",", " "].contains
| `- error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
240 | )
241 | var resultValues: [T] = []
_StringProcessing.Collection:3:17: note: where 'C' = 'String.Element' (aka 'Character')
1 | extension Collection where Self.Element : Equatable {
2 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 | public func contains<C>(_ other: C) -> Bool where C : Collection, Self.Element == C.Element
| `- note: where 'C' = 'String.Element' (aka 'Character')
4 | }
[12/51] Compiling ASN1Kit ASN1Int.swift
[13/51] Compiling ASN1Kit ASN1Object.swift
[14/51] Compiling ASN1Kit ASN1Tag.swift
[15/51] Compiling ASN1Kit DataScanner.swift
[16/51] Compiling ASN1Kit ASN1Data.swift
[17/51] Compiling ASN1Kit ASN1DecodedTag.swift
[18/51] Compiling ASN1Kit ASN1Decoder.swift
[19/51] Compiling ASN1Kit ASN1Error.swift
[20/51] Compiling Commandant HelpCommand.swift
[22/51] Compiling ASN1Kit Array+ASN1Encoding.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:23:16: warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | extension Date: ASN1CodableType {
23 | static let utcTimeFormatter: ASN1DateFormatter = {
| |- warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utcTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | let encodingFormatter = DateFormatter()
25 | encodingFormatter.calendar = Calendar(identifier: .iso8601)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:39:16: warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
37 | }()
38 |
39 | static let generalizedTimeFormatter: ASN1DateFormatter = {
| |- warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'generalizedTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | let encodingFormatter = DateFormatter()
41 | encodingFormatter.calendar = Calendar(identifier: .iso8601)
[24/51] Compiling ASN1Kit Bool+ASN1Encoding.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:23:16: warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | extension Date: ASN1CodableType {
23 | static let utcTimeFormatter: ASN1DateFormatter = {
| |- warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utcTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | let encodingFormatter = DateFormatter()
25 | encodingFormatter.calendar = Calendar(identifier: .iso8601)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:39:16: warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
37 | }()
38 |
39 | static let generalizedTimeFormatter: ASN1DateFormatter = {
| |- warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'generalizedTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | let encodingFormatter = DateFormatter()
41 | encodingFormatter.calendar = Calendar(identifier: .iso8601)
[25/51] Compiling ASN1Kit Data+ASN1Encoding.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:23:16: warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | extension Date: ASN1CodableType {
23 | static let utcTimeFormatter: ASN1DateFormatter = {
| |- warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utcTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | let encodingFormatter = DateFormatter()
25 | encodingFormatter.calendar = Calendar(identifier: .iso8601)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:39:16: warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
37 | }()
38 |
39 | static let generalizedTimeFormatter: ASN1DateFormatter = {
| |- warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'generalizedTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | let encodingFormatter = DateFormatter()
41 | encodingFormatter.calendar = Calendar(identifier: .iso8601)
[26/51] Compiling ASN1Kit Date+ASN1Encoding.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:23:16: warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | extension Date: ASN1CodableType {
23 | static let utcTimeFormatter: ASN1DateFormatter = {
| |- warning: static property 'utcTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utcTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | let encodingFormatter = DateFormatter()
25 | encodingFormatter.calendar = Calendar(identifier: .iso8601)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ASN1Kit/encodable/Date+ASN1Encoding.swift:39:16: warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
37 | }()
38 |
39 | static let generalizedTimeFormatter: ASN1DateFormatter = {
| |- warning: static property 'generalizedTimeFormatter' is not concurrency-safe because non-'Sendable' type 'ASN1DateFormatter' (aka '((Date) -> String, (String) -> Optional<Date>)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'generalizedTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | let encodingFormatter = DateFormatter()
41 | encodingFormatter.calendar = Calendar(identifier: .iso8601)
[27/51] Compiling ASN1Kit Data+Hex.swift
[28/51] Compiling ASN1Kit ObjectIdentifier.swift
[29/51] Compiling ASN1Kit ASN1CodableType.swift
[30/51] Compiling ASN1Kit ASN1Object+Encoding.swift
[31/51] Compiling ASN1Kit OutputStream+UInt8.swift
[32/51] Compiling ASN1Kit String+Subscript.swift
[33/51] Compiling ASN1Kit UInt+TagNo.swift
[34/51] Compiling Commandant Errors.swift
[37/51] Emitting module Commandant
[38/51] Compiling ASN1Kit ASN1DecodedTag+Encoding.swift
[39/51] Compiling ASN1Kit ASN1Object+Subscript.swift
[40/51] Compiling ASN1Kit ASN1Primitive+Description.swift
[41/51] Compiling ASN1Kit Data+ASN1Int.swift
[42/51] Compiling ASN1Kit Data+UInt.swift
[43/51] Compiling ASN1Kit Int+Length.swift
[44/51] Compiling ASN1Kit GeneralizedTimeDateFormatter.swift
[45/51] Compiling ASN1Kit Int+ASN1Encoding.swift
[46/51] Compiling ASN1Kit String+ASN1Encoding.swift
BUILD FAILURE 6.0 linux