Build Information
Successful build of ThirtyTo with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/ThirtyTo.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/brightdigit/ThirtyTo
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9bbab80 Fix typo in README.md (#34)
Cloned https://github.com/brightdigit/ThirtyTo.git
Revision (git rev-parse @):
9bbab8048f7b22561a50be445a7767be316fa34c
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/brightdigit/ThirtyTo.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/brightdigit/ThirtyTo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/25] Emitting module ThirtyTo
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordDecodingError.swift:24:14: warning: stored property 'details' of 'Sendable'-conforming struct 'Base32CrockfordDecodingError' has non-sendable type 'Base32CrockfordDecodingError.Details'; this is an error in the Swift 6 language mode
4 | public struct Base32CrockfordDecodingError: Error {
5 | /// Type of error which occured
6 | public enum Details {
| `- note: consider making enum 'Details' conform to the 'Sendable' protocol
7 | /// Mismatch checksum.
8 | /// - Parameter checksum: Expected checksum value.
:
22 |
23 | /// The details of the type of error.
24 | public let details: Details
| `- warning: stored property 'details' of 'Sendable'-conforming struct 'Base32CrockfordDecodingError' has non-sendable type 'Base32CrockfordDecodingError.Details'; this is an error in the Swift 6 language mode
25 |
26 | private init(source: String, details: Base32CrockfordDecodingError.Details) {
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordDecodingOptions.swift:6:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordDecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Options for decoding a Base32Crockford String.
4 | public struct Base32CrockfordDecodingOptions {
| `- note: consider making struct 'Base32CrockfordDecodingOptions' conform to the 'Sendable' protocol
5 | /// Default options.
6 | public static let none = Base32CrockfordDecodingOptions(withChecksum: false)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordDecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
7 |
8 | /// Whether to include a checksum character
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordEncoding.swift:6:21: warning: static property 'encoding' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Encoder and Decoder for Base32Crockford.
4 | public struct Base32CrockfordEncoding {
| `- note: consider making struct 'Base32CrockfordEncoding' conform to the 'Sendable' protocol
5 | /// Shared encoding object.
6 | public static let encoding = Base32CrockfordEncoding()
| |- warning: static property 'encoding' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encoding' 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
7 |
8 | private func validate(
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordEncodingOptions.swift:21:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Options on encoding `Data` as String in Base32Crockford.
4 | public struct Base32CrockfordEncodingOptions {
| `- note: consider making struct 'Base32CrockfordEncodingOptions' conform to the 'Sendable' protocol
5 | /// Options for grouping characters based on a group maximum length.
6 | public struct GroupingOptions {
:
19 |
20 | /// Default encoding options.
21 | public static let none = Base32CrockfordEncodingOptions(withChecksum: false)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
22 |
23 | /// Whether to include a checksum character.
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Factory/Identifier.swift:27:21: warning: static property 'factory' is not concurrency-safe because non-'Sendable' type 'any IdentifierFactory' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// Object for creating different types of identiifiers.
27 | public static let factory: IdentifierFactory = ComposableIdentifierFactory()
| |- warning: static property 'factory' is not concurrency-safe because non-'Sendable' type 'any IdentifierFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'factory' 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
28 |
29 | /// Creates the default `RandomDataGenerator` based on the operating system.
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Factory/IdentifierFactory.swift:2:17: note: protocol 'IdentifierFactory' does not conform to the 'Sendable' protocol
1 | /// Factory object for creating identifiers.
2 | public protocol IdentifierFactory {
| `- note: protocol 'IdentifierFactory' does not conform to the 'Sendable' protocol
3 | /// Creates an identifier of a speciifc type based on the specifications.
4 | /// - Parameter specification: The specifications for the identifier.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Factory/Identifier.swift:32:21: warning: static property 'defaultRandomGenerator' is not concurrency-safe because non-'Sendable' type '() -> any RandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// - Returns: For Apple OSes, this uses `SecRandomCopyBytes`
31 | /// otherwise it uses `SystemRandomNumberGenerator`.
32 | public static let defaultRandomGenerator = Data.defaultRandomGenerator
| |- warning: static property 'defaultRandomGenerator' is not concurrency-safe because non-'Sendable' type '() -> any RandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRandomGenerator' 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
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Identifiers/ULID.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ULID.Specifications' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Specifications for creating the ULID.
18 | public enum Specifications {
| `- note: consider making enum 'Specifications' conform to the 'Sendable' protocol
19 | /// Use the specific data.
20 | case data(Data)
:
24 | /// The default specifications which use the current time
25 | /// and the ``Identifier/defaultRandomGenerator``.
26 | public static let `default`: Specifications = .parts(nil, .random(nil))
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ULID.Specifications' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Random/SecRandomDataGenerator.swift:9:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SecRandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Uses `SecRandomCopyBytes` to generate a random `Data` object.
6 | public struct SecRandomDataGenerator: RandomDataGenerator {
| `- note: consider making struct 'SecRandomDataGenerator' conform to the 'Sendable' protocol
7 | /// ``SecRandomDataGenerator`` does not need to be created.
8 | /// Just use this static instance.
9 | public static let shared = SecRandomDataGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SecRandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
10 |
11 | private init() {}
[4/27] Compiling ThirtyTo RandomDataGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Random/SecRandomDataGenerator.swift:9:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SecRandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Uses `SecRandomCopyBytes` to generate a random `Data` object.
6 | public struct SecRandomDataGenerator: RandomDataGenerator {
| `- note: consider making struct 'SecRandomDataGenerator' conform to the 'Sendable' protocol
7 | /// ``SecRandomDataGenerator`` does not need to be created.
8 | /// Just use this static instance.
9 | public static let shared = SecRandomDataGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SecRandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
10 |
11 | private init() {}
[5/27] Compiling ThirtyTo SecRandomDataGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Random/SecRandomDataGenerator.swift:9:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SecRandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Uses `SecRandomCopyBytes` to generate a random `Data` object.
6 | public struct SecRandomDataGenerator: RandomDataGenerator {
| `- note: consider making struct 'SecRandomDataGenerator' conform to the 'Sendable' protocol
7 | /// ``SecRandomDataGenerator`` does not need to be created.
8 | /// Just use this static instance.
9 | public static let shared = SecRandomDataGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SecRandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
10 |
11 | private init() {}
[6/27] Compiling ThirtyTo Base32CrockfordDecodingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordDecodingError.swift:24:14: warning: stored property 'details' of 'Sendable'-conforming struct 'Base32CrockfordDecodingError' has non-sendable type 'Base32CrockfordDecodingError.Details'; this is an error in the Swift 6 language mode
4 | public struct Base32CrockfordDecodingError: Error {
5 | /// Type of error which occured
6 | public enum Details {
| `- note: consider making enum 'Details' conform to the 'Sendable' protocol
7 | /// Mismatch checksum.
8 | /// - Parameter checksum: Expected checksum value.
:
22 |
23 | /// The details of the type of error.
24 | public let details: Details
| `- warning: stored property 'details' of 'Sendable'-conforming struct 'Base32CrockfordDecodingError' has non-sendable type 'Base32CrockfordDecodingError.Details'; this is an error in the Swift 6 language mode
25 |
26 | private init(source: String, details: Base32CrockfordDecodingError.Details) {
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordDecodingOptions.swift:6:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordDecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Options for decoding a Base32Crockford String.
4 | public struct Base32CrockfordDecodingOptions {
| `- note: consider making struct 'Base32CrockfordDecodingOptions' conform to the 'Sendable' protocol
5 | /// Default options.
6 | public static let none = Base32CrockfordDecodingOptions(withChecksum: false)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordDecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
7 |
8 | /// Whether to include a checksum character
[7/27] Compiling ThirtyTo Base32CrockfordDecodingOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordDecodingError.swift:24:14: warning: stored property 'details' of 'Sendable'-conforming struct 'Base32CrockfordDecodingError' has non-sendable type 'Base32CrockfordDecodingError.Details'; this is an error in the Swift 6 language mode
4 | public struct Base32CrockfordDecodingError: Error {
5 | /// Type of error which occured
6 | public enum Details {
| `- note: consider making enum 'Details' conform to the 'Sendable' protocol
7 | /// Mismatch checksum.
8 | /// - Parameter checksum: Expected checksum value.
:
22 |
23 | /// The details of the type of error.
24 | public let details: Details
| `- warning: stored property 'details' of 'Sendable'-conforming struct 'Base32CrockfordDecodingError' has non-sendable type 'Base32CrockfordDecodingError.Details'; this is an error in the Swift 6 language mode
25 |
26 | private init(source: String, details: Base32CrockfordDecodingError.Details) {
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordDecodingOptions.swift:6:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordDecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Options for decoding a Base32Crockford String.
4 | public struct Base32CrockfordDecodingOptions {
| `- note: consider making struct 'Base32CrockfordDecodingOptions' conform to the 'Sendable' protocol
5 | /// Default options.
6 | public static let none = Base32CrockfordDecodingOptions(withChecksum: false)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordDecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
7 |
8 | /// Whether to include a checksum character
[8/27] Compiling ThirtyTo Base32CrockfordEncoding+CharacterSets.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordDecodingError.swift:24:14: warning: stored property 'details' of 'Sendable'-conforming struct 'Base32CrockfordDecodingError' has non-sendable type 'Base32CrockfordDecodingError.Details'; this is an error in the Swift 6 language mode
4 | public struct Base32CrockfordDecodingError: Error {
5 | /// Type of error which occured
6 | public enum Details {
| `- note: consider making enum 'Details' conform to the 'Sendable' protocol
7 | /// Mismatch checksum.
8 | /// - Parameter checksum: Expected checksum value.
:
22 |
23 | /// The details of the type of error.
24 | public let details: Details
| `- warning: stored property 'details' of 'Sendable'-conforming struct 'Base32CrockfordDecodingError' has non-sendable type 'Base32CrockfordDecodingError.Details'; this is an error in the Swift 6 language mode
25 |
26 | private init(source: String, details: Base32CrockfordDecodingError.Details) {
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordDecodingOptions.swift:6:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordDecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Options for decoding a Base32Crockford String.
4 | public struct Base32CrockfordDecodingOptions {
| `- note: consider making struct 'Base32CrockfordDecodingOptions' conform to the 'Sendable' protocol
5 | /// Default options.
6 | public static let none = Base32CrockfordDecodingOptions(withChecksum: false)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordDecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
7 |
8 | /// Whether to include a checksum character
[9/27] Compiling ThirtyTo ULID.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Identifiers/ULID.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ULID.Specifications' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Specifications for creating the ULID.
18 | public enum Specifications {
| `- note: consider making enum 'Specifications' conform to the 'Sendable' protocol
19 | /// Use the specific data.
20 | case data(Data)
:
24 | /// The default specifications which use the current time
25 | /// and the ``Identifier/defaultRandomGenerator``.
26 | public static let `default`: Specifications = .parts(nil, .random(nil))
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ULID.Specifications' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
27 | }
28 |
[10/27] Compiling ThirtyTo UUID+ComposableIdentifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Identifiers/ULID.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ULID.Specifications' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Specifications for creating the ULID.
18 | public enum Specifications {
| `- note: consider making enum 'Specifications' conform to the 'Sendable' protocol
19 | /// Use the specific data.
20 | case data(Data)
:
24 | /// The default specifications which use the current time
25 | /// and the ``Identifier/defaultRandomGenerator``.
26 | public static let `default`: Specifications = .parts(nil, .random(nil))
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ULID.Specifications' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
27 | }
28 |
[11/27] Compiling ThirtyTo AnyIdentifierSpecifications.swift
[12/27] Compiling ThirtyTo ComposableIdentifier.swift
[13/27] Compiling ThirtyTo Array.swift
[14/27] Compiling ThirtyTo Data.swift
[15/27] Compiling ThirtyTo Date.swift
[16/27] Compiling ThirtyTo Data+Random.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Random/SecRandomDataGenerator.swift:9:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SecRandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Uses `SecRandomCopyBytes` to generate a random `Data` object.
6 | public struct SecRandomDataGenerator: RandomDataGenerator {
| `- note: consider making struct 'SecRandomDataGenerator' conform to the 'Sendable' protocol
7 | /// ``SecRandomDataGenerator`` does not need to be created.
8 | /// Just use this static instance.
9 | public static let shared = SecRandomDataGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SecRandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
10 |
11 | private init() {}
[17/27] Compiling ThirtyTo NumberedDataGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Random/SecRandomDataGenerator.swift:9:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SecRandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Uses `SecRandomCopyBytes` to generate a random `Data` object.
6 | public struct SecRandomDataGenerator: RandomDataGenerator {
| `- note: consider making struct 'SecRandomDataGenerator' conform to the 'Sendable' protocol
7 | /// ``SecRandomDataGenerator`` does not need to be created.
8 | /// Just use this static instance.
9 | public static let shared = SecRandomDataGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SecRandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
10 |
11 | private init() {}
[18/27] Compiling ThirtyTo Base32CrockfordEncoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordEncoding.swift:6:21: warning: static property 'encoding' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Encoder and Decoder for Base32Crockford.
4 | public struct Base32CrockfordEncoding {
| `- note: consider making struct 'Base32CrockfordEncoding' conform to the 'Sendable' protocol
5 | /// Shared encoding object.
6 | public static let encoding = Base32CrockfordEncoding()
| |- warning: static property 'encoding' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encoding' 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
7 |
8 | private func validate(
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordDecodingOptions.swift:6:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordDecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Options for decoding a Base32Crockford String.
4 | public struct Base32CrockfordDecodingOptions {
| `- note: consider making struct 'Base32CrockfordDecodingOptions' conform to the 'Sendable' protocol
5 | /// Default options.
6 | public static let none = Base32CrockfordDecodingOptions(withChecksum: false)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordDecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
7 |
8 | /// Whether to include a checksum character
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordEncodingOptions.swift:21:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Options on encoding `Data` as String in Base32Crockford.
4 | public struct Base32CrockfordEncodingOptions {
| `- note: consider making struct 'Base32CrockfordEncodingOptions' conform to the 'Sendable' protocol
5 | /// Options for grouping characters based on a group maximum length.
6 | public struct GroupingOptions {
:
19 |
20 | /// Default encoding options.
21 | public static let none = Base32CrockfordEncodingOptions(withChecksum: false)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
22 |
23 | /// Whether to include a checksum character.
[19/27] Compiling ThirtyTo Base32CrockfordEncodingOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordEncoding.swift:6:21: warning: static property 'encoding' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Encoder and Decoder for Base32Crockford.
4 | public struct Base32CrockfordEncoding {
| `- note: consider making struct 'Base32CrockfordEncoding' conform to the 'Sendable' protocol
5 | /// Shared encoding object.
6 | public static let encoding = Base32CrockfordEncoding()
| |- warning: static property 'encoding' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encoding' 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
7 |
8 | private func validate(
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordDecodingOptions.swift:6:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordDecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Options for decoding a Base32Crockford String.
4 | public struct Base32CrockfordDecodingOptions {
| `- note: consider making struct 'Base32CrockfordDecodingOptions' conform to the 'Sendable' protocol
5 | /// Default options.
6 | public static let none = Base32CrockfordDecodingOptions(withChecksum: false)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordDecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
7 |
8 | /// Whether to include a checksum character
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordEncodingOptions.swift:21:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Options on encoding `Data` as String in Base32Crockford.
4 | public struct Base32CrockfordEncodingOptions {
| `- note: consider making struct 'Base32CrockfordEncodingOptions' conform to the 'Sendable' protocol
5 | /// Options for grouping characters based on a group maximum length.
6 | public struct GroupingOptions {
:
19 |
20 | /// Default encoding options.
21 | public static let none = Base32CrockfordEncodingOptions(withChecksum: false)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
22 |
23 | /// Whether to include a checksum character.
[20/27] Compiling ThirtyTo Binary.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordEncoding.swift:6:21: warning: static property 'encoding' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Encoder and Decoder for Base32Crockford.
4 | public struct Base32CrockfordEncoding {
| `- note: consider making struct 'Base32CrockfordEncoding' conform to the 'Sendable' protocol
5 | /// Shared encoding object.
6 | public static let encoding = Base32CrockfordEncoding()
| |- warning: static property 'encoding' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'encoding' 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
7 |
8 | private func validate(
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordDecodingOptions.swift:6:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordDecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Options for decoding a Base32Crockford String.
4 | public struct Base32CrockfordDecodingOptions {
| `- note: consider making struct 'Base32CrockfordDecodingOptions' conform to the 'Sendable' protocol
5 | /// Default options.
6 | public static let none = Base32CrockfordDecodingOptions(withChecksum: false)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordDecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
7 |
8 | /// Whether to include a checksum character
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Base32Crockford/Base32CrockfordEncodingOptions.swift:21:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Options on encoding `Data` as String in Base32Crockford.
4 | public struct Base32CrockfordEncodingOptions {
| `- note: consider making struct 'Base32CrockfordEncodingOptions' conform to the 'Sendable' protocol
5 | /// Options for grouping characters based on a group maximum length.
6 | public struct GroupingOptions {
:
19 |
20 | /// Default encoding options.
21 | public static let none = Base32CrockfordEncodingOptions(withChecksum: false)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Base32CrockfordEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
22 |
23 | /// Whether to include a checksum character.
[21/27] Compiling ThirtyTo String.swift
[22/27] Compiling ThirtyTo UUID+Data.swift
[23/27] Compiling ThirtyTo AnyComposableIdentifier.swift
[24/27] Compiling ThirtyTo Identifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Factory/Identifier.swift:27:21: warning: static property 'factory' is not concurrency-safe because non-'Sendable' type 'any IdentifierFactory' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// Object for creating different types of identiifiers.
27 | public static let factory: IdentifierFactory = ComposableIdentifierFactory()
| |- warning: static property 'factory' is not concurrency-safe because non-'Sendable' type 'any IdentifierFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'factory' 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
28 |
29 | /// Creates the default `RandomDataGenerator` based on the operating system.
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Factory/IdentifierFactory.swift:2:17: note: protocol 'IdentifierFactory' does not conform to the 'Sendable' protocol
1 | /// Factory object for creating identifiers.
2 | public protocol IdentifierFactory {
| `- note: protocol 'IdentifierFactory' does not conform to the 'Sendable' protocol
3 | /// Creates an identifier of a speciifc type based on the specifications.
4 | /// - Parameter specification: The specifications for the identifier.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Factory/Identifier.swift:32:21: warning: static property 'defaultRandomGenerator' is not concurrency-safe because non-'Sendable' type '() -> any RandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// - Returns: For Apple OSes, this uses `SecRandomCopyBytes`
31 | /// otherwise it uses `SystemRandomNumberGenerator`.
32 | public static let defaultRandomGenerator = Data.defaultRandomGenerator
| |- warning: static property 'defaultRandomGenerator' is not concurrency-safe because non-'Sendable' type '() -> any RandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRandomGenerator' 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
33 | }
34 |
[25/27] Compiling ThirtyTo IdentifierFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Factory/Identifier.swift:27:21: warning: static property 'factory' is not concurrency-safe because non-'Sendable' type 'any IdentifierFactory' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// Object for creating different types of identiifiers.
27 | public static let factory: IdentifierFactory = ComposableIdentifierFactory()
| |- warning: static property 'factory' is not concurrency-safe because non-'Sendable' type 'any IdentifierFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'factory' 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
28 |
29 | /// Creates the default `RandomDataGenerator` based on the operating system.
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Factory/IdentifierFactory.swift:2:17: note: protocol 'IdentifierFactory' does not conform to the 'Sendable' protocol
1 | /// Factory object for creating identifiers.
2 | public protocol IdentifierFactory {
| `- note: protocol 'IdentifierFactory' does not conform to the 'Sendable' protocol
3 | /// Creates an identifier of a speciifc type based on the specifications.
4 | /// - Parameter specification: The specifications for the identifier.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ThirtyTo/Factory/Identifier.swift:32:21: warning: static property 'defaultRandomGenerator' is not concurrency-safe because non-'Sendable' type '() -> any RandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
30 | /// - Returns: For Apple OSes, this uses `SecRandomCopyBytes`
31 | /// otherwise it uses `SystemRandomNumberGenerator`.
32 | public static let defaultRandomGenerator = Data.defaultRandomGenerator
| |- warning: static property 'defaultRandomGenerator' is not concurrency-safe because non-'Sendable' type '() -> any RandomDataGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRandomGenerator' 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
33 | }
34 |
[26/27] Compiling ThirtyTo SizeSpecification.swift
[27/27] Compiling ThirtyTo UDID.swift
Build complete! (24.41s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ThirtyTo",
"name" : "ThirtyTo",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ThirtyTo",
"targets" : [
"ThirtyTo"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ThirtyToTests",
"module_type" : "SwiftTarget",
"name" : "ThirtyToTests",
"path" : "Tests/ThirtyToTests",
"sources" : [
"AnyComposableIdentifierTests.swift",
"Base32CrockfordTests.swift",
"BinaryTests.swift",
"Extensions/Data.swift",
"Extensions/MockNumberGenerator.swift",
"Extensions/MockRandomGenerator.swift",
"Extensions/String.swift",
"Extensions/UInt128+Data.swift",
"Extensions/UInt128.swift",
"IdentifierTests.swift",
"RandomDataTests.swift",
"SizeSpecificationTests.swift",
"TimestampDataTests.swift",
"ULIDTests.swift"
],
"target_dependencies" : [
"ThirtyTo"
],
"type" : "test"
},
{
"c99name" : "ThirtyTo",
"module_type" : "SwiftTarget",
"name" : "ThirtyTo",
"path" : "Sources/ThirtyTo",
"product_memberships" : [
"ThirtyTo"
],
"sources" : [
"Base32Crockford/Base32CrockfordDecodingError.swift",
"Base32Crockford/Base32CrockfordDecodingOptions.swift",
"Base32Crockford/Base32CrockfordEncoding+CharacterSets.swift",
"Base32Crockford/Base32CrockfordEncoding.swift",
"Base32Crockford/Base32CrockfordEncodingOptions.swift",
"Base32Crockford/Binary.swift",
"Extensions/Array.swift",
"Extensions/Data.swift",
"Extensions/Date.swift",
"Extensions/String.swift",
"Extensions/UUID+Data.swift",
"Factory/AnyComposableIdentifier.swift",
"Factory/AnyIdentifierSpecifications.swift",
"Factory/ComposableIdentifier.swift",
"Factory/Identifier.swift",
"Factory/IdentifierFactory.swift",
"Factory/SizeSpecification.swift",
"Identifiers/UDID.swift",
"Identifiers/ULID.swift",
"Identifiers/UUID+ComposableIdentifier.swift",
"Random/Data+Random.swift",
"Random/NumberedDataGenerator.swift",
"Random/RandomDataGenerator.swift",
"Random/SecRandomDataGenerator.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.