Build Information
Successful build of Guise, reference master (1ebe0b
), with Swift 6.0 for Linux on 3 Nov 2024 19:21:18 UTC.
Swift 6 data race errors: 6
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/Prosumma/Guise.git
Reference: master
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/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Prosumma/Guise.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-collections
[1/1569] Fetching swift-atomics
[1570/17044] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics from cache (1.07s)
Fetched https://github.com/apple/swift-collections from cache (1.10s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.46s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.1.4 (0.69s)
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/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Building for debugging...
[0/6] Write sources
[4/6] Compiling _AtomicsShims.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/42] Emitting module Atomics
[8/44] Compiling Atomics IntegerOperations.swift
[9/44] Compiling Atomics Unmanaged extensions.swift
[10/44] Compiling InternalCollectionsUtilities Integer rank.swift
[11/44] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[12/44] Compiling InternalCollectionsUtilities UInt+reversed.swift
[13/44] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[14/44] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[15/44] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[16/46] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/46] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[18/46] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[19/46] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[20/46] Compiling InternalCollectionsUtilities Descriptions.swift
[21/46] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[22/46] Compiling InternalCollectionsUtilities Specialize.swift
[23/46] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/46] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[25/46] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[28/46] Compiling InternalCollectionsUtilities Debugging.swift
[31/46] Emitting module InternalCollectionsUtilities
[32/46] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[49/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[50/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[51/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[52/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[53/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[54/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[55/103] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[56/110] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[57/110] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[58/110] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[59/110] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[60/110] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[61/110] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[62/110] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[63/110] Compiling OrderedCollections OrderedDictionary.swift
[64/110] Compiling OrderedCollections OrderedSet+Codable.swift
[65/110] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[66/110] Compiling OrderedCollections OrderedSet+Descriptions.swift
[67/110] Compiling OrderedCollections OrderedSet+Diffing.swift
[68/110] Compiling OrderedCollections OrderedSet+Equatable.swift
[69/110] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[70/110] Compiling OrderedCollections OrderedSet+Hashable.swift
[71/110] Compiling OrderedCollections OrderedSet+Initializers.swift
[72/110] Compiling OrderedCollections OrderedSet+Insertions.swift
[73/110] Compiling OrderedCollections OrderedSet+Invariants.swift
[74/110] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[75/110] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[76/110] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[77/110] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[78/110] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[79/110] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[80/110] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[81/110] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[82/110] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[83/110] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[84/110] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[85/110] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[86/110] Compiling OrderedCollections OrderedDictionary+Values.swift
[87/110] Compiling OrderedCollections OrderedDictionary+Codable.swift
[88/110] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[89/110] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[90/110] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[91/110] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[92/110] Compiling OrderedCollections OrderedDictionary+Elements.swift
[93/110] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[94/110] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[95/110] Compiling OrderedCollections _HashTable+Bucket.swift
[96/110] Compiling OrderedCollections _HashTable+BucketIterator.swift
[97/110] Compiling OrderedCollections _HashTable+Constants.swift
[98/110] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[99/110] Compiling OrderedCollections _HashTable+Testing.swift
[100/110] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[101/110] Compiling OrderedCollections _HashTable.swift
[102/110] Compiling OrderedCollections _Hashtable+Header.swift
[103/110] Compiling OrderedCollections OrderedSet+Sendable.swift
[104/110] Compiling OrderedCollections OrderedSet+SubSequence.swift
[105/110] Compiling OrderedCollections OrderedSet+Testing.swift
[106/110] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[107/110] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[108/110] Compiling OrderedCollections OrderedSet.swift
[109/110] Compiling OrderedCollections _UnsafeBitset.swift
[110/110] Emitting module OrderedCollections
[112/140] Compiling Guise Assembler.swift
[113/140] Compiling Guise Assembly.swift
[114/140] Compiling Guise RootAssembly.swift
[115/140] Compiling Guise AsyncLock.swift
[116/144] Compiling Guise ResolutionAdapter.swift
[117/144] Compiling Guise Resolver+Async.swift
[118/144] Compiling Guise Resolver+Sync.swift
[119/144] Compiling Guise Resolver.swift
[120/144] Compiling Guise LazyTagsResolver+Sync.swift
[121/144] Compiling Guise LazyTagsResolver.swift
[122/144] Compiling Guise Auto.swift
[123/144] Compiling Guise Registrar+Async.swift
[124/144] Compiling Guise Registrar+Sync.swift
/host/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 |
/host/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 |
[125/144] Compiling Guise Registrar.swift
/host/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 |
/host/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 |
[126/144] Compiling Guise Array.swift
/host/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 |
/host/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 |
[127/144] Compiling Guise Optional.swift
/host/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 |
/host/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 |
[128/144] Emitting module Guise
/host/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.
/host/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
/host/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 |
/host/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 |
/host/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
/host/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 |
/host/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 |
[129/144] Compiling Guise Key.swift
/host/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 |
/host/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 |
/host/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
[130/144] Compiling Guise Lifetime.swift
/host/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 |
/host/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 |
/host/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
[131/144] Compiling Guise ResolutionConfig.swift
/host/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 |
/host/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 |
/host/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
[132/144] Compiling Guise ResolutionError.swift
/host/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 |
/host/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 |
/host/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
[133/144] Compiling Guise Container.swift
/host/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.
/host/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
/host/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 |
[134/144] Compiling Guise Criteria.swift
/host/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.
/host/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
/host/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 |
[135/144] Compiling Guise Entry.swift
/host/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.
/host/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
/host/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 |
[136/144] Compiling Guise Factory.swift
/host/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.
/host/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
/host/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 |
[137/144] Compiling Guise LazyResolver+Sync.swift
[138/144] Compiling Guise LazyResolver.swift
[139/144] Compiling Guise LazyResolving.swift
[140/144] Compiling Guise LazyTagsResolver+Async.swift
[141/144] Compiling Guise Resolvable.swift
/host/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)
[142/144] Compiling Guise RunBlocking.swift
/host/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)
[143/144] Compiling Guise LazyFullResolver.swift
/host/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)
[144/144] Compiling Guise LazyResolver+Async.swift
/host/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)
Build complete! (31.79s)
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" : "/host/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"
}
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.