Build Information
Successful build of ThirtyTo, reference 1.0.0 (ffb19f
), with Swift 6.0 for Linux on 2 Nov 2024 21:38:31 UTC.
Swift 6 data race errors: 7
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/ThirtyTo.git
Reference: 1.0.0
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/brightdigit/ThirtyTo
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at ffb19ff Merge pull request #24 from brightdigit/v1.0.0
Cloned https://github.com/brightdigit/ThirtyTo.git
Revision (git rev-parse @):
ffb19ffc6f2e5f809cb8947974bdd970ef6e8a1e
SUCCESS checkout https://github.com/brightdigit/ThirtyTo.git at 1.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/brightdigit/ThirtyTo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/24] Emitting module ThirtyTo
/host/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) {
/host/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
/host/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(
/host/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.
/host/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.
/host/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'
/host/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 |
/host/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 |
[4/27] Compiling ThirtyTo Base32CrockfordEncoding.swift
/host/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(
/host/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
/host/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.
[5/27] Compiling ThirtyTo Base32CrockfordEncodingOptions.swift
/host/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(
/host/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
/host/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.
[6/27] Compiling ThirtyTo Binary.swift
/host/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(
/host/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
/host/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.
[7/27] Compiling ThirtyTo ULID.swift
/host/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 |
[8/27] Compiling ThirtyTo UUID+ComposableIdentifier.swift
/host/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 |
[9/27] Compiling ThirtyTo Data+Random.swift
/host/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 IdentifierFactory.swift
[11/27] Compiling ThirtyTo SizeSpecification.swift
[12/27] Compiling ThirtyTo UDID.swift
[13/27] Compiling ThirtyTo String.swift
[14/27] Compiling ThirtyTo UUID+Data.swift
[15/27] Compiling ThirtyTo AnyComposableIdentifier.swift
[16/27] Compiling ThirtyTo Array.swift
[17/27] Compiling ThirtyTo Data.swift
[18/27] Compiling ThirtyTo Date.swift
[19/27] Compiling ThirtyTo Base32CrockfordDecodingError.swift
/host/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) {
/host/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
[20/27] Compiling ThirtyTo Base32CrockfordDecodingOptions.swift
/host/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) {
/host/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
[21/27] Compiling ThirtyTo Base32CrockfordEncoding+CharacterSets.swift
/host/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) {
/host/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
[22/27] Compiling ThirtyTo AnyIdentifierSpecifications.swift
/host/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.
/host/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'
/host/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 |
[23/27] Compiling ThirtyTo ComposableIdentifier.swift
/host/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.
/host/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'
/host/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 |
[24/27] Compiling ThirtyTo Identifier.swift
/host/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.
/host/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'
/host/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 NumberedDataGenerator.swift
[26/27] Compiling ThirtyTo RandomDataGenerator.swift
[27/27] Compiling ThirtyTo SecRandomDataGenerator.swift
Build complete! (13.14s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ThirtyTo",
"name" : "ThirtyTo",
"path" : "/host/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"
}
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
Done.