Build Information
Successful build of Guise, reference master (1ebe0b
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 19:32:14 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Prosumma/Guise.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Prosumma/Guise
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 1ebe0b8 @discardableResult
Cloned https://github.com/Prosumma/Guise.git
Revision (git rev-parse @):
1ebe0b82624e821453113b6d8f66a5a4bcbe0a30
SUCCESS checkout https://github.com/Prosumma/Guise.git at master
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-atomics
[1/1569] Fetching swift-atomics
[394/17044] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics from cache (1.22s)
[929/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (2.05s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.0.3 (0.75s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.0.2 (0.72s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.0.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "guise",
"name": "Guise",
"url": "https://github.com/Prosumma/Guise.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Guise",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Prosumma/Guise.git
[1/3192] Fetching guise
Fetched https://github.com/Prosumma/Guise.git from cache (1.00s)
Fetching https://github.com/apple/swift-atomics from cache
Fetching https://github.com/apple/swift-collections from cache
Fetched https://github.com/apple/swift-collections from cache (0.57s)
Fetched https://github.com/apple/swift-atomics from cache (0.57s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.56s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.1.4 (0.80s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.1.4
Creating working copy for https://github.com/Prosumma/Guise.git
Working copy of https://github.com/Prosumma/Guise.git resolved at master (1ebe0b8)
warning: '.resolve-product-dependencies': dependency 'guise' is not used by any target
Found 2 product dependencies
- swift-atomics
- swift-collections
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Prosumma/Guise.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version--7754E27361AE5C74.txt
[4/25] Compiling _AtomicsShims.c
[6/63] Compiling OrderedCollections OrderedSet+Codable.swift
[7/63] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[8/63] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[9/63] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[10/63] Compiling OrderedCollections OrderedSet+Diffing.swift
[11/68] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[12/68] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[13/68] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[14/68] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[15/68] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[16/68] Compiling OrderedCollections _HashTable+Bucket.swift
[17/68] Compiling OrderedCollections _HashTable+BucketIterator.swift
[18/68] Compiling OrderedCollections _HashTable+Constants.swift
[19/68] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[20/68] Compiling OrderedCollections _HashTable+Testing.swift
[21/68] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[22/68] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[23/68] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[24/68] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[25/68] Compiling OrderedCollections OrderedDictionary+Elements.swift
[26/68] Compiling OrderedCollections OrderedSet+Equatable.swift
[27/68] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[28/68] Compiling OrderedCollections OrderedSet+Hashable.swift
[29/68] Compiling OrderedCollections OrderedSet+Initializers.swift
[30/68] Compiling OrderedCollections OrderedSet+Insertions.swift
[31/68] Emitting module OrderedCollections
[32/68] Compiling Atomics AtomicOptional.swift
[33/68] Compiling Atomics AtomicRawRepresentable.swift
[34/68] Compiling Atomics AtomicInteger.swift
[35/68] Compiling Atomics AtomicMemoryOrderings.swift
[36/68] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[37/68] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[38/68] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[39/68] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[40/68] Compiling OrderedCollections OrderedSet+SubSequence.swift
[41/68] Compiling OrderedCollections OrderedSet+Testing.swift
[42/68] Compiling OrderedCollections OrderedSet+Invariants.swift
[43/68] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[44/68] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[45/68] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[46/68] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[47/68] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[48/68] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[49/68] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[50/68] Compiling OrderedCollections OrderedDictionary+Values.swift
[51/68] Compiling OrderedCollections OrderedDictionary.swift
[52/68] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[53/68] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[54/68] Compiling OrderedCollections OrderedSet.swift
[55/68] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[56/68] Compiling OrderedCollections _UnsafeBitset.swift
[57/68] Compiling Atomics AtomicBool.swift
[58/68] Compiling Atomics DoubleWord.swift
[61/68] Compiling Atomics AtomicValue.swift
[62/68] Compiling Atomics AtomicStrongReference.swift
[63/68] Emitting module Atomics
[64/68] Compiling Atomics AtomicLazyReference.swift
[65/68] Compiling Atomics HighLevelTypes.swift
[66/68] Compiling Atomics IntegerConformances.swift
[69/69] Compiling Atomics PointerConformances.swift
[70/99] Emitting module Guise
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/Entry.swift:12:14: warning: static property 'singletonTestDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | class Entry: Resolvable {
11 | /// Used by the unit tests. Expressed in nanoseconds.
12 | static var singletonTestDelay: UInt64 = 0
| |- warning: static property 'singletonTestDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'singletonTestDelay' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'singletonTestDelay' 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
13 |
14 | /// Used by the unit tests. If this is set, `Entry` throws this error when resolving.
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/Entry.swift:15:14: warning: static property 'testResolutionError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Used by the unit tests. If this is set, `Entry` throws this error when resolving.
15 | static var testResolutionError: Error?
| |- warning: static property 'testResolutionError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testResolutionError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'testResolutionError' 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
16 |
17 | private let lock: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/ResolutionConfig.swift:23:21: warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | of entries occurs.
22 | */
23 | public static var allowSynchronousResolutionOfAsyncEntries = false
| |- warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allowSynchronousResolutionOfAsyncEntries' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allowSynchronousResolutionOfAsyncEntries' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/ResolutionError.swift:9:14: warning: stored property 'key' of 'Sendable'-conforming struct 'ResolutionError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
7 |
8 | public struct ResolutionError: Error {
9 | public let key: Key
| `- warning: stored property 'key' of 'Sendable'-conforming struct 'ResolutionError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
10 | public let reason: Reason
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/Key.swift:9:15: note: consider making struct 'Key' conform to the 'Sendable' protocol
7 |
8 | /// A type which serves as a key for an `Entry`.
9 | public struct Key: Equatable, Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
10 | public let type: String
11 | public let args: String
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Resolver/Array.swift:9:14: warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public enum ArrayResolutionConfig {
9 | static var throwResolutionErrorWhenNotFound = false
| |- warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throwResolutionErrorWhenNotFound' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throwResolutionErrorWhenNotFound' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Resolver/Optional.swift:9:14: warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public enum OptionalResolutionConfig {
9 | static var throwResolutionErrorWhenNotFound = false
| |- warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throwResolutionErrorWhenNotFound' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throwResolutionErrorWhenNotFound' 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 |
[71/102] Compiling Guise Registrar+Async.swift
[72/102] Compiling Guise Registrar+Sync.swift
[73/102] Compiling Guise Registrar.swift
[74/102] Compiling Guise LazyFullResolver.swift
[75/102] Compiling Guise LazyResolver+Async.swift
[76/102] Compiling Guise LazyResolver+Sync.swift
[77/102] Compiling Guise Assembler.swift
[78/102] Compiling Guise Assembly.swift
[79/102] Compiling Guise RootAssembly.swift
[80/102] Compiling Guise AsyncLock.swift
[81/102] Compiling Guise Resolver+Async.swift
[82/102] Compiling Guise Resolver+Sync.swift
[83/102] Compiling Guise Resolver.swift
[84/102] Compiling Guise ResolutionError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/ResolutionError.swift:9:14: warning: stored property 'key' of 'Sendable'-conforming struct 'ResolutionError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
7 |
8 | public struct ResolutionError: Error {
9 | public let key: Key
| `- warning: stored property 'key' of 'Sendable'-conforming struct 'ResolutionError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
10 | public let reason: Reason
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/Key.swift:9:15: note: consider making struct 'Key' conform to the 'Sendable' protocol
7 |
8 | /// A type which serves as a key for an `Entry`.
9 | public struct Key: Equatable, Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
10 | public let type: String
11 | public let args: String
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/RunBlocking.swift:30:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
28 | let box = Box<Result<T, Error>>()
29 | let semaphore = DispatchSemaphore(value: 0)
30 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
31 | defer { semaphore.signal() }
32 | do {
33 | box.value = try await .success(closure())
| `- note: closure captures 'closure' which is accessible to code in the current task
34 | } catch {
35 | box.value = .failure(error)
[85/102] Compiling Guise Resolvable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/ResolutionError.swift:9:14: warning: stored property 'key' of 'Sendable'-conforming struct 'ResolutionError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
7 |
8 | public struct ResolutionError: Error {
9 | public let key: Key
| `- warning: stored property 'key' of 'Sendable'-conforming struct 'ResolutionError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
10 | public let reason: Reason
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/Key.swift:9:15: note: consider making struct 'Key' conform to the 'Sendable' protocol
7 |
8 | /// A type which serves as a key for an `Entry`.
9 | public struct Key: Equatable, Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
10 | public let type: String
11 | public let args: String
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/RunBlocking.swift:30:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
28 | let box = Box<Result<T, Error>>()
29 | let semaphore = DispatchSemaphore(value: 0)
30 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
31 | defer { semaphore.signal() }
32 | do {
33 | box.value = try await .success(closure())
| `- note: closure captures 'closure' which is accessible to code in the current task
34 | } catch {
35 | box.value = .failure(error)
[86/102] Compiling Guise RunBlocking.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/ResolutionError.swift:9:14: warning: stored property 'key' of 'Sendable'-conforming struct 'ResolutionError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
7 |
8 | public struct ResolutionError: Error {
9 | public let key: Key
| `- warning: stored property 'key' of 'Sendable'-conforming struct 'ResolutionError' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
10 | public let reason: Reason
11 |
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/Key.swift:9:15: note: consider making struct 'Key' conform to the 'Sendable' protocol
7 |
8 | /// A type which serves as a key for an `Entry`.
9 | public struct Key: Equatable, Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
10 | public let type: String
11 | public let args: String
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/RunBlocking.swift:30:8: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
28 | let box = Box<Result<T, Error>>()
29 | let semaphore = DispatchSemaphore(value: 0)
30 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
31 | defer { semaphore.signal() }
32 | do {
33 | box.value = try await .success(closure())
| `- note: closure captures 'closure' which is accessible to code in the current task
34 | } catch {
35 | box.value = .failure(error)
[87/102] Compiling Guise LazyResolver.swift
[88/102] Compiling Guise LazyResolving.swift
[89/102] Compiling Guise LazyTagsResolver+Async.swift
[90/102] Compiling Guise Array.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Resolver/Array.swift:9:14: warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public enum ArrayResolutionConfig {
9 | static var throwResolutionErrorWhenNotFound = false
| |- warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throwResolutionErrorWhenNotFound' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throwResolutionErrorWhenNotFound' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Resolver/Optional.swift:9:14: warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public enum OptionalResolutionConfig {
9 | static var throwResolutionErrorWhenNotFound = false
| |- warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throwResolutionErrorWhenNotFound' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throwResolutionErrorWhenNotFound' 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 |
[91/102] Compiling Guise Optional.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Resolver/Array.swift:9:14: warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public enum ArrayResolutionConfig {
9 | static var throwResolutionErrorWhenNotFound = false
| |- warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throwResolutionErrorWhenNotFound' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throwResolutionErrorWhenNotFound' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Resolver/Optional.swift:9:14: warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public enum OptionalResolutionConfig {
9 | static var throwResolutionErrorWhenNotFound = false
| |- warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throwResolutionErrorWhenNotFound' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throwResolutionErrorWhenNotFound' 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 |
[92/102] Compiling Guise ResolutionAdapter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Resolver/Array.swift:9:14: warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public enum ArrayResolutionConfig {
9 | static var throwResolutionErrorWhenNotFound = false
| |- warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throwResolutionErrorWhenNotFound' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throwResolutionErrorWhenNotFound' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Resolver/Optional.swift:9:14: warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public enum OptionalResolutionConfig {
9 | static var throwResolutionErrorWhenNotFound = false
| |- warning: static property 'throwResolutionErrorWhenNotFound' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throwResolutionErrorWhenNotFound' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throwResolutionErrorWhenNotFound' 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 |
[93/102] Compiling Guise LazyTagsResolver+Sync.swift
[94/102] Compiling Guise LazyTagsResolver.swift
[95/102] Compiling Guise Auto.swift
[96/102] Compiling Guise Key.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/ResolutionConfig.swift:23:21: warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | of entries occurs.
22 | */
23 | public static var allowSynchronousResolutionOfAsyncEntries = false
| |- warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allowSynchronousResolutionOfAsyncEntries' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allowSynchronousResolutionOfAsyncEntries' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
[97/102] Compiling Guise Lifetime.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/ResolutionConfig.swift:23:21: warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | of entries occurs.
22 | */
23 | public static var allowSynchronousResolutionOfAsyncEntries = false
| |- warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allowSynchronousResolutionOfAsyncEntries' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allowSynchronousResolutionOfAsyncEntries' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
[98/102] Compiling Guise ResolutionConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/ResolutionConfig.swift:23:21: warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | of entries occurs.
22 | */
23 | public static var allowSynchronousResolutionOfAsyncEntries = false
| |- warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allowSynchronousResolutionOfAsyncEntries' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allowSynchronousResolutionOfAsyncEntries' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
[99/102] Compiling Guise Container.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/Entry.swift:12:14: warning: static property 'singletonTestDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | class Entry: Resolvable {
11 | /// Used by the unit tests. Expressed in nanoseconds.
12 | static var singletonTestDelay: UInt64 = 0
| |- warning: static property 'singletonTestDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'singletonTestDelay' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'singletonTestDelay' 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
13 |
14 | /// Used by the unit tests. If this is set, `Entry` throws this error when resolving.
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/Entry.swift:15:14: warning: static property 'testResolutionError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Used by the unit tests. If this is set, `Entry` throws this error when resolving.
15 | static var testResolutionError: Error?
| |- warning: static property 'testResolutionError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testResolutionError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'testResolutionError' 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
16 |
17 | private let lock: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/ResolutionConfig.swift:23:21: warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | of entries occurs.
22 | */
23 | public static var allowSynchronousResolutionOfAsyncEntries = false
| |- warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allowSynchronousResolutionOfAsyncEntries' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allowSynchronousResolutionOfAsyncEntries' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
[100/102] Compiling Guise Criteria.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/Entry.swift:12:14: warning: static property 'singletonTestDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | class Entry: Resolvable {
11 | /// Used by the unit tests. Expressed in nanoseconds.
12 | static var singletonTestDelay: UInt64 = 0
| |- warning: static property 'singletonTestDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'singletonTestDelay' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'singletonTestDelay' 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
13 |
14 | /// Used by the unit tests. If this is set, `Entry` throws this error when resolving.
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/Entry.swift:15:14: warning: static property 'testResolutionError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Used by the unit tests. If this is set, `Entry` throws this error when resolving.
15 | static var testResolutionError: Error?
| |- warning: static property 'testResolutionError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testResolutionError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'testResolutionError' 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
16 |
17 | private let lock: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/ResolutionConfig.swift:23:21: warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | of entries occurs.
22 | */
23 | public static var allowSynchronousResolutionOfAsyncEntries = false
| |- warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allowSynchronousResolutionOfAsyncEntries' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allowSynchronousResolutionOfAsyncEntries' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
[101/102] Compiling Guise Entry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/Entry.swift:12:14: warning: static property 'singletonTestDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | class Entry: Resolvable {
11 | /// Used by the unit tests. Expressed in nanoseconds.
12 | static var singletonTestDelay: UInt64 = 0
| |- warning: static property 'singletonTestDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'singletonTestDelay' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'singletonTestDelay' 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
13 |
14 | /// Used by the unit tests. If this is set, `Entry` throws this error when resolving.
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/Entry.swift:15:14: warning: static property 'testResolutionError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Used by the unit tests. If this is set, `Entry` throws this error when resolving.
15 | static var testResolutionError: Error?
| |- warning: static property 'testResolutionError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testResolutionError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'testResolutionError' 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
16 |
17 | private let lock: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/ResolutionConfig.swift:23:21: warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | of entries occurs.
22 | */
23 | public static var allowSynchronousResolutionOfAsyncEntries = false
| |- warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allowSynchronousResolutionOfAsyncEntries' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allowSynchronousResolutionOfAsyncEntries' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
[102/102] Compiling Guise Factory.swift
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/Entry.swift:12:14: warning: static property 'singletonTestDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | class Entry: Resolvable {
11 | /// Used by the unit tests. Expressed in nanoseconds.
12 | static var singletonTestDelay: UInt64 = 0
| |- warning: static property 'singletonTestDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'singletonTestDelay' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'singletonTestDelay' 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
13 |
14 | /// Used by the unit tests. If this is set, `Entry` throws this error when resolving.
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/Entry.swift:15:14: warning: static property 'testResolutionError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Used by the unit tests. If this is set, `Entry` throws this error when resolving.
15 | static var testResolutionError: Error?
| |- warning: static property 'testResolutionError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testResolutionError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'testResolutionError' 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
16 |
17 | private let lock: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Sources/Guise/Common/ResolutionConfig.swift:23:21: warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | of entries occurs.
22 | */
23 | public static var allowSynchronousResolutionOfAsyncEntries = false
| |- warning: static property 'allowSynchronousResolutionOfAsyncEntries' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allowSynchronousResolutionOfAsyncEntries' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allowSynchronousResolutionOfAsyncEntries' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
Build complete! (22.22s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections"
}
],
"manifest_display_name" : "Guise",
"name" : "Guise",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "Guise",
"targets" : [
"Guise"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GuiseTests",
"module_type" : "SwiftTarget",
"name" : "GuiseTests",
"path" : "Tests/GuiseTests",
"sources" : [
"ArgumentTests.swift",
"ArrayTests.swift",
"AssemblyTests.swift",
"AutoTests.swift",
"ContainerTests.swift",
"CriteriaTests.swift",
"EntryTests.swift",
"ErrorTests.swift",
"KeyTests.swift",
"LazyFullResolverTests.swift",
"LazyResolverTests.swift",
"LazyTagsResolverTests.swift",
"OptionalTests.swift",
"UnregisterTests.swift",
"XCTestCase.swift"
],
"target_dependencies" : [
"Guise"
],
"type" : "test"
},
{
"c99name" : "Guise",
"module_type" : "SwiftTarget",
"name" : "Guise",
"path" : "Sources/Guise",
"product_dependencies" : [
"Atomics",
"OrderedCollections"
],
"product_memberships" : [
"Guise"
],
"sources" : [
"Assembler/Assembler.swift",
"Assembler/Assembly.swift",
"Assembler/RootAssembly.swift",
"Common/AsyncLock.swift",
"Common/Container.swift",
"Common/Criteria.swift",
"Common/Entry.swift",
"Common/Factory.swift",
"Common/Key.swift",
"Common/Lifetime.swift",
"Common/ResolutionConfig.swift",
"Common/ResolutionError.swift",
"Common/Resolvable.swift",
"Common/RunBlocking.swift",
"Lazy/LazyFullResolver.swift",
"Lazy/LazyResolver+Async.swift",
"Lazy/LazyResolver+Sync.swift",
"Lazy/LazyResolver.swift",
"Lazy/LazyResolving.swift",
"Lazy/LazyTagsResolver+Async.swift",
"Lazy/LazyTagsResolver+Sync.swift",
"Lazy/LazyTagsResolver.swift",
"Registrar/Auto.swift",
"Registrar/Registrar+Async.swift",
"Registrar/Registrar+Sync.swift",
"Registrar/Registrar.swift",
"Resolver/Array.swift",
"Resolver/Optional.swift",
"Resolver/ResolutionAdapter.swift",
"Resolver/Resolver+Async.swift",
"Resolver/Resolver+Sync.swift",
"Resolver/Resolver.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.