Build Information
Successful build of Flynn, reference v0.4.115 (23cf24
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 20:02:06 UTC.
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/KittyMac/flynn.git
Reference: v0.4.115
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/KittyMac/flynn
* tag v0.4.115 -> FETCH_HEAD
HEAD is now at 23cf24e Flynn.startup() you can now provide a minimum number of schedulers
Cloned https://github.com/KittyMac/flynn.git
Revision (git rev-parse @):
23cf24e2eb338cd3241834919951e620209f07db
SUCCESS checkout https://github.com/KittyMac/flynn.git at v0.4.115
========================================
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": "flynn",
"name": "Flynn",
"url": "https://github.com/KittyMac/flynn.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/flynn",
"dependencies": [
]
}
]
}
Fetching https://github.com/KittyMac/flynn.git
[1/7470] Fetching flynn
Fetched https://github.com/KittyMac/flynn.git from cache (19.95s)
Creating working copy for https://github.com/KittyMac/flynn.git
Working copy of https://github.com/KittyMac/flynn.git resolved at v0.4.115 (23cf24e)
warning: '.resolve-product-dependencies': dependency 'flynn' 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/KittyMac/flynn.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
[1/1] Compiling plugin FlynnPlugin
Building for debugging...
[1/20] Write swift-version--7754E27361AE5C74.txt
[2/20] Compiling Pony threads-windows.c
[3/20] Compiling Pony cpu_windows.c
[4/20] Compiling Pony cpu_linux.c
[5/20] Compiling Pony mpmcq.c
[6/20] Compiling Pony messageq.c
[7/20] Compiling Pony scheduler.c
[8/20] Compiling Pony actor.c
["/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Print.swift", "/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flowable.swift", "/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn+Timer.swift", "/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Atomics.swift", "/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift", "/Users/admin/builder/spi-builder-workspace/Sources/Flynn/TimedOperationQueue.swift", "/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Extensions.swift", "/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Queue.swift", "/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn+Group.swift", "/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift", "/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Remote/Flynn+Remote.swift", "/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Remote/RemoteActorManager.swift", "/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Remote/RemoteActorRunner.swift", "/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Remote/RemoteActor.swift"]
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Remote/RemoteActorManager.swift:84:12: warning: Access Level Violation: Unsafe functions should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Remote/RemoteActorManager.swift:134:14: warning: Access Level Violation: Unsafe functions should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Remote/RemoteActorManager.swift:426:14: warning: Access Level Violation: Unsafe functions should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Remote/RemoteActorManager.swift:434:14: warning: Access Level Violation: Unsafe functions should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:182:12: warning: Access Level Violation: Unsafe functions should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:190:12: warning: Access Level Violation: Unsafe functions should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:198:12: warning: Access Level Violation: Unsafe functions should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:215:12: warning: Access Level Violation: Unsafe functions should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:223:12: warning: Access Level Violation: Unsafe functions should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:308:12: warning: Access Level Violation: Unsafe functions should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:329:12: warning: Access Level Violation: Unsafe functions should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:118:12: warning: Access Level Violation: Unsafe variables should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:123:12: warning: Access Level Violation: Unsafe variables should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:147:12: warning: Access Level Violation: Unsafe variables should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:164:12: warning: Access Level Violation: Unsafe variables should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:231:12: warning: Access Level Violation: Unsafe variables should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:240:12: warning: Access Level Violation: Unsafe variables should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:295:12: warning: Access Level Violation: Unsafe variables should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:19:21: warning: Access Level Violation: Unsafe functions should not be used
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:32:21: warning: Access Level Violation: Unsafe functions should not be used
[9/20] Flynn Plugin - generating behaviours...
[10/20] Write sources
[11/20] Compiling Pony ponyrt.c
[12/20] Compiling node.c
[13/20] Compiling shared.c
[13/20] Compiling Pony cpu_apple.c
[15/20] Compiling Pony memory.c
[16/20] Compiling root.c
[17/20] Compiling Pony threads-posix.m
[18/20] Write Objects.LinkFileList
[19/35] Linking libPonyLib.dylib
[21/35] Compiling Flynn TimedOperationQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/TimedOperationQueue.swift:83:24: warning: static property 'didBeginWatchThread' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | private let operationQueue = OperationQueue()
82 |
83 | private static var didBeginWatchThread = false
| |- warning: static property 'didBeginWatchThread' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'didBeginWatchThread' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'didBeginWatchThread' 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
84 | private static let staticLock = NSLock()
85 | private static var weakTimedOperationQueues: [WeakTimedOperationQueue] = []
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/TimedOperationQueue.swift:85:24: warning: static property 'weakTimedOperationQueues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | private static var didBeginWatchThread = false
84 | private static let staticLock = NSLock()
85 | private static var weakTimedOperationQueues: [WeakTimedOperationQueue] = []
| |- warning: static property 'weakTimedOperationQueues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'weakTimedOperationQueues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'weakTimedOperationQueues' 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
86 | private static func register(_ timedOperationQueue: TimedOperationQueue) {
87 | staticLock.lock()
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/TimedOperationQueue.swift:35:13: warning: capture of 'self' with non-sendable type 'TimedOperation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | // - ability to provide a retry which preserves the order of queued operations
7 |
8 | private class TimedOperation: Equatable {
| `- note: class 'TimedOperation' does not conform to the 'Sendable' protocol
9 | static func == (lhs: TimedOperation, rhs: TimedOperation) -> Bool {
10 | return lhs.uuid == rhs.uuid
:
33 |
34 | let blockOperation = BlockOperation {
35 | self.executionDate = Date()
| `- warning: capture of 'self' with non-sendable type 'TimedOperation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | if self.block() == false {
37 | retry()
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/TimedOperationQueue.swift:37:17: warning: capture of 'retry' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | self.executionDate = Date()
36 | if self.block() == false {
37 | retry()
| |- warning: capture of 'retry' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
38 | }
39 | finished()
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/TimedOperationQueue.swift:39:13: warning: capture of 'finished' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | retry()
38 | }
39 | finished()
| |- warning: capture of 'finished' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | self.operation = nil
41 | }
[22/36] Compiling Flynn Queue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:75:16: warning: static property 'remotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | static var remotes = RemoteActorManager()
| |- warning: static property 'remotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'remotes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'remotes' 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
76 |
77 | public class func startup(schedulerCount: Int = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:64:23: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Actor' may have shared mutable state; this is an error in the Swift 6 language mode
62 | private static var registeredActorsCheckRunning = false
63 |
64 | public static let any = Actor()
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Actor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'any' 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
65 | public static let main = MainActor()
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:55:12: note: class 'Actor' does not conform to the 'Sendable' protocol
53 | }
54 |
55 | open class Actor: Equatable, Hashable {
| `- note: class 'Actor' does not conform to the 'Sendable' protocol
56 | #if FLYNN_LEAK_ACTOR
57 | struct WeakActor {
[23/36] Compiling Flynn Flynn+Remote.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:75:16: warning: static property 'remotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | static var remotes = RemoteActorManager()
| |- warning: static property 'remotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'remotes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'remotes' 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
76 |
77 | public class func startup(schedulerCount: Int = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:64:23: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Actor' may have shared mutable state; this is an error in the Swift 6 language mode
62 | private static var registeredActorsCheckRunning = false
63 |
64 | public static let any = Actor()
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Actor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'any' 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
65 | public static let main = MainActor()
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:55:12: note: class 'Actor' does not conform to the 'Sendable' protocol
53 | }
54 |
55 | open class Actor: Equatable, Hashable {
| `- note: class 'Actor' does not conform to the 'Sendable' protocol
56 | #if FLYNN_LEAK_ACTOR
57 | struct WeakActor {
[24/36] Compiling Flynn Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Extensions.swift:27:17: warning: let 'pool' is not concurrency-safe because non-'Sendable' type '[Actor]' may have shared mutable state; this is an error in the Swift 6 language mode
25 | public typealias synchronizedBlock = (emptyBlock) -> ()
26 |
27 | fileprivate let pool = Array<Actor>.init(count: maxActors, create: { return CollectionActor() })
| |- warning: let 'pool' is not concurrency-safe because non-'Sendable' type '[Actor]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | // Simple parallel processing for common collections
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:55:12: note: class 'Actor' does not conform to the 'Sendable' protocol
53 | }
54 |
55 | open class Actor: Equatable, Hashable {
| `- note: class 'Actor' does not conform to the 'Sendable' protocol
56 | #if FLYNN_LEAK_ACTOR
57 | struct WeakActor {
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Extensions.swift:119:13: warning: capture of 'block' with non-sendable type '(T.Element, @escaping synchronizedBlock) -> ()' (aka '(T.Element, @escaping (() -> ()) -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 | group.enter()
118 | queue.addOperation {
119 | block(item) { synchronized in
| |- warning: capture of 'block' with non-sendable type '(T.Element, @escaping synchronizedBlock) -> ()' (aka '(T.Element, @escaping (() -> ()) -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
120 | lock.lock()
121 | synchronized()
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Extensions.swift:119:19: warning: capture of 'item' with non-sendable type 'T.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 | group.enter()
118 | queue.addOperation {
119 | block(item) { synchronized in
| `- warning: capture of 'item' with non-sendable type 'T.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | lock.lock()
121 | synchronized()
[25/36] Compiling Flynn Flowable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Extensions.swift:27:17: warning: let 'pool' is not concurrency-safe because non-'Sendable' type '[Actor]' may have shared mutable state; this is an error in the Swift 6 language mode
25 | public typealias synchronizedBlock = (emptyBlock) -> ()
26 |
27 | fileprivate let pool = Array<Actor>.init(count: maxActors, create: { return CollectionActor() })
| |- warning: let 'pool' is not concurrency-safe because non-'Sendable' type '[Actor]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | // Simple parallel processing for common collections
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:55:12: note: class 'Actor' does not conform to the 'Sendable' protocol
53 | }
54 |
55 | open class Actor: Equatable, Hashable {
| `- note: class 'Actor' does not conform to the 'Sendable' protocol
56 | #if FLYNN_LEAK_ACTOR
57 | struct WeakActor {
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Extensions.swift:119:13: warning: capture of 'block' with non-sendable type '(T.Element, @escaping synchronizedBlock) -> ()' (aka '(T.Element, @escaping (() -> ()) -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 | group.enter()
118 | queue.addOperation {
119 | block(item) { synchronized in
| |- warning: capture of 'block' with non-sendable type '(T.Element, @escaping synchronizedBlock) -> ()' (aka '(T.Element, @escaping (() -> ()) -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
120 | lock.lock()
121 | synchronized()
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Extensions.swift:119:19: warning: capture of 'item' with non-sendable type 'T.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 | group.enter()
118 | queue.addOperation {
119 | block(item) { synchronized in
| `- warning: capture of 'item' with non-sendable type 'T.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | lock.lock()
121 | synchronized()
[26/36] Compiling Flynn RemoteActor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Remote/RemoteActor.swift:15:17: warning: var 'unsafeGlobalRunnerIdx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public typealias RemoteActor = ( InternalRemoteActor & BehaviorRegisterable )
14 |
15 | fileprivate var unsafeGlobalRunnerIdx = 0
| |- warning: var 'unsafeGlobalRunnerIdx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unsafeGlobalRunnerIdx' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unsafeGlobalRunnerIdx' 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 | open class InternalRemoteActor: Equatable, Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:64:23: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Actor' may have shared mutable state; this is an error in the Swift 6 language mode
62 | private static var registeredActorsCheckRunning = false
63 |
64 | public static let any = Actor()
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Actor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'any' 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
65 | public static let main = MainActor()
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:55:12: note: class 'Actor' does not conform to the 'Sendable' protocol
53 | }
54 |
55 | open class Actor: Equatable, Hashable {
| `- note: class 'Actor' does not conform to the 'Sendable' protocol
56 | #if FLYNN_LEAK_ACTOR
57 | struct WeakActor {
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:75:16: warning: static property 'remotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | static var remotes = RemoteActorManager()
| |- warning: static property 'remotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'remotes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'remotes' 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
76 |
77 | public class func startup(schedulerCount: Int = 0,
[27/36] Compiling Flynn RemoteActorRunner.swift
[28/36] Compiling Flynn Flynn+Group.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn+Group.swift:6:17: warning: var 'flynnGroupDidInit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | fileprivate let lock = NSLock()
6 | fileprivate var flynnGroupDidInit: Bool = false
| |- warning: var 'flynnGroupDidInit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'flynnGroupDidInit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'flynnGroupDidInit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public extension DispatchGroup {
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn+Timer.swift:102:24: warning: static property 'registeredTimersQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
100 | }
101 |
102 | private static var registeredTimersQueue = Queue<Timer>(size: 1024,
| |- warning: static property 'registeredTimersQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registeredTimersQueue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'registeredTimersQueue' 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
103 | manyProducers: true,
104 | manyConsumers: true)
[29/36] Compiling Flynn Flynn+Timer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn+Group.swift:6:17: warning: var 'flynnGroupDidInit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | fileprivate let lock = NSLock()
6 | fileprivate var flynnGroupDidInit: Bool = false
| |- warning: var 'flynnGroupDidInit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'flynnGroupDidInit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'flynnGroupDidInit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public extension DispatchGroup {
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn+Timer.swift:102:24: warning: static property 'registeredTimersQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
100 | }
101 |
102 | private static var registeredTimersQueue = Queue<Timer>(size: 1024,
| |- warning: static property 'registeredTimersQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registeredTimersQueue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'registeredTimersQueue' 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
103 | manyProducers: true,
104 | manyConsumers: true)
[30/36] Compiling Flynn Flynn.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:51:23: warning: static property 'defaultActorAffinity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | public static var defaultActorAffinity: CoreAffinity = .preferEfficiency
50 | #else
51 | public static var defaultActorAffinity: CoreAffinity = .none
| |- warning: static property 'defaultActorAffinity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultActorAffinity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultActorAffinity' 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
52 | #endif
53 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:54:24: warning: static property 'dockedQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | #endif
53 |
54 | private static var dockedQueue = Queue<Actor>(size: 1024,
| |- warning: static property 'dockedQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dockedQueue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dockedQueue' 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
55 | manyProducers: true,
56 | manyConsumers: true)
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:58:24: warning: static property 'timerLoop' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 | manyConsumers: true)
57 |
58 | private static var timerLoop: TimerLoop?
| |- warning: static property 'timerLoop' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timerLoop' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timerLoop' 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
59 | private static var running = AtomicContidion()
60 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:59:24: warning: static property 'running' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | private static var timerLoop: TimerLoop?
59 | private static var running = AtomicContidion()
| |- warning: static property 'running' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'running' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'running' 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
60 |
61 | private static var timeStart: TimeInterval = 0
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:61:24: warning: static property 'timeStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | private static var running = AtomicContidion()
60 |
61 | private static var timeStart: TimeInterval = 0
| |- warning: static property 'timeStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeStart' 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
62 | private static var registeredActorsCheckRunning = false
63 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:62:24: warning: static property 'registeredActorsCheckRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | private static var timeStart: TimeInterval = 0
62 | private static var registeredActorsCheckRunning = false
| |- warning: static property 'registeredActorsCheckRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registeredActorsCheckRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'registeredActorsCheckRunning' 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
63 |
64 | public static let any = Actor()
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:64:23: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Actor' may have shared mutable state; this is an error in the Swift 6 language mode
62 | private static var registeredActorsCheckRunning = false
63 |
64 | public static let any = Actor()
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Actor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'any' 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
65 | public static let main = MainActor()
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:55:12: note: class 'Actor' does not conform to the 'Sendable' protocol
53 | }
54 |
55 | open class Actor: Equatable, Hashable {
| `- note: class 'Actor' does not conform to the 'Sendable' protocol
56 | #if FLYNN_LEAK_ACTOR
57 | struct WeakActor {
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:65:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'MainActor' may have shared mutable state; this is an error in the Swift 6 language mode
14 | // your own MainActor simply by subclasses MainActor. You can
15 | // also just use Flynn.main
16 | public class MainActor: Actor {
| `- note: class 'MainActor' does not conform to the 'Sendable' protocol
17 | @discardableResult
18 | @inlinable
:
63 |
64 | public static let any = Actor()
65 | public static let main = MainActor()
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'MainActor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
66 |
67 | public static let ignore: () -> () = { }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:67:23: warning: static property 'ignore' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
65 | public static let main = MainActor()
66 |
67 | public static let ignore: () -> () = { }
| |- warning: static property 'ignore' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignore' 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
68 | public static let warning: () -> () = {
69 | print("warning: remote call error'd out")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:68:23: warning: static property 'warning' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | public static let ignore: () -> () = { }
68 | public static let warning: () -> () = {
| |- warning: static property 'warning' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warning' 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
69 | print("warning: remote call error'd out")
70 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:71:23: warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
69 | print("warning: remote call error'd out")
70 | }
71 | public static let fatal: () -> () = {
| |- warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fatal' 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
72 | fatalError("Flynn.fatal called")
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:75:16: warning: static property 'remotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | static var remotes = RemoteActorManager()
| |- warning: static property 'remotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'remotes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'remotes' 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
76 |
77 | public class func startup(schedulerCount: Int = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:25:13: warning: capture of 'block' with non-sendable type 'PonyBlock' (aka '(UInt64) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | }
24 | DispatchQueue.main.async {
25 | block(0)
| |- warning: capture of 'block' with non-sendable type 'PonyBlock' (aka '(UInt64) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
26 | }
27 | return self
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:25:13: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
23 | }
24 | DispatchQueue.main.async {
25 | block(0)
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
26 | }
27 | return self
[31/36] Compiling Flynn Print.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:51:23: warning: static property 'defaultActorAffinity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | public static var defaultActorAffinity: CoreAffinity = .preferEfficiency
50 | #else
51 | public static var defaultActorAffinity: CoreAffinity = .none
| |- warning: static property 'defaultActorAffinity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultActorAffinity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultActorAffinity' 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
52 | #endif
53 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:54:24: warning: static property 'dockedQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | #endif
53 |
54 | private static var dockedQueue = Queue<Actor>(size: 1024,
| |- warning: static property 'dockedQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dockedQueue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dockedQueue' 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
55 | manyProducers: true,
56 | manyConsumers: true)
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:58:24: warning: static property 'timerLoop' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 | manyConsumers: true)
57 |
58 | private static var timerLoop: TimerLoop?
| |- warning: static property 'timerLoop' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timerLoop' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timerLoop' 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
59 | private static var running = AtomicContidion()
60 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:59:24: warning: static property 'running' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | private static var timerLoop: TimerLoop?
59 | private static var running = AtomicContidion()
| |- warning: static property 'running' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'running' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'running' 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
60 |
61 | private static var timeStart: TimeInterval = 0
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:61:24: warning: static property 'timeStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | private static var running = AtomicContidion()
60 |
61 | private static var timeStart: TimeInterval = 0
| |- warning: static property 'timeStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeStart' 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
62 | private static var registeredActorsCheckRunning = false
63 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:62:24: warning: static property 'registeredActorsCheckRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | private static var timeStart: TimeInterval = 0
62 | private static var registeredActorsCheckRunning = false
| |- warning: static property 'registeredActorsCheckRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registeredActorsCheckRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'registeredActorsCheckRunning' 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
63 |
64 | public static let any = Actor()
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:64:23: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Actor' may have shared mutable state; this is an error in the Swift 6 language mode
62 | private static var registeredActorsCheckRunning = false
63 |
64 | public static let any = Actor()
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Actor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'any' 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
65 | public static let main = MainActor()
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:55:12: note: class 'Actor' does not conform to the 'Sendable' protocol
53 | }
54 |
55 | open class Actor: Equatable, Hashable {
| `- note: class 'Actor' does not conform to the 'Sendable' protocol
56 | #if FLYNN_LEAK_ACTOR
57 | struct WeakActor {
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:65:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'MainActor' may have shared mutable state; this is an error in the Swift 6 language mode
14 | // your own MainActor simply by subclasses MainActor. You can
15 | // also just use Flynn.main
16 | public class MainActor: Actor {
| `- note: class 'MainActor' does not conform to the 'Sendable' protocol
17 | @discardableResult
18 | @inlinable
:
63 |
64 | public static let any = Actor()
65 | public static let main = MainActor()
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'MainActor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
66 |
67 | public static let ignore: () -> () = { }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:67:23: warning: static property 'ignore' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
65 | public static let main = MainActor()
66 |
67 | public static let ignore: () -> () = { }
| |- warning: static property 'ignore' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignore' 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
68 | public static let warning: () -> () = {
69 | print("warning: remote call error'd out")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:68:23: warning: static property 'warning' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | public static let ignore: () -> () = { }
68 | public static let warning: () -> () = {
| |- warning: static property 'warning' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warning' 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
69 | print("warning: remote call error'd out")
70 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:71:23: warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
69 | print("warning: remote call error'd out")
70 | }
71 | public static let fatal: () -> () = {
| |- warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fatal' 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
72 | fatalError("Flynn.fatal called")
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:75:16: warning: static property 'remotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | static var remotes = RemoteActorManager()
| |- warning: static property 'remotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'remotes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'remotes' 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
76 |
77 | public class func startup(schedulerCount: Int = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:25:13: warning: capture of 'block' with non-sendable type 'PonyBlock' (aka '(UInt64) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | }
24 | DispatchQueue.main.async {
25 | block(0)
| |- warning: capture of 'block' with non-sendable type 'PonyBlock' (aka '(UInt64) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
26 | }
27 | return self
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:25:13: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
23 | }
24 | DispatchQueue.main.async {
25 | block(0)
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
26 | }
27 | return self
[32/36] Compiling Flynn Actor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:284:14: 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
282 | fatalError("safeTask may not be called on an already suspended actor")
283 | }
284 | 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
285 | while pony_actor_is_suspended(actorPtr) == false {
| `- note: closure captures non-Sendable 'actorPtr'
286 | Flynn.usleep(50)
287 | }
288 | await block {
| `- note: closure captures non-Sendable 'block'
289 | pony_actor_resume(actorPtr)
290 | }
[33/36] Compiling Flynn Atomics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:284:14: 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
282 | fatalError("safeTask may not be called on an already suspended actor")
283 | }
284 | 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
285 | while pony_actor_is_suspended(actorPtr) == false {
| `- note: closure captures non-Sendable 'actorPtr'
286 | Flynn.usleep(50)
287 | }
288 | await block {
| `- note: closure captures non-Sendable 'block'
289 | pony_actor_resume(actorPtr)
290 | }
[34/36] Compiling Flynn RemoteActorManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:75:16: warning: static property 'remotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | static var remotes = RemoteActorManager()
| |- warning: static property 'remotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'remotes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'remotes' 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
76 |
77 | public class func startup(schedulerCount: Int = 0,
[35/36] Emitting module Flynn
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Extensions.swift:27:17: warning: let 'pool' is not concurrency-safe because non-'Sendable' type '[Actor]' may have shared mutable state; this is an error in the Swift 6 language mode
25 | public typealias synchronizedBlock = (emptyBlock) -> ()
26 |
27 | fileprivate let pool = Array<Actor>.init(count: maxActors, create: { return CollectionActor() })
| |- warning: let 'pool' is not concurrency-safe because non-'Sendable' type '[Actor]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | // Simple parallel processing for common collections
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:55:12: note: class 'Actor' does not conform to the 'Sendable' protocol
53 | }
54 |
55 | open class Actor: Equatable, Hashable {
| `- note: class 'Actor' does not conform to the 'Sendable' protocol
56 | #if FLYNN_LEAK_ACTOR
57 | struct WeakActor {
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Extensions.swift:119:13: warning: capture of 'block' with non-sendable type '(T.Element, @escaping synchronizedBlock) -> ()' (aka '(T.Element, @escaping (() -> ()) -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 | group.enter()
118 | queue.addOperation {
119 | block(item) { synchronized in
| |- warning: capture of 'block' with non-sendable type '(T.Element, @escaping synchronizedBlock) -> ()' (aka '(T.Element, @escaping (() -> ()) -> ()) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
120 | lock.lock()
121 | synchronized()
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Extensions.swift:119:19: warning: capture of 'item' with non-sendable type 'T.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 | group.enter()
118 | queue.addOperation {
119 | block(item) { synchronized in
| `- warning: capture of 'item' with non-sendable type 'T.Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | lock.lock()
121 | synchronized()
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn+Group.swift:6:17: warning: var 'flynnGroupDidInit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | fileprivate let lock = NSLock()
6 | fileprivate var flynnGroupDidInit: Bool = false
| |- warning: var 'flynnGroupDidInit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'flynnGroupDidInit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'flynnGroupDidInit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public extension DispatchGroup {
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn+Timer.swift:102:24: warning: static property 'registeredTimersQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
100 | }
101 |
102 | private static var registeredTimersQueue = Queue<Timer>(size: 1024,
| |- warning: static property 'registeredTimersQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registeredTimersQueue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'registeredTimersQueue' 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
103 | manyProducers: true,
104 | manyConsumers: true)
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:51:23: warning: static property 'defaultActorAffinity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | public static var defaultActorAffinity: CoreAffinity = .preferEfficiency
50 | #else
51 | public static var defaultActorAffinity: CoreAffinity = .none
| |- warning: static property 'defaultActorAffinity' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultActorAffinity' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultActorAffinity' 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
52 | #endif
53 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:54:24: warning: static property 'dockedQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | #endif
53 |
54 | private static var dockedQueue = Queue<Actor>(size: 1024,
| |- warning: static property 'dockedQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dockedQueue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dockedQueue' 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
55 | manyProducers: true,
56 | manyConsumers: true)
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:58:24: warning: static property 'timerLoop' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 | manyConsumers: true)
57 |
58 | private static var timerLoop: TimerLoop?
| |- warning: static property 'timerLoop' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timerLoop' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timerLoop' 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
59 | private static var running = AtomicContidion()
60 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:59:24: warning: static property 'running' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | private static var timerLoop: TimerLoop?
59 | private static var running = AtomicContidion()
| |- warning: static property 'running' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'running' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'running' 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
60 |
61 | private static var timeStart: TimeInterval = 0
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:61:24: warning: static property 'timeStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 | private static var running = AtomicContidion()
60 |
61 | private static var timeStart: TimeInterval = 0
| |- warning: static property 'timeStart' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timeStart' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'timeStart' 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
62 | private static var registeredActorsCheckRunning = false
63 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:62:24: warning: static property 'registeredActorsCheckRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | private static var timeStart: TimeInterval = 0
62 | private static var registeredActorsCheckRunning = false
| |- warning: static property 'registeredActorsCheckRunning' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'registeredActorsCheckRunning' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'registeredActorsCheckRunning' 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
63 |
64 | public static let any = Actor()
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:64:23: warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Actor' may have shared mutable state; this is an error in the Swift 6 language mode
62 | private static var registeredActorsCheckRunning = false
63 |
64 | public static let any = Actor()
| |- warning: static property 'any' is not concurrency-safe because non-'Sendable' type 'Actor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'any' 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
65 | public static let main = MainActor()
66 |
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:55:12: note: class 'Actor' does not conform to the 'Sendable' protocol
53 | }
54 |
55 | open class Actor: Equatable, Hashable {
| `- note: class 'Actor' does not conform to the 'Sendable' protocol
56 | #if FLYNN_LEAK_ACTOR
57 | struct WeakActor {
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:65:23: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'MainActor' may have shared mutable state; this is an error in the Swift 6 language mode
14 | // your own MainActor simply by subclasses MainActor. You can
15 | // also just use Flynn.main
16 | public class MainActor: Actor {
| `- note: class 'MainActor' does not conform to the 'Sendable' protocol
17 | @discardableResult
18 | @inlinable
:
63 |
64 | public static let any = Actor()
65 | public static let main = MainActor()
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'MainActor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' 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
66 |
67 | public static let ignore: () -> () = { }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:67:23: warning: static property 'ignore' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
65 | public static let main = MainActor()
66 |
67 | public static let ignore: () -> () = { }
| |- warning: static property 'ignore' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignore' 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
68 | public static let warning: () -> () = {
69 | print("warning: remote call error'd out")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:68:23: warning: static property 'warning' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | public static let ignore: () -> () = { }
68 | public static let warning: () -> () = {
| |- warning: static property 'warning' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warning' 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
69 | print("warning: remote call error'd out")
70 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:71:23: warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
69 | print("warning: remote call error'd out")
70 | }
71 | public static let fatal: () -> () = {
| |- warning: static property 'fatal' is not concurrency-safe because non-'Sendable' type '() -> ()' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fatal' 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
72 | fatalError("Flynn.fatal called")
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:75:16: warning: static property 'remotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | }
74 |
75 | static var remotes = RemoteActorManager()
| |- warning: static property 'remotes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'remotes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'remotes' 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
76 |
77 | public class func startup(schedulerCount: Int = 0,
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:25:13: warning: capture of 'block' with non-sendable type 'PonyBlock' (aka '(UInt64) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | }
24 | DispatchQueue.main.async {
25 | block(0)
| |- warning: capture of 'block' with non-sendable type 'PonyBlock' (aka '(UInt64) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
26 | }
27 | return self
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Remote/RemoteActor.swift:15:17: warning: var 'unsafeGlobalRunnerIdx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public typealias RemoteActor = ( InternalRemoteActor & BehaviorRegisterable )
14 |
15 | fileprivate var unsafeGlobalRunnerIdx = 0
| |- warning: var 'unsafeGlobalRunnerIdx' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unsafeGlobalRunnerIdx' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unsafeGlobalRunnerIdx' 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 | open class InternalRemoteActor: Equatable, Hashable {
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/TimedOperationQueue.swift:83:24: warning: static property 'didBeginWatchThread' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
81 | private let operationQueue = OperationQueue()
82 |
83 | private static var didBeginWatchThread = false
| |- warning: static property 'didBeginWatchThread' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'didBeginWatchThread' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'didBeginWatchThread' 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
84 | private static let staticLock = NSLock()
85 | private static var weakTimedOperationQueues: [WeakTimedOperationQueue] = []
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/TimedOperationQueue.swift:85:24: warning: static property 'weakTimedOperationQueues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | private static var didBeginWatchThread = false
84 | private static let staticLock = NSLock()
85 | private static var weakTimedOperationQueues: [WeakTimedOperationQueue] = []
| |- warning: static property 'weakTimedOperationQueues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'weakTimedOperationQueues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'weakTimedOperationQueues' 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
86 | private static func register(_ timedOperationQueue: TimedOperationQueue) {
87 | staticLock.lock()
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Actor.swift:284:14: 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
282 | fatalError("safeTask may not be called on an already suspended actor")
283 | }
284 | 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
285 | while pony_actor_is_suspended(actorPtr) == false {
| `- note: closure captures non-Sendable 'actorPtr'
286 | Flynn.usleep(50)
287 | }
288 | await block {
| `- note: closure captures non-Sendable 'block'
289 | pony_actor_resume(actorPtr)
290 | }
/Users/admin/builder/spi-builder-workspace/Sources/Flynn/Flynn.swift:25:13: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
23 | }
24 | DispatchQueue.main.async {
25 | block(0)
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
26 | }
27 | return self
[36/36] Compiling Flynn FlynnPlugin.swift
Build complete! (18.45s)
Build complete.
error: The file “FlynnPluginTool-focal-571.zip” couldn’t be opened.
Done.