Build Information
Failed to build ASN1Kit, reference 1.3.1 (09df89
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 11:28:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
Fetching http://github.com/Carthage/Commandant
[1/2038] Fetching swift-docc-plugin
[226/4361] Fetching swift-docc-plugin, commandant
[1574/7549] Fetching swift-docc-plugin, commandant, swift-docc-symbolkit
Fetched http://github.com/Carthage/Commandant from cache (1.40s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.40s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.40s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.59s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (0.57s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.62s)
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "asn1kit",
"name": "ASN1Kit",
"url": "https://github.com/gematik/ASN1Kit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ASN1Kit",
"dependencies": [
{
"identity": "commandant",
"name": "Commandant",
"url": "http://github.com/Carthage/Commandant",
"version": "0.18.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Commandant",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/gematik/ASN1Kit.git
[1/1208] Fetching asn1kit
Fetched https://github.com/gematik/ASN1Kit.git from cache (0.95s)
Fetching http://github.com/Carthage/Commandant from cache
Fetched http://github.com/Carthage/Commandant from cache (0.65s)
Computing version for http://github.com/Carthage/Commandant
Computed http://github.com/Carthage/Commandant at 0.18.0 (0.02s)
Creating working copy for https://github.com/gematik/ASN1Kit.git
Working copy of https://github.com/gematik/ASN1Kit.git resolved at 1.3.1 (09df895)
Creating working copy for http://github.com/Carthage/Commandant
Working copy of http://github.com/Carthage/Commandant resolved at 0.18.0
Found 1 product dependencies
- Commandant
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/gematik/ASN1Kit.git
{
"dependencies" : [
{
"identity" : "commandant",
"requirement" : {
"range" : [
{
"lower_bound" : "0.17.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "http://github.com/Carthage/Commandant"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "ASN1Kit",
"name" : "ASN1Kit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "ASN1Kit",
"targets" : [
"ASN1Kit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CLI",
"targets" : [
"CLI",
"ASN1Kit"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CLI",
"module_type" : "SwiftTarget",
"name" : "CLI",
"path" : "Sources/CLI",
"product_dependencies" : [
"Commandant"
],
"product_memberships" : [
"CLI"
],
"sources" : [
"Helper/Data+Hex.swift",
"ParseCommand.swift",
"VersionCommand.swift",
"main.swift"
],
"target_dependencies" : [
"ASN1Kit"
],
"type" : "executable"
},
{
"c99name" : "ASN1Kit",
"module_type" : "SwiftTarget",
"name" : "ASN1Kit",
"path" : "Sources/ASN1Kit",
"product_memberships" : [
"ASN1Kit",
"CLI"
],
"sources" : [
"ASN1Data.swift",
"ASN1DecodedTag.swift",
"ASN1Decoder.swift",
"ASN1Error.swift",
"ASN1Int.swift",
"ASN1Object.swift",
"ASN1Tag.swift",
"DataScanner.swift",
"Helper/Data+Hex.swift",
"ObjectIdentifier.swift",
"encodable/ASN1CodableType.swift",
"encodable/ASN1Object+Encoding.swift",
"encodable/Array+ASN1Encoding.swift",
"encodable/Bool+ASN1Encoding.swift",
"encodable/Data+ASN1Encoding.swift",
"encodable/Date+ASN1Encoding.swift",
"encodable/GeneralizedTimeDateFormatter.swift",
"encodable/Int+ASN1Encoding.swift",
"encodable/String+ASN1Encoding.swift",
"extension/ASN1DecodedTag+Encoding.swift",
"extension/ASN1Object+Subscript.swift",
"extension/ASN1Primitive+Description.swift",
"extension/Data+ASN1Int.swift",
"extension/Data+UInt.swift",
"extension/Int+Length.swift",
"extension/OutputStream+UInt8.swift",
"extension/String+Subscript.swift",
"extension/UInt+TagNo.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/10] Write sources
[4/10] Write CLI-entitlement.plist
[5/10] Write sources
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/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'
/Users/admin/builder/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'
/Users/admin/builder/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)
[9/49] Compiling Commandant OrderedSet.swift
[10/49] Compiling Commandant Result+Additions.swift
[11/50] Compiling Commandant Switch.swift
[12/50] Compiling Commandant Command.swift
[13/50] Compiling Commandant HelpCommand.swift
[14/50] Compiling Commandant Option.swift
/Users/admin/builder/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 | }
[15/50] Compiling ASN1Kit String+Subscript.swift
[16/50] Compiling ASN1Kit UInt+TagNo.swift
[17/50] Compiling ASN1Kit Array+ASN1Encoding.swift
[18/50] Compiling ASN1Kit Bool+ASN1Encoding.swift
[19/50] Compiling ASN1Kit Data+ASN1Encoding.swift
[20/50] Compiling ASN1Kit String+ASN1Encoding.swift
[21/50] Compiling ASN1Kit ASN1DecodedTag+Encoding.swift
[22/50] Compiling ASN1Kit ASN1Object+Subscript.swift
[23/50] Compiling ASN1Kit Int+Length.swift
[24/50] Compiling ASN1Kit OutputStream+UInt8.swift
[25/50] Compiling Commandant Argument.swift
[26/50] Compiling Commandant ArgumentParser.swift
[27/50] Compiling Commandant ArgumentProtocol.swift
[28/50] Compiling Commandant Errors.swift
[29/50] Emitting module Commandant
[30/50] Compiling ASN1Kit ASN1Error.swift
[31/50] Compiling ASN1Kit ASN1Int.swift
[32/50] Compiling ASN1Kit ASN1Object.swift
[33/50] 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'
/Users/admin/builder/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'
/Users/admin/builder/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)
[34/50] Compiling ASN1Kit GeneralizedTimeDateFormatter.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'
/Users/admin/builder/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'
/Users/admin/builder/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)
[35/50] Compiling ASN1Kit Int+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'
/Users/admin/builder/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'
/Users/admin/builder/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)
BUILD FAILURE 6.0 macosSpm