Build Information
Successful build of SKQueue, reference master (08faec
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 04:57:22 UTC.
Swift 6 data race errors: 11
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/daniel-pedersen/SKQueue.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/daniel-pedersen/SKQueue
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 08faecd Update Package.swift (#12)
Cloned https://github.com/daniel-pedersen/SKQueue.git
Revision (git rev-parse @):
08faecdcd1173d57706e5949dd699183e16f3c39
SUCCESS checkout https://github.com/daniel-pedersen/SKQueue.git at master
========================================
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": "skqueue",
"name": "SKQueue",
"url": "https://github.com/daniel-pedersen/SKQueue.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SKQueue",
"dependencies": [
]
}
]
}
Fetching https://github.com/daniel-pedersen/SKQueue.git
[1/204] Fetching skqueue
Fetched https://github.com/daniel-pedersen/SKQueue.git from cache (0.70s)
Creating working copy for https://github.com/daniel-pedersen/SKQueue.git
Working copy of https://github.com/daniel-pedersen/SKQueue.git resolved at master (08faecd)
warning: '.resolve-product-dependencies': dependency 'skqueue' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/daniel-pedersen/SKQueue.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/4] Emitting module SKQueue
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:26:21: warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
24 | }
25 |
26 | public static let None = SKQueueNotification(rawValue: 0)
| |- warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'None' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let Rename = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
28 | public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:26:21: warning: static property 'None' produces an empty option set
24 | }
25 |
26 | public static let None = SKQueueNotification(rawValue: 0)
| |- warning: static property 'None' produces an empty option set
| `- note: use [] to silence this warning
27 | public static let Rename = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
28 | public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:27:21: warning: static property 'Rename' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
25 |
26 | public static let None = SKQueueNotification(rawValue: 0)
27 | public static let Rename = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
| |- warning: static property 'Rename' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Rename' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
29 | public static let Delete = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:28:21: warning: static property 'Write' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
26 | public static let None = SKQueueNotification(rawValue: 0)
27 | public static let Rename = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
28 | public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
| |- warning: static property 'Write' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Write' 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
29 | public static let Delete = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
30 | public static let AttributeChange = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:29:21: warning: static property 'Delete' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
27 | public static let Rename = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
28 | public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
29 | public static let Delete = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
| |- warning: static property 'Delete' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Delete' 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
30 | public static let AttributeChange = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
31 | public static let SizeIncrease = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:30:21: warning: static property 'AttributeChange' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
28 | public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
29 | public static let Delete = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
30 | public static let AttributeChange = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
| |- warning: static property 'AttributeChange' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AttributeChange' 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
31 | public static let SizeIncrease = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
32 | public static let LinkCountChange = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:31:21: warning: static property 'SizeIncrease' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
29 | public static let Delete = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
30 | public static let AttributeChange = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
31 | public static let SizeIncrease = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
| |- warning: static property 'SizeIncrease' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SizeIncrease' 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
32 | public static let LinkCountChange = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
33 | public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:32:21: warning: static property 'LinkCountChange' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
30 | public static let AttributeChange = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
31 | public static let SizeIncrease = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
32 | public static let LinkCountChange = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
| |- warning: static property 'LinkCountChange' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'LinkCountChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
34 | public static let Unlock = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:33:21: warning: static property 'AccessRevocation' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
31 | public static let SizeIncrease = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
32 | public static let LinkCountChange = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
33 | public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
| |- warning: static property 'AccessRevocation' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AccessRevocation' 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
34 | public static let Unlock = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
35 | public static let DataAvailable = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:34:21: warning: static property 'Unlock' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
32 | public static let LinkCountChange = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
33 | public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
34 | public static let Unlock = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
| |- warning: static property 'Unlock' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Unlock' 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
35 | public static let DataAvailable = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
36 | public static let Default = SKQueueNotification(rawValue: UInt32(INT_MAX))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:35:21: warning: static property 'DataAvailable' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
33 | public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
34 | public static let Unlock = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
35 | public static let DataAvailable = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
| |- warning: static property 'DataAvailable' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DataAvailable' 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
36 | public static let Default = SKQueueNotification(rawValue: UInt32(INT_MAX))
37 |
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:36:21: warning: static property 'Default' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
34 | public static let Unlock = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
35 | public static let DataAvailable = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
36 | public static let Default = SKQueueNotification(rawValue: UInt32(INT_MAX))
| |- warning: static property 'Default' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | public func toStrings() -> [SKQueueNotificationString] {
[4/4] Compiling SKQueue SKQueue.swift
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:26:21: warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
24 | }
25 |
26 | public static let None = SKQueueNotification(rawValue: 0)
| |- warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'None' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let Rename = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
28 | public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:26:21: warning: static property 'None' produces an empty option set
24 | }
25 |
26 | public static let None = SKQueueNotification(rawValue: 0)
| |- warning: static property 'None' produces an empty option set
| `- note: use [] to silence this warning
27 | public static let Rename = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
28 | public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:27:21: warning: static property 'Rename' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
25 |
26 | public static let None = SKQueueNotification(rawValue: 0)
27 | public static let Rename = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
| |- warning: static property 'Rename' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Rename' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
29 | public static let Delete = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:28:21: warning: static property 'Write' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
26 | public static let None = SKQueueNotification(rawValue: 0)
27 | public static let Rename = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
28 | public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
| |- warning: static property 'Write' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Write' 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
29 | public static let Delete = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
30 | public static let AttributeChange = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:29:21: warning: static property 'Delete' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
27 | public static let Rename = SKQueueNotification(rawValue: UInt32(NOTE_RENAME))
28 | public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
29 | public static let Delete = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
| |- warning: static property 'Delete' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Delete' 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
30 | public static let AttributeChange = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
31 | public static let SizeIncrease = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:30:21: warning: static property 'AttributeChange' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
28 | public static let Write = SKQueueNotification(rawValue: UInt32(NOTE_WRITE))
29 | public static let Delete = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
30 | public static let AttributeChange = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
| |- warning: static property 'AttributeChange' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AttributeChange' 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
31 | public static let SizeIncrease = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
32 | public static let LinkCountChange = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:31:21: warning: static property 'SizeIncrease' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
29 | public static let Delete = SKQueueNotification(rawValue: UInt32(NOTE_DELETE))
30 | public static let AttributeChange = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
31 | public static let SizeIncrease = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
| |- warning: static property 'SizeIncrease' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SizeIncrease' 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
32 | public static let LinkCountChange = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
33 | public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:32:21: warning: static property 'LinkCountChange' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
30 | public static let AttributeChange = SKQueueNotification(rawValue: UInt32(NOTE_ATTRIB))
31 | public static let SizeIncrease = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
32 | public static let LinkCountChange = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
| |- warning: static property 'LinkCountChange' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'LinkCountChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
34 | public static let Unlock = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:33:21: warning: static property 'AccessRevocation' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
31 | public static let SizeIncrease = SKQueueNotification(rawValue: UInt32(NOTE_EXTEND))
32 | public static let LinkCountChange = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
33 | public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
| |- warning: static property 'AccessRevocation' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AccessRevocation' 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
34 | public static let Unlock = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
35 | public static let DataAvailable = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:34:21: warning: static property 'Unlock' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
32 | public static let LinkCountChange = SKQueueNotification(rawValue: UInt32(NOTE_LINK))
33 | public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
34 | public static let Unlock = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
| |- warning: static property 'Unlock' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Unlock' 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
35 | public static let DataAvailable = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
36 | public static let Default = SKQueueNotification(rawValue: UInt32(INT_MAX))
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:35:21: warning: static property 'DataAvailable' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
33 | public static let AccessRevocation = SKQueueNotification(rawValue: UInt32(NOTE_REVOKE))
34 | public static let Unlock = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
35 | public static let DataAvailable = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
| |- warning: static property 'DataAvailable' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DataAvailable' 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
36 | public static let Default = SKQueueNotification(rawValue: UInt32(INT_MAX))
37 |
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:36:21: warning: static property 'Default' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
34 | public static let Unlock = SKQueueNotification(rawValue: UInt32(NOTE_FUNLOCK))
35 | public static let DataAvailable = SKQueueNotification(rawValue: UInt32(NOTE_NONE))
36 | public static let Default = SKQueueNotification(rawValue: UInt32(INT_MAX))
| |- warning: static property 'Default' is not concurrency-safe because non-'Sendable' type 'SKQueueNotification' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | public func toStrings() -> [SKQueueNotificationString] {
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:93:45: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
91 | if !keepWatcherThreadRunning {
92 | keepWatcherThreadRunning = true
93 | DispatchQueue.global().async(execute: watcherThread)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:105:11: warning: capture of 'self' with non-sendable type 'SKQueue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | }
52 |
53 | public class SKQueue {
| `- note: class 'SKQueue' does not conform to the 'Sendable' protocol
54 | private let kqueueId: Int32
55 | private var watchedPaths = [String: Int32]()
:
103 | let notification = SKQueueNotification(rawValue: event.fflags)
104 | DispatchQueue.global().async {
105 | self.delegate?.receivedNotification(notification, path: path, queue: self)
| `- warning: capture of 'self' with non-sendable type 'SKQueue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/SKQueue.swift:105:47: warning: capture of 'notification' with non-sendable type 'SKQueueNotification' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | }
18 |
19 | public struct SKQueueNotification: OptionSet {
| `- note: consider making struct 'SKQueueNotification' conform to the 'Sendable' protocol
20 | public let rawValue: UInt32
21 |
:
103 | let notification = SKQueueNotification(rawValue: event.fflags)
104 | DispatchQueue.global().async {
105 | self.delegate?.receivedNotification(notification, path: path, queue: self)
| `- warning: capture of 'notification' with non-sendable type 'SKQueueNotification' in a `@Sendable` closure; this is an error in the Swift 6 language mode
106 | }
107 | }
Build complete! (6.01s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SKQueue",
"name" : "SKQueue",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SKQueue",
"targets" : [
"SKQueue"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SKQueue",
"module_type" : "SwiftTarget",
"name" : "SKQueue",
"path" : ".",
"product_memberships" : [
"SKQueue"
],
"sources" : [
"SKQueue.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.