Build Information
Successful build of ASN1, reference 2.7.0 (e38d1b
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 19:30:29 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/ASN1.git
Reference: 2.7.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/leif-ibsen/ASN1
* tag 2.7.0 -> FETCH_HEAD
HEAD is now at e38d1b8 Release 2.7.0
Cloned https://github.com/leif-ibsen/ASN1.git
Revision (git rev-parse @):
e38d1b8b43d8b53ffadde9836f34289176bb7a0c
SUCCESS checkout https://github.com/leif-ibsen/ASN1.git at 2.7.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/leif-ibsen/ASN1.git
https://github.com/leif-ibsen/ASN1.git
{
"dependencies" : [
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "1.20.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/leif-ibsen/BigInt"
}
],
"manifest_display_name" : "ASN1",
"name" : "ASN1",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ASN1",
"targets" : [
"ASN1"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ASN1Tests",
"module_type" : "SwiftTarget",
"name" : "ASN1Tests",
"path" : "Tests/ASN1Tests",
"sources" : [
"ASN1Tests.swift",
"ErrorTests.swift",
"PerformanceTest.swift"
],
"target_dependencies" : [
"ASN1"
],
"type" : "test"
},
{
"c99name" : "ASN1",
"module_type" : "SwiftTarget",
"name" : "ASN1",
"path" : "Sources/ASN1",
"product_dependencies" : [
"BigInt"
],
"product_memberships" : [
"ASN1"
],
"sources" : [
"ASN1.swift",
"ASN1BMPString.swift",
"ASN1BitString.swift",
"ASN1Boolean.swift",
"ASN1Collection.swift",
"ASN1Ctx.swift",
"ASN1Exception.swift",
"ASN1GeneralizedTime.swift",
"ASN1IA5String.swift",
"ASN1Integer.swift",
"ASN1Null.swift",
"ASN1ObjectIdentifier.swift",
"ASN1OctetString.swift",
"ASN1PrintableString.swift",
"ASN1Sequence.swift",
"ASN1Set.swift",
"ASN1SimpleType.swift",
"ASN1T61String.swift",
"ASN1Time.swift",
"ASN1UTCTime.swift",
"ASN1UTF8String.swift",
"InputStream.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/15] Compiling BigInt GCD.swift
[5/15] Compiling BigInt Factorial.swift
[6/15] Compiling BigInt Karatsuba.swift
[7/16] Compiling BigInt BitSieve.swift
[8/16] Compiling BigInt BurnikelZiegler.swift
[9/16] Compiling BigInt ExpMod.swift
[10/16] Compiling BigInt CRT.swift
[11/16] Compiling BigInt FFT.swift
[12/16] Compiling BigInt Limbs.swift
[13/16] Compiling BigInt ToomCook.swift
[14/16] Emitting module BigInt
[15/16] Compiling BigInt BigFrac.swift
[16/16] Compiling BigInt BigInt.swift
[17/37] Emitting module ASN1
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1.swift:24:23: warning: static property 'NULL' is not concurrency-safe because non-'Sendable' type 'ASN1Null' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// `ASN1` null value
24 | public static let NULL = ASN1Null()
| |- warning: static property 'NULL' is not concurrency-safe because non-'Sendable' type 'ASN1Null' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NULL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// `ASN1` integer 0
26 | public static let ZERO = ASN1Integer(BInt.ZERO)
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1Null.swift:10:14: note: class 'ASN1Null' does not conform to the 'Sendable' protocol
8 |
9 | /// The `ASN1` Null class
10 | public class ASN1Null: ASN1, CustomStringConvertible {
| `- note: class 'ASN1Null' does not conform to the 'Sendable' protocol
11 |
12 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1.swift:26:23: warning: static property 'ZERO' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
24 | public static let NULL = ASN1Null()
25 | /// `ASN1` integer 0
26 | public static let ZERO = ASN1Integer(BInt.ZERO)
| |- warning: static property 'ZERO' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ZERO' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | /// `ASN1` integer 1
28 | public static let ONE = ASN1Integer(BInt.ONE)
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1Integer.swift:12:14: note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
10 |
11 | /// The `ASN1` Integer class
12 | public class ASN1Integer: ASN1, CustomStringConvertible {
| `- note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1.swift:28:23: warning: static property 'ONE' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
26 | public static let ZERO = ASN1Integer(BInt.ZERO)
27 | /// `ASN1` integer 1
28 | public static let ONE = ASN1Integer(BInt.ONE)
| |- warning: static property 'ONE' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// `ASN1` Boolean tag = 1
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1Integer.swift:12:14: note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
10 |
11 | /// The `ASN1` Integer class
12 | public class ASN1Integer: ASN1, CustomStringConvertible {
| `- note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Initializers
[18/39] Compiling ASN1 ASN1SimpleType.swift
[19/39] Compiling ASN1 ASN1T61String.swift
[20/39] Compiling ASN1 ASN1Time.swift
[21/39] Compiling ASN1 ASN1UTCTime.swift
[22/39] Compiling ASN1 ASN1IA5String.swift
[23/39] Compiling ASN1 ASN1Integer.swift
[24/39] Compiling ASN1 ASN1Exception.swift
[25/39] Compiling ASN1 ASN1GeneralizedTime.swift
[26/39] Compiling ASN1 ASN1Null.swift
[27/39] Compiling ASN1 ASN1ObjectIdentifier.swift
[28/39] Compiling ASN1 ASN1Boolean.swift
[29/39] Compiling ASN1 ASN1Collection.swift
[30/39] Compiling ASN1 ASN1Ctx.swift
[31/39] Compiling ASN1 ASN1Sequence.swift
[32/39] Compiling ASN1 ASN1Set.swift
[33/39] Compiling ASN1 ASN1OctetString.swift
[34/39] Compiling ASN1 ASN1PrintableString.swift
[35/39] Compiling ASN1 ASN1UTF8String.swift
[36/39] Compiling ASN1 InputStream.swift
[37/39] Compiling ASN1 ASN1.swift
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1.swift:24:23: warning: static property 'NULL' is not concurrency-safe because non-'Sendable' type 'ASN1Null' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// `ASN1` null value
24 | public static let NULL = ASN1Null()
| |- warning: static property 'NULL' is not concurrency-safe because non-'Sendable' type 'ASN1Null' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NULL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// `ASN1` integer 0
26 | public static let ZERO = ASN1Integer(BInt.ZERO)
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1Null.swift:10:14: note: class 'ASN1Null' does not conform to the 'Sendable' protocol
8 |
9 | /// The `ASN1` Null class
10 | public class ASN1Null: ASN1, CustomStringConvertible {
| `- note: class 'ASN1Null' does not conform to the 'Sendable' protocol
11 |
12 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1.swift:26:23: warning: static property 'ZERO' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
24 | public static let NULL = ASN1Null()
25 | /// `ASN1` integer 0
26 | public static let ZERO = ASN1Integer(BInt.ZERO)
| |- warning: static property 'ZERO' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ZERO' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | /// `ASN1` integer 1
28 | public static let ONE = ASN1Integer(BInt.ONE)
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1Integer.swift:12:14: note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
10 |
11 | /// The `ASN1` Integer class
12 | public class ASN1Integer: ASN1, CustomStringConvertible {
| `- note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1.swift:28:23: warning: static property 'ONE' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
26 | public static let ZERO = ASN1Integer(BInt.ZERO)
27 | /// `ASN1` integer 1
28 | public static let ONE = ASN1Integer(BInt.ONE)
| |- warning: static property 'ONE' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// `ASN1` Boolean tag = 1
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1Integer.swift:12:14: note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
10 |
11 | /// The `ASN1` Integer class
12 | public class ASN1Integer: ASN1, CustomStringConvertible {
| `- note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Initializers
[38/39] Compiling ASN1 ASN1BMPString.swift
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1.swift:24:23: warning: static property 'NULL' is not concurrency-safe because non-'Sendable' type 'ASN1Null' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// `ASN1` null value
24 | public static let NULL = ASN1Null()
| |- warning: static property 'NULL' is not concurrency-safe because non-'Sendable' type 'ASN1Null' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NULL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// `ASN1` integer 0
26 | public static let ZERO = ASN1Integer(BInt.ZERO)
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1Null.swift:10:14: note: class 'ASN1Null' does not conform to the 'Sendable' protocol
8 |
9 | /// The `ASN1` Null class
10 | public class ASN1Null: ASN1, CustomStringConvertible {
| `- note: class 'ASN1Null' does not conform to the 'Sendable' protocol
11 |
12 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1.swift:26:23: warning: static property 'ZERO' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
24 | public static let NULL = ASN1Null()
25 | /// `ASN1` integer 0
26 | public static let ZERO = ASN1Integer(BInt.ZERO)
| |- warning: static property 'ZERO' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ZERO' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | /// `ASN1` integer 1
28 | public static let ONE = ASN1Integer(BInt.ONE)
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1Integer.swift:12:14: note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
10 |
11 | /// The `ASN1` Integer class
12 | public class ASN1Integer: ASN1, CustomStringConvertible {
| `- note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1.swift:28:23: warning: static property 'ONE' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
26 | public static let ZERO = ASN1Integer(BInt.ZERO)
27 | /// `ASN1` integer 1
28 | public static let ONE = ASN1Integer(BInt.ONE)
| |- warning: static property 'ONE' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// `ASN1` Boolean tag = 1
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1Integer.swift:12:14: note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
10 |
11 | /// The `ASN1` Integer class
12 | public class ASN1Integer: ASN1, CustomStringConvertible {
| `- note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Initializers
[39/39] Compiling ASN1 ASN1BitString.swift
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1.swift:24:23: warning: static property 'NULL' is not concurrency-safe because non-'Sendable' type 'ASN1Null' may have shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// `ASN1` null value
24 | public static let NULL = ASN1Null()
| |- warning: static property 'NULL' is not concurrency-safe because non-'Sendable' type 'ASN1Null' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'NULL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// `ASN1` integer 0
26 | public static let ZERO = ASN1Integer(BInt.ZERO)
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1Null.swift:10:14: note: class 'ASN1Null' does not conform to the 'Sendable' protocol
8 |
9 | /// The `ASN1` Null class
10 | public class ASN1Null: ASN1, CustomStringConvertible {
| `- note: class 'ASN1Null' does not conform to the 'Sendable' protocol
11 |
12 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1.swift:26:23: warning: static property 'ZERO' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
24 | public static let NULL = ASN1Null()
25 | /// `ASN1` integer 0
26 | public static let ZERO = ASN1Integer(BInt.ZERO)
| |- warning: static property 'ZERO' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ZERO' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | /// `ASN1` integer 1
28 | public static let ONE = ASN1Integer(BInt.ONE)
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1Integer.swift:12:14: note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
10 |
11 | /// The `ASN1` Integer class
12 | public class ASN1Integer: ASN1, CustomStringConvertible {
| `- note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1.swift:28:23: warning: static property 'ONE' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
26 | public static let ZERO = ASN1Integer(BInt.ZERO)
27 | /// `ASN1` integer 1
28 | public static let ONE = ASN1Integer(BInt.ONE)
| |- warning: static property 'ONE' is not concurrency-safe because non-'Sendable' type 'ASN1Integer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ONE' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// `ASN1` Boolean tag = 1
/Users/admin/builder/spi-builder-workspace/Sources/ASN1/ASN1Integer.swift:12:14: note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
10 |
11 | /// The `ASN1` Integer class
12 | public class ASN1Integer: ASN1, CustomStringConvertible {
| `- note: class 'ASN1Integer' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Initializers
Build complete! (10.04s)
Fetching https://github.com/leif-ibsen/BigInt
[1/5516] Fetching bigint
Fetched https://github.com/leif-ibsen/BigInt from cache (1.41s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.21.0 (1.88s)
Creating working copy for https://github.com/leif-ibsen/BigInt
Working copy of https://github.com/leif-ibsen/BigInt resolved at 1.21.0
Build complete.
{
"dependencies" : [
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "1.20.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/leif-ibsen/BigInt"
}
],
"manifest_display_name" : "ASN1",
"name" : "ASN1",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ASN1",
"targets" : [
"ASN1"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ASN1Tests",
"module_type" : "SwiftTarget",
"name" : "ASN1Tests",
"path" : "Tests/ASN1Tests",
"sources" : [
"ASN1Tests.swift",
"ErrorTests.swift",
"PerformanceTest.swift"
],
"target_dependencies" : [
"ASN1"
],
"type" : "test"
},
{
"c99name" : "ASN1",
"module_type" : "SwiftTarget",
"name" : "ASN1",
"path" : "Sources/ASN1",
"product_dependencies" : [
"BigInt"
],
"product_memberships" : [
"ASN1"
],
"sources" : [
"ASN1.swift",
"ASN1BMPString.swift",
"ASN1BitString.swift",
"ASN1Boolean.swift",
"ASN1Collection.swift",
"ASN1Ctx.swift",
"ASN1Exception.swift",
"ASN1GeneralizedTime.swift",
"ASN1IA5String.swift",
"ASN1Integer.swift",
"ASN1Null.swift",
"ASN1ObjectIdentifier.swift",
"ASN1OctetString.swift",
"ASN1PrintableString.swift",
"ASN1Sequence.swift",
"ASN1Set.swift",
"ASN1SimpleType.swift",
"ASN1T61String.swift",
"ASN1Time.swift",
"ASN1UTCTime.swift",
"ASN1UTF8String.swift",
"InputStream.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.