The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of HotReloading, reference main (59d1b9), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 18:11:51 UTC.

Swift 6 data race errors: 40

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

/Users/admin/builder/spi-builder-workspace/Sources/injectiond/AppDelegate.swift:413:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
411 |                 let image = NSImage(contentsOfFile: path) {
412 |     //            image.template = TRUE;
413 |                 self.statusItem.image = image
    |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
414 |                 self.statusItem.alternateImage = self.statusItem.image
415 |                 let appRunning = tiffName != "InjectionIdle"
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/AppDelegate.swift:450:40: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
448 |     func setFrameworks(_ frameworks: String, menuTitle: String) {
449 |         DispatchQueue.main.async {
450 |             guard let frameworksMenu = self.traceItem.submenu?
    |                                        |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
451 |                     .item(withTitle: menuTitle)?.submenu else { return }
452 |             frameworksMenu.removeAllItems()
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/AppDelegate.swift:464:9: warning: sending 'sender' risks causing data races; this is an error in the Swift 6 language mode
462 |
463 |     @objc func traceFramework(_ sender: NSMenuItem) {
464 |         toggleState(sender)
    |         |- warning: sending 'sender' risks causing data races; this is an error in the Swift 6 language mode
    |         `- note: sending main actor-isolated 'sender' to main actor-isolated instance method 'toggleState' risks causing data races between main actor-isolated and local nonisolated uses
465 |         lastConnection?.sendCommand(.traceFramework, with: sender.title)
    |                       `- note: access can happen concurrently
466 |     }
467 |
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/AppDelegate.swift:464:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
462 |
463 |     @objc func traceFramework(_ sender: NSMenuItem) {
464 |         toggleState(sender)
    |         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |         `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'toggleState' risks causing data races between main actor-isolated and local nonisolated uses
465 |         lastConnection?.sendCommand(.traceFramework, with: sender.title)
    |                       `- note: access can happen concurrently
466 |     }
467 |
[70/88] Emitting module injectiond
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/AppDelegate.swift:23:5: warning: var 'appDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 | let XcodeBundleID = "com.apple.dt.Xcode"
 23 | var appDelegate: AppDelegate!
    |     |- warning: var 'appDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'appDelegate' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'appDelegate' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |
 25 | enum InjectionState: String {
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/FileWatcher.swift:21:16: warning: static property 'INJECTABLE_PATTERN' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 | public class FileWatcher: NSObject {
 20 |     public typealias InjectionCallback = (_ filesChanged: NSArray, _ ideProcPath: String) -> Void
 21 |     static var INJECTABLE_PATTERN = try! NSRegularExpression(
    |                |- warning: static property 'INJECTABLE_PATTERN' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'INJECTABLE_PATTERN' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'INJECTABLE_PATTERN' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         pattern: "[^~]\\.(mm?|cpp|swift|storyboard|xib)$")
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/FileWatcher.swift:25:16: warning: static property 'derivedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |     static let logsPref = "HotReloadingBuildLogsDir"
 25 |     static var derivedLog =
    |                |- warning: static property 'derivedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'derivedLog' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'derivedLog' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |         UserDefaults.standard.string(forKey: logsPref) {
 27 |         didSet {
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/InjectionServer.swift:21:5: warning: var 'projectInjected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 | let compileQueue = DispatchQueue(label: "InjectionCompile")
 20 |
 21 | var projectInjected = [String: [String: TimeInterval]]()
    |     |- warning: var 'projectInjected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'projectInjected' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: add '@MainActor' to make var 'projectInjected' part of global actor 'MainActor'
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 | let MIN_INJECTION_INTERVAL = 1.0
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/SwiftEval.swift:157:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 155 | public class SwiftEval: NSObject {
 156 |
 157 |     static var instance = SwiftEval()
     |                |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 158 |     static let bundleLink = "/tmp/injection.link"
 159 |
/Users/admin/builder/spi-builder-workspace/Sources/injectiond/UnhidingEval.swift:50:16: warning: static property 'lastProcessed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |     static let unhideQueue = DispatchQueue(label: "unhide")
 49 |
 50 |     static var lastProcessed = [URL: time_t]()
    |                |- warning: static property 'lastProcessed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastProcessed' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastProcessed' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     var unhidden = false
[70/88] Write Objects.LinkFileList
[71/88] Linking injectiond
[72/88] Applying injectiond
[74/88] Compiling HotReloading InjectionStats.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionStats.swift:59:34: warning: reference to class property 'traceableFunctionSuffixes' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 |     @objc public class func packageNames() -> [String] {
58 |         var packages = Set<String>()
59 |         for suffix in SwiftTrace.traceableFunctionSuffixes {
   |                                  `- warning: reference to class property 'traceableFunctionSuffixes' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
60 |             findSwiftSymbols(Bundle.main.executablePath!, suffix) {
61 |                 (_, symname: UnsafePointer<Int8>, _, _) in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftInterpose.swift:24:23: note: class property declared here
 22 |     /// getters of Opaque type (for SwiftUI body properties)
 23 |     /// and setters and destructors.
 24 |     public static var traceableFunctionSuffixes = ["fC", "F", "Qrvg", "s", "fD"]
    |                       `- note: class property declared here
 25 |
 26 |     /// Regexp pattern for functions to exclude from interposing
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionStats.swift:73:46: warning: reference to class property 'liveObjects' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
71 |
72 |     @objc public class func objectCounts() {
73 |         for (className, count) in SwiftTrace.liveObjects
   |                                              `- warning: reference to class property 'liveObjects' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 |             .map({(_typeName(autoBitCast($0.key)), $0.value.count)})
75 |             .sorted(by: {$0.0 < $1.0}) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftLifetime.swift:32:23: note: class property declared here
 30 | extension SwiftTrace {
 31 |
 32 |     public static var liveObjects = [UnsafeRawPointer: Set<UnsafeRawPointer>]()
    |                       `- note: class property declared here
 33 |     public static var liveObjectsLock = OS_SPINLOCK_INIT
 34 |     private static var reaperKey = strdup("_reaper_")!
[75/88] Compiling HotReloading ObjcInjection.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionStats.swift:59:34: warning: reference to class property 'traceableFunctionSuffixes' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 |     @objc public class func packageNames() -> [String] {
58 |         var packages = Set<String>()
59 |         for suffix in SwiftTrace.traceableFunctionSuffixes {
   |                                  `- warning: reference to class property 'traceableFunctionSuffixes' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
60 |             findSwiftSymbols(Bundle.main.executablePath!, suffix) {
61 |                 (_, symname: UnsafePointer<Int8>, _, _) in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftInterpose.swift:24:23: note: class property declared here
 22 |     /// getters of Opaque type (for SwiftUI body properties)
 23 |     /// and setters and destructors.
 24 |     public static var traceableFunctionSuffixes = ["fC", "F", "Qrvg", "s", "fD"]
    |                       `- note: class property declared here
 25 |
 26 |     /// Regexp pattern for functions to exclude from interposing
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionStats.swift:73:46: warning: reference to class property 'liveObjects' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
71 |
72 |     @objc public class func objectCounts() {
73 |         for (className, count) in SwiftTrace.liveObjects
   |                                              `- warning: reference to class property 'liveObjects' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 |             .map({(_typeName(autoBitCast($0.key)), $0.value.count)})
75 |             .sorted(by: {$0.0 < $1.0}) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftLifetime.swift:32:23: note: class property declared here
 30 | extension SwiftTrace {
 31 |
 32 |     public static var liveObjects = [UnsafeRawPointer: Set<UnsafeRawPointer>]()
    |                       `- note: class property declared here
 33 |     public static var liveObjectsLock = OS_SPINLOCK_INIT
 34 |     private static var reaperKey = strdup("_reaper_")!
[76/88] Compiling HotReloading SwiftInterpose.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInterpose.swift:67:60: warning: reference to class property 'injectableSymbol' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 65 |         }
 66 |         #endif
 67 |         filterImageSymbols(ST_LAST_IMAGE, .any, SwiftTrace.injectableSymbol) {
    |                                                            `- warning: reference to class property 'injectableSymbol' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 68 |             (loadedFunc, symbol, _, _) in
 69 |             guard let existing = dlsym(main, symbol) ??
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftTrace.swift:454:29: note: class property declared here
452 |     /// - Parameter symname: Pointer to symbol name
453 |     /// - Returns: Whether symbol should be patched
454 |     @objc public static var injectableSymbol: // STSymbolFilter
    |                             `- note: class property declared here
455 |         (UnsafePointer<CChar>) -> Bool = { symname in
456 | //        print("Injectable?", String(cString: symname))
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInterpose.swift:97:39: warning: reference to class property 'initialRebindings' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 95 |             // Need to apply previous interposes
 96 |             // to the newly loaded dylib as well.
 97 |             var previous = SwiftTrace.initialRebindings
    |                                       `- warning: reference to class property 'initialRebindings' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 98 |             var already = Set<UnsafeRawPointer>()
 99 |             let interposed = NSObject.swiftTraceInterposed.bindMemory(to:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftInterpose.swift:30:23: note: class property declared here
 28 |
 29 |     /// Base rebindings applied to each injected file.
 30 |     public static var initialRebindings = [rebinding]()
    |                       `- note: class property declared here
 31 |
 32 |     /// "interpose" aspects onto Swift function name.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInterpose.swift:155:23: warning: reference to class property 'preserveStatics' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
153 |             symbolSuffixes.append("Ma") // meta data accessors
154 |         }
155 |         if SwiftTrace.preserveStatics {
    |                       `- warning: reference to class property 'preserveStatics' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
156 |             symbolSuffixes.append("vau") // static variable "mutable addressors"
157 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftTrace.swift:448:23: note: class property declared here
446 |     }
447 |
448 |     public static var preserveStatics = false
    |                       `- note: class property declared here
449 |     public static let deviceInjection = lastPseudoImage() != nil
450 |
[77/89] Compiling HotReloading UnhidingEval.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/UnhidingEval.swift:50:16: warning: static property 'lastProcessed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |     static let unhideQueue = DispatchQueue(label: "unhide")
 49 |
 50 |     static var lastProcessed = [URL: time_t]()
    |                |- warning: static property 'lastProcessed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastProcessed' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastProcessed' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     var unhidden = false
[78/89] Emitting module HotReloading
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/DynamicCast.swift:35:16: warning: static property 'swift_dynamicCast' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
33 |      _ size: size_t) -> Bool
34 |
35 |     static let swift_dynamicCast = strdup("swift_dynamicCast")!
   |                |- warning: static property 'swift_dynamicCast' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'swift_dynamicCast' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |     static let original_dynamicCast: injection_dynamicCast_t? =
37 |         autoBitCast(dlsym(SwiftMeta.RTLD_DEFAULT, swift_dynamicCast))
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/DynamicCast.swift:38:16: warning: static property 'hooked_dynamicCast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |     static let original_dynamicCast: injection_dynamicCast_t? =
37 |         autoBitCast(dlsym(SwiftMeta.RTLD_DEFAULT, swift_dynamicCast))
38 |     static var hooked_dynamicCast: UnsafeMutableRawPointer? = {
   |                |- warning: static property 'hooked_dynamicCast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'hooked_dynamicCast' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'hooked_dynamicCast' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |         let module = _typeName(DynamicCast.self)
40 |             .components(separatedBy: ".")[0]
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/DynamicCast.swift:48:16: warning: static property 'rebinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 |     }()
47 |
48 |     static var rebinds = original_dynamicCast != nil &&
   |                |- warning: static property 'rebinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'rebinds' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'rebinds' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |                            hooked_dynamicCast != nil ? [
50 |         rebinding(name: swift_dynamicCast,
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/DynamicCast.swift:54:16: warning: static property 'hook_appDynamicCast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |                   replaced: nil)] : []
53 |
54 |     static var hook_appDynamicCast: Void = {
   |                |- warning: static property 'hook_appDynamicCast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'hook_appDynamicCast' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'hook_appDynamicCast' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |         appBundleImages { imageName, header, slide in
56 |             rebind_symbols_image(autoBitCast(header), slide,
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/FileWatcher.swift:21:16: warning: static property 'INJECTABLE_PATTERN' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 | public class FileWatcher: NSObject {
 20 |     public typealias InjectionCallback = (_ filesChanged: NSArray, _ ideProcPath: String) -> Void
 21 |     static var INJECTABLE_PATTERN = try! NSRegularExpression(
    |                |- warning: static property 'INJECTABLE_PATTERN' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'INJECTABLE_PATTERN' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'INJECTABLE_PATTERN' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         pattern: "[^~]\\.(mm?|cpp|swift|storyboard|xib)$")
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/FileWatcher.swift:25:16: warning: static property 'derivedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |     static let logsPref = "HotReloadingBuildLogsDir"
 25 |     static var derivedLog =
    |                |- warning: static property 'derivedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'derivedLog' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'derivedLog' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |         UserDefaults.standard.string(forKey: logsPref) {
 27 |         didSet {
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/ReducerInjection.swift:28:16: warning: static property 'injectableReducerSymbols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | extension SwiftInjection {
27 |
28 |     static var injectableReducerSymbols = Set<String>()
   |                |- warning: static property 'injectableReducerSymbols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'injectableReducerSymbols' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'injectableReducerSymbols' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     static var checkReducerInitializers: Void = {
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/ReducerInjection.swift:30:16: warning: static property 'checkReducerInitializers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |     static var injectableReducerSymbols = Set<String>()
29 |
30 |     static var checkReducerInitializers: Void = {
   |                |- warning: static property 'checkReducerInitializers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'checkReducerInitializers' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'checkReducerInitializers' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |             var expectedInjectableReducerSymbols = Set<String>()
32 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/StandaloneInjection.swift:29:16: warning: static property 'singleton' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 27 | class StandaloneInjection: InjectionClient {
 28 |
 29 |     static var singleton: StandaloneInjection?
    |                |- warning: static property 'singleton' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'singleton' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'singleton' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |     var watchers = [FileWatcher]()
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftEval.swift:37:24: warning: static property 'lastEvalByClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  35 | extension NSObject {
  36 |
  37 |     private static var lastEvalByClass = [String: String]()
     |                        |- warning: static property 'lastEvalByClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'lastEvalByClass' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'lastEvalByClass' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  38 |
  39 |     @objc public func swiftEval(code: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftEval.swift:157:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 155 | public class SwiftEval: NSObject {
 156 |
 157 |     static var instance = SwiftEval()
     |                |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 158 |     static let bundleLink = "/tmp/injection.link"
 159 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:90:22: warning: static property 'traceInjection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 88 |
 89 |     public typealias SymbolName = UnsafePointer<CChar>
 90 |     @objc static var traceInjection = false
    |                      |- warning: static property 'traceInjection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'traceInjection' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: add '@MainActor' to make static property 'traceInjection' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 |     // The various environment variables
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:118:16: warning: static property 'injectionDetail' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
116 |     static let notification = Notification.Name("INJECTION_BUNDLE_NOTIFICATION")
117 |
118 |     static var injectionDetail = getenv(INJECTION_DETAIL) != nil
    |                |- warning: static property 'injectionDetail' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'injectionDetail' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'injectionDetail' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |     static let registerClasses = false && SwiftTrace.deviceInjection
120 |     static var objcClassRefs = NSMutableArray()
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:120:16: warning: static property 'objcClassRefs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 |     static var injectionDetail = getenv(INJECTION_DETAIL) != nil
119 |     static let registerClasses = false && SwiftTrace.deviceInjection
120 |     static var objcClassRefs = NSMutableArray()
    |                |- warning: static property 'objcClassRefs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'objcClassRefs' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'objcClassRefs' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |     static var descriptorRefs = NSMutableArray()
122 |     static var injectedPrefix: String {
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:121:16: warning: static property 'descriptorRefs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
119 |     static let registerClasses = false && SwiftTrace.deviceInjection
120 |     static var objcClassRefs = NSMutableArray()
121 |     static var descriptorRefs = NSMutableArray()
    |                |- warning: static property 'descriptorRefs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'descriptorRefs' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'descriptorRefs' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |     static var injectedPrefix: String {
123 |         return "#\(SwiftEval.instance.injectionNumber-100)/"
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:203:20: warning: reference to class property 'preserveStatics' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
201 |
202 |         injectionDetail = getenv(INJECTION_DETAIL) != nil
203 |         SwiftTrace.preserveStatics = getenv(INJECTION_PRESERVE_STATICS) != nil
    |                    `- warning: reference to class property 'preserveStatics' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
204 |         if getenv(INJECTION_TRACE) != nil {
205 |             traceInjection = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftTrace.swift:448:23: note: class property declared here
446 |     }
447 |
448 |     public static var preserveStatics = false
    |                       `- note: class property declared here
449 |     public static let deviceInjection = lastPseudoImage() != nil
450 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:206:24: warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
204 |         if getenv(INJECTION_TRACE) != nil {
205 |             traceInjection = true
206 |             SwiftTrace.typeLookup = true
    |                        `- warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
207 |         }
208 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftArgs.swift:105:23: note: class property declared here
103 |      Enable auto decoration of unknown types
104 |      */
105 |     static public var typeLookup = false
    |                       `- note: class property declared here
106 |
107 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:340:37: warning: reference to captured var 'testClasses' in concurrently-executing code
338 |                 testQueue.suspend()
339 |                 let timer = Timer(timeInterval: 0, repeats:false, block: { _ in
340 |                     for newClass in testClasses {
    |                                     `- warning: reference to captured var 'testClasses' in concurrently-executing code
341 |                         NSObject.runXCTestCase(newClass)
342 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftKeyPath.swift:23:16: warning: static property 'save_getKeyPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     static let keyPathFuncName = "swift_getKeyPath"
 23 |     static var save_getKeyPath: KeyPathFunc!
    |                |- warning: static property 'save_getKeyPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'save_getKeyPath' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'save_getKeyPath' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |
 25 |     static var cache = [String: ViewBodyKeyPaths]()
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftKeyPath.swift:25:16: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |     static var save_getKeyPath: KeyPathFunc!
 24 |
 25 |     static var cache = [String: ViewBodyKeyPaths]()
    |                |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |     static var lastInjectionNumber = SwiftEval().injectionNumber
 27 |     static var hasInjected = false
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftKeyPath.swift:26:16: warning: static property 'lastInjectionNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 |     static var cache = [String: ViewBodyKeyPaths]()
 26 |     static var lastInjectionNumber = SwiftEval().injectionNumber
    |                |- warning: static property 'lastInjectionNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastInjectionNumber' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastInjectionNumber' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     static var hasInjected = false
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftKeyPath.swift:27:16: warning: static property 'hasInjected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |     static var cache = [String: ViewBodyKeyPaths]()
 26 |     static var lastInjectionNumber = SwiftEval().injectionNumber
 27 |     static var hasInjected = false
    |                |- warning: static property 'hasInjected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'hasInjected' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'hasInjected' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |
 29 |     var lastOffset = 0
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftSweeper.swift:45:16: warning: static property 'sweepWarned' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |     }()
 44 |
 45 |     static var sweepWarned = false
    |                |- warning: static property 'sweepWarned' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'sweepWarned' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'sweepWarned' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     public class func performSweep(oldClasses: [AnyClass], _ tmpfile: String,
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftSweeper.swift:111:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | class SwiftSweeper {
110 |
111 |     static var current: SwiftSweeper?
    |                |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |
113 |     let instanceTask: (AnyObject) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftSweeper.swift:125:38: warning: conditional cast from 'Any' to 'AnyObject' always succeeds
123 |         /// Fixes a potential crash that the value is not accessible during injection.
124 | //        print(value)
125 |         guard !containsType && value as? AnyObject != nil else { return }
    |                                      `- warning: conditional cast from 'Any' to 'AnyObject' always succeeds
126 |
127 |         let mirror = Mirror(reflecting: value)
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/UnhidingEval.swift:50:16: warning: static property 'lastProcessed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 |     static let unhideQueue = DispatchQueue(label: "unhide")
 49 |
 50 |     static var lastProcessed = [URL: time_t]()
    |                |- warning: static property 'lastProcessed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastProcessed' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastProcessed' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     var unhidden = false
[79/89] Compiling HotReloading FileWatcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/FileWatcher.swift:21:16: warning: static property 'INJECTABLE_PATTERN' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 | public class FileWatcher: NSObject {
 20 |     public typealias InjectionCallback = (_ filesChanged: NSArray, _ ideProcPath: String) -> Void
 21 |     static var INJECTABLE_PATTERN = try! NSRegularExpression(
    |                |- warning: static property 'INJECTABLE_PATTERN' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'INJECTABLE_PATTERN' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'INJECTABLE_PATTERN' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         pattern: "[^~]\\.(mm?|cpp|swift|storyboard|xib)$")
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/FileWatcher.swift:25:16: warning: static property 'derivedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |     static let logsPref = "HotReloadingBuildLogsDir"
 25 |     static var derivedLog =
    |                |- warning: static property 'derivedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'derivedLog' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'derivedLog' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |         UserDefaults.standard.string(forKey: logsPref) {
 27 |         didSet {
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:132:20: warning: reference to class property 'swizzleFactory' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 |         }
131 |
132 |         SwiftTrace.swizzleFactory = SwiftTrace.LifetimeTracker.self
    |                    `- warning: reference to class property 'swizzleFactory' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
133 |
134 |         if let projectRoot = getenv(SwiftInjection.INJECTION_PROJECT_ROOT) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftTrace.swift:48:23: note: class property declared here
 46 |         Class used to create "Sizzle" instances representing a member function
 47 |      */
 48 |     public static var swizzleFactory: Swizzle.Type = Decorated.self
    |                       `- note: class property declared here
 49 |
 50 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:233:24: warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
231 |             SwiftInjection.traceInjection = readString() == "1"
232 |         case .lookup:
233 |             SwiftTrace.typeLookup = readString() == "1"
    |                        `- warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
234 |             if SwiftTrace.swiftTracing {
235 |                 log("Discovery of target app's types switched \(SwiftTrace.typeLookup ? "on" : "off")");
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftArgs.swift:105:23: note: class property declared here
103 |      Enable auto decoration of unknown types
104 |      */
105 |     static public var typeLookup = false
    |                       `- note: class property declared here
106 |
107 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:235:76: warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
233 |             SwiftTrace.typeLookup = readString() == "1"
234 |             if SwiftTrace.swiftTracing {
235 |                 log("Discovery of target app's types switched \(SwiftTrace.typeLookup ? "on" : "off")");
    |                                                                            `- warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
236 |             }
237 |         case .trace:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftArgs.swift:105:23: note: class property declared here
103 |      Enable auto decoration of unknown types
104 |      */
105 |     static public var typeLookup = false
    |                       `- note: class property declared here
106 |
107 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:318:25: warning: capture of 'builder' with non-sendable type 'SwiftEval' in a '@Sendable' closure
316 |                     var err: String?
317 |                     do {
318 |                         builder.injectionNumber += 1
    |                         `- warning: capture of 'builder' with non-sendable type 'SwiftEval' in a '@Sendable' closure
319 |                         try data.write(to: URL(fileURLWithPath: "\(builder.tmpfile).dylib"))
320 |                         try SwiftInjection.inject(tmpfile: builder.tmpfile)
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftEval.swift:155:14: note: class 'SwiftEval' does not conform to the 'Sendable' protocol
 153 |
 154 | @objc(SwiftEval)
 155 | public class SwiftEval: NSObject {
     |              `- note: class 'SwiftEval' does not conform to the 'Sendable' protocol
 156 |
 157 |     static var instance = SwiftEval()
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:322:25: warning: capture of 'self' with non-sendable type 'InjectionClient' in a '@Sendable' closure
 35 |
 36 | @objc(InjectionClient)
 37 | public class InjectionClient: SimpleSocket, InjectionReader {
    |              `- note: class 'InjectionClient' does not conform to the 'Sendable' protocol
 38 |
 39 |     let injectionQueue = isVapor ? DispatchQueue(label: "InjectionQueue") : .main
    :
320 |                         try SwiftInjection.inject(tmpfile: builder.tmpfile)
321 |                     } catch {
322 |                         self.log("⚠️ Injection error: \(error)")
    |                         `- warning: capture of 'self' with non-sendable type 'InjectionClient' in a '@Sendable' closure
323 |                         err = "\(error)"
324 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:398:21: warning: capture of 'builder' with non-sendable type 'SwiftEval' in a '@Sendable' closure
396 |             case .load:
397 |                 do {
398 |                     builder.injectionNumber += 1
    |                     `- warning: capture of 'builder' with non-sendable type 'SwiftEval' in a '@Sendable' closure
399 |                     try SwiftInjection.inject(tmpfile: changed)
400 |                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftEval.swift:155:14: note: class 'SwiftEval' does not conform to the 'Sendable' protocol
 153 |
 154 | @objc(SwiftEval)
 155 | public class SwiftEval: NSObject {
     |              `- note: class 'SwiftEval' does not conform to the 'Sendable' protocol
 156 |
 157 |     static var instance = SwiftEval()
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:423:17: warning: capture of 'self' with non-sendable type 'InjectionClient' in a '@Sendable' closure
 35 |
 36 | @objc(InjectionClient)
 37 | public class InjectionClient: SimpleSocket, InjectionReader {
    |              `- note: class 'InjectionClient' does not conform to the 'Sendable' protocol
 38 |
 39 |     let injectionQueue = isVapor ? DispatchQueue(label: "InjectionQueue") : .main
    :
421 |                 let parts = changed.components(separatedBy:"^")
422 |                 guard let pathID = Int(parts[0]) else { break }
423 |                 self.writeCommand(InjectionResponse.pause.rawValue, with:"5")
    |                 `- warning: capture of 'self' with non-sendable type 'InjectionClient' in a '@Sendable' closure
424 |                 if let object = (xprobePaths[pathID] as? XprobePath)?
425 |                     .object() as? NSObject, object.responds(to: Selector(("swiftEvalWithCode:"))),
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:413:45: warning: capture of 'builder' with non-sendable type 'SwiftEval' in an isolated closure; this is an error in the Swift 6 language mode
411 |                     #endif
412 |                 } else {
413 |                     builder.forceUnhide = { builder.startUnhide() }
    |                                             `- warning: capture of 'builder' with non-sendable type 'SwiftEval' in an isolated closure; this is an error in the Swift 6 language mode
414 |                     SwiftInjection.inject(classNameOrFile: changed)
415 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftEval.swift:155:14: note: class 'SwiftEval' does not conform to the 'Sendable' protocol
 153 |
 154 | @objc(SwiftEval)
 155 | public class SwiftEval: NSObject {
     |              `- note: class 'SwiftEval' does not conform to the 'Sendable' protocol
 156 |
 157 |     static var instance = SwiftEval()
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:424:34: warning: reference to var 'xprobePaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
422 |                 guard let pathID = Int(parts[0]) else { break }
423 |                 self.writeCommand(InjectionResponse.pause.rawValue, with:"5")
424 |                 if let object = (xprobePaths[pathID] as? XprobePath)?
    |                                  `- warning: reference to var 'xprobePaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
425 |                     .object() as? NSObject, object.responds(to: Selector(("swiftEvalWithCode:"))),
426 |                    let code = (parts[3] as NSString).removingPercentEncoding,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/XprobePlugin/Sources/Xprobe/include/Xprobe.h:155:38: note: var declared here
153 | #pragma Xprobe globals
154 |
155 | extern NSMutableArray<XprobePath *> *xprobePaths;
    |                                      `- note: var declared here
156 | extern BOOL xprobeRetainObjects;
157 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/FileWatcher.swift:80:30: warning: sending 'watcher' risks causing data races; this is an error in the Swift 6 language mode
 78 |                          }
 79 |                          DispatchQueue.main.async {
 80 |                              watcher.filesChanged(changes: changes)
    |                              |- warning: sending 'watcher' risks causing data races; this is an error in the Swift 6 language mode
    |                              `- note: task-isolated 'watcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 81 |                          }
 82 |                          return
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/FileWatcher.swift:80:60: warning: sending 'changes' risks causing data races; this is an error in the Swift 6 language mode
 78 |                          }
 79 |                          DispatchQueue.main.async {
 80 |                              watcher.filesChanged(changes: changes)
    |                                                            |- warning: sending 'changes' risks causing data races; this is an error in the Swift 6 language mode
    |                                                            `- note: task-isolated 'changes' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 81 |                          }
 82 |                          return
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:257:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
255 |                 let OSView: AnyClass = (objc_getClass("UIView") ??
256 |                     objc_getClass("NSView")) as! AnyClass
257 |                 log("Adding trace to the framework containg \(OSView), this will take a while...")
    |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
258 |                 SwiftTrace.traceBundle(containing: OSView)
259 |                 log("Completed adding trace.")
[80/89] Compiling HotReloading InjectionClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/FileWatcher.swift:21:16: warning: static property 'INJECTABLE_PATTERN' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 | public class FileWatcher: NSObject {
 20 |     public typealias InjectionCallback = (_ filesChanged: NSArray, _ ideProcPath: String) -> Void
 21 |     static var INJECTABLE_PATTERN = try! NSRegularExpression(
    |                |- warning: static property 'INJECTABLE_PATTERN' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'INJECTABLE_PATTERN' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'INJECTABLE_PATTERN' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |         pattern: "[^~]\\.(mm?|cpp|swift|storyboard|xib)$")
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/FileWatcher.swift:25:16: warning: static property 'derivedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |     static let logsPref = "HotReloadingBuildLogsDir"
 25 |     static var derivedLog =
    |                |- warning: static property 'derivedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'derivedLog' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'derivedLog' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |         UserDefaults.standard.string(forKey: logsPref) {
 27 |         didSet {
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:132:20: warning: reference to class property 'swizzleFactory' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 |         }
131 |
132 |         SwiftTrace.swizzleFactory = SwiftTrace.LifetimeTracker.self
    |                    `- warning: reference to class property 'swizzleFactory' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
133 |
134 |         if let projectRoot = getenv(SwiftInjection.INJECTION_PROJECT_ROOT) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftTrace.swift:48:23: note: class property declared here
 46 |         Class used to create "Sizzle" instances representing a member function
 47 |      */
 48 |     public static var swizzleFactory: Swizzle.Type = Decorated.self
    |                       `- note: class property declared here
 49 |
 50 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:233:24: warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
231 |             SwiftInjection.traceInjection = readString() == "1"
232 |         case .lookup:
233 |             SwiftTrace.typeLookup = readString() == "1"
    |                        `- warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
234 |             if SwiftTrace.swiftTracing {
235 |                 log("Discovery of target app's types switched \(SwiftTrace.typeLookup ? "on" : "off")");
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftArgs.swift:105:23: note: class property declared here
103 |      Enable auto decoration of unknown types
104 |      */
105 |     static public var typeLookup = false
    |                       `- note: class property declared here
106 |
107 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:235:76: warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
233 |             SwiftTrace.typeLookup = readString() == "1"
234 |             if SwiftTrace.swiftTracing {
235 |                 log("Discovery of target app's types switched \(SwiftTrace.typeLookup ? "on" : "off")");
    |                                                                            `- warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
236 |             }
237 |         case .trace:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftArgs.swift:105:23: note: class property declared here
103 |      Enable auto decoration of unknown types
104 |      */
105 |     static public var typeLookup = false
    |                       `- note: class property declared here
106 |
107 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:318:25: warning: capture of 'builder' with non-sendable type 'SwiftEval' in a '@Sendable' closure
316 |                     var err: String?
317 |                     do {
318 |                         builder.injectionNumber += 1
    |                         `- warning: capture of 'builder' with non-sendable type 'SwiftEval' in a '@Sendable' closure
319 |                         try data.write(to: URL(fileURLWithPath: "\(builder.tmpfile).dylib"))
320 |                         try SwiftInjection.inject(tmpfile: builder.tmpfile)
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftEval.swift:155:14: note: class 'SwiftEval' does not conform to the 'Sendable' protocol
 153 |
 154 | @objc(SwiftEval)
 155 | public class SwiftEval: NSObject {
     |              `- note: class 'SwiftEval' does not conform to the 'Sendable' protocol
 156 |
 157 |     static var instance = SwiftEval()
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:322:25: warning: capture of 'self' with non-sendable type 'InjectionClient' in a '@Sendable' closure
 35 |
 36 | @objc(InjectionClient)
 37 | public class InjectionClient: SimpleSocket, InjectionReader {
    |              `- note: class 'InjectionClient' does not conform to the 'Sendable' protocol
 38 |
 39 |     let injectionQueue = isVapor ? DispatchQueue(label: "InjectionQueue") : .main
    :
320 |                         try SwiftInjection.inject(tmpfile: builder.tmpfile)
321 |                     } catch {
322 |                         self.log("⚠️ Injection error: \(error)")
    |                         `- warning: capture of 'self' with non-sendable type 'InjectionClient' in a '@Sendable' closure
323 |                         err = "\(error)"
324 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:398:21: warning: capture of 'builder' with non-sendable type 'SwiftEval' in a '@Sendable' closure
396 |             case .load:
397 |                 do {
398 |                     builder.injectionNumber += 1
    |                     `- warning: capture of 'builder' with non-sendable type 'SwiftEval' in a '@Sendable' closure
399 |                     try SwiftInjection.inject(tmpfile: changed)
400 |                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftEval.swift:155:14: note: class 'SwiftEval' does not conform to the 'Sendable' protocol
 153 |
 154 | @objc(SwiftEval)
 155 | public class SwiftEval: NSObject {
     |              `- note: class 'SwiftEval' does not conform to the 'Sendable' protocol
 156 |
 157 |     static var instance = SwiftEval()
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:423:17: warning: capture of 'self' with non-sendable type 'InjectionClient' in a '@Sendable' closure
 35 |
 36 | @objc(InjectionClient)
 37 | public class InjectionClient: SimpleSocket, InjectionReader {
    |              `- note: class 'InjectionClient' does not conform to the 'Sendable' protocol
 38 |
 39 |     let injectionQueue = isVapor ? DispatchQueue(label: "InjectionQueue") : .main
    :
421 |                 let parts = changed.components(separatedBy:"^")
422 |                 guard let pathID = Int(parts[0]) else { break }
423 |                 self.writeCommand(InjectionResponse.pause.rawValue, with:"5")
    |                 `- warning: capture of 'self' with non-sendable type 'InjectionClient' in a '@Sendable' closure
424 |                 if let object = (xprobePaths[pathID] as? XprobePath)?
425 |                     .object() as? NSObject, object.responds(to: Selector(("swiftEvalWithCode:"))),
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:413:45: warning: capture of 'builder' with non-sendable type 'SwiftEval' in an isolated closure; this is an error in the Swift 6 language mode
411 |                     #endif
412 |                 } else {
413 |                     builder.forceUnhide = { builder.startUnhide() }
    |                                             `- warning: capture of 'builder' with non-sendable type 'SwiftEval' in an isolated closure; this is an error in the Swift 6 language mode
414 |                     SwiftInjection.inject(classNameOrFile: changed)
415 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftEval.swift:155:14: note: class 'SwiftEval' does not conform to the 'Sendable' protocol
 153 |
 154 | @objc(SwiftEval)
 155 | public class SwiftEval: NSObject {
     |              `- note: class 'SwiftEval' does not conform to the 'Sendable' protocol
 156 |
 157 |     static var instance = SwiftEval()
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:424:34: warning: reference to var 'xprobePaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
422 |                 guard let pathID = Int(parts[0]) else { break }
423 |                 self.writeCommand(InjectionResponse.pause.rawValue, with:"5")
424 |                 if let object = (xprobePaths[pathID] as? XprobePath)?
    |                                  `- warning: reference to var 'xprobePaths' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
425 |                     .object() as? NSObject, object.responds(to: Selector(("swiftEvalWithCode:"))),
426 |                    let code = (parts[3] as NSString).removingPercentEncoding,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/XprobePlugin/Sources/Xprobe/include/Xprobe.h:155:38: note: var declared here
153 | #pragma Xprobe globals
154 |
155 | extern NSMutableArray<XprobePath *> *xprobePaths;
    |                                      `- note: var declared here
156 | extern BOOL xprobeRetainObjects;
157 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/FileWatcher.swift:80:30: warning: sending 'watcher' risks causing data races; this is an error in the Swift 6 language mode
 78 |                          }
 79 |                          DispatchQueue.main.async {
 80 |                              watcher.filesChanged(changes: changes)
    |                              |- warning: sending 'watcher' risks causing data races; this is an error in the Swift 6 language mode
    |                              `- note: task-isolated 'watcher' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 81 |                          }
 82 |                          return
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/FileWatcher.swift:80:60: warning: sending 'changes' risks causing data races; this is an error in the Swift 6 language mode
 78 |                          }
 79 |                          DispatchQueue.main.async {
 80 |                              watcher.filesChanged(changes: changes)
    |                                                            |- warning: sending 'changes' risks causing data races; this is an error in the Swift 6 language mode
    |                                                            `- note: task-isolated 'changes' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 81 |                          }
 82 |                          return
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/InjectionClient.swift:257:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
255 |                 let OSView: AnyClass = (objc_getClass("UIView") ??
256 |                     objc_getClass("NSView")) as! AnyClass
257 |                 log("Adding trace to the framework containg \(OSView), this will take a while...")
    |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
258 |                 SwiftTrace.traceBundle(containing: OSView)
259 |                 log("Completed adding trace.")
[81/89] Compiling HotReloading DeviceInjection.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/DynamicCast.swift:35:16: warning: static property 'swift_dynamicCast' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
33 |      _ size: size_t) -> Bool
34 |
35 |     static let swift_dynamicCast = strdup("swift_dynamicCast")!
   |                |- warning: static property 'swift_dynamicCast' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'swift_dynamicCast' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |     static let original_dynamicCast: injection_dynamicCast_t? =
37 |         autoBitCast(dlsym(SwiftMeta.RTLD_DEFAULT, swift_dynamicCast))
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/DynamicCast.swift:38:16: warning: static property 'hooked_dynamicCast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |     static let original_dynamicCast: injection_dynamicCast_t? =
37 |         autoBitCast(dlsym(SwiftMeta.RTLD_DEFAULT, swift_dynamicCast))
38 |     static var hooked_dynamicCast: UnsafeMutableRawPointer? = {
   |                |- warning: static property 'hooked_dynamicCast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'hooked_dynamicCast' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'hooked_dynamicCast' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |         let module = _typeName(DynamicCast.self)
40 |             .components(separatedBy: ".")[0]
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/DynamicCast.swift:48:16: warning: static property 'rebinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 |     }()
47 |
48 |     static var rebinds = original_dynamicCast != nil &&
   |                |- warning: static property 'rebinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'rebinds' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'rebinds' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |                            hooked_dynamicCast != nil ? [
50 |         rebinding(name: swift_dynamicCast,
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/DynamicCast.swift:54:16: warning: static property 'hook_appDynamicCast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |                   replaced: nil)] : []
53 |
54 |     static var hook_appDynamicCast: Void = {
   |                |- warning: static property 'hook_appDynamicCast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'hook_appDynamicCast' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'hook_appDynamicCast' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |         appBundleImages { imageName, header, slide in
56 |             rebind_symbols_image(autoBitCast(header), slide,
[82/89] Compiling HotReloading DynamicCast.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/DynamicCast.swift:35:16: warning: static property 'swift_dynamicCast' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
33 |      _ size: size_t) -> Bool
34 |
35 |     static let swift_dynamicCast = strdup("swift_dynamicCast")!
   |                |- warning: static property 'swift_dynamicCast' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'swift_dynamicCast' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |     static let original_dynamicCast: injection_dynamicCast_t? =
37 |         autoBitCast(dlsym(SwiftMeta.RTLD_DEFAULT, swift_dynamicCast))
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/DynamicCast.swift:38:16: warning: static property 'hooked_dynamicCast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |     static let original_dynamicCast: injection_dynamicCast_t? =
37 |         autoBitCast(dlsym(SwiftMeta.RTLD_DEFAULT, swift_dynamicCast))
38 |     static var hooked_dynamicCast: UnsafeMutableRawPointer? = {
   |                |- warning: static property 'hooked_dynamicCast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'hooked_dynamicCast' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'hooked_dynamicCast' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |         let module = _typeName(DynamicCast.self)
40 |             .components(separatedBy: ".")[0]
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/DynamicCast.swift:48:16: warning: static property 'rebinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 |     }()
47 |
48 |     static var rebinds = original_dynamicCast != nil &&
   |                |- warning: static property 'rebinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'rebinds' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'rebinds' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |                            hooked_dynamicCast != nil ? [
50 |         rebinding(name: swift_dynamicCast,
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/DynamicCast.swift:54:16: warning: static property 'hook_appDynamicCast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |                   replaced: nil)] : []
53 |
54 |     static var hook_appDynamicCast: Void = {
   |                |- warning: static property 'hook_appDynamicCast' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'hook_appDynamicCast' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'hook_appDynamicCast' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |         appBundleImages { imageName, header, slide in
56 |             rebind_symbols_image(autoBitCast(header), slide,
[83/89] Compiling HotReloading Vaccine.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:34:17: warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
 32 |                 CATransaction.setAnimationDuration(1.0)
 33 |                 CATransaction.setAnimationTimingFunction(CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut))
 34 |                 defer { CATransaction.commit() }
    |                 `- warning: 'defer' statement at end of scope always executes immediately; replace with 'do' statement to silence this warning
 35 |             }
 36 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:30:31: warning: main actor-isolated property 'nibName' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 24 |
 25 | class Vaccine {
 26 |     func performInjection(on object: AnyObject) {
    |          `- note: add '@MainActor' to make instance method 'performInjection(on:)' part of global actor 'MainActor'
 27 |         switch object {
 28 |         case let viewController as ViewController:
 29 |             let snapshotView: View? = createSnapshotViewIfNeeded(for: viewController)
 30 |             if viewController.nibName == nil {
    |                               `- warning: main actor-isolated property 'nibName' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 31 |                 CATransaction.begin()
 32 |                 CATransaction.setAnimationDuration(1.0)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:62:48: note: property declared here
 60 | /* Return the name of the nib to be loaded to instantiate the view. The default implementation returns whatever value was passed to the initializer.
 61 | */
 62 | @property (nullable, copy, readonly) NSNibName nibName;
    |                                                `- note: property declared here
 63 |
 64 | /* Return the bundle that the nib will be loaded from. The default implementation returns whatever value was passed to the initializer.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:40:35: warning: main actor-isolated property 'parent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 24 |
 25 | class Vaccine {
 26 |     func performInjection(on object: AnyObject) {
    |          `- note: add '@MainActor' to make instance method 'performInjection(on:)' part of global actor 'MainActor'
 27 |         switch object {
 28 |         case let viewController as ViewController:
    :
 38 |
 39 |             #if os(macOS)
 40 |             reload(viewController.parent ?? viewController)
    |                                   `- warning: main actor-isolated property 'parent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 41 |             #else
 42 |             // Opt-out from performing Vaccine reloads on parent
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:197:50: note: property declared here
195 | /* Returns the ancestor of this view controller. Can return nil if this is the contentViewController, or there is no parent for the given view controller.
196 | */
197 | @property (nullable, readonly) NSViewController *parentViewController API_AVAILABLE(macos(10.10));
    |                                                  `- note: property declared here
198 |
199 | /* An array of children view controllers. Assignment of the array filters all additions and removals through the insert and remove API below.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:68:29: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 65 |     }
 66 |
 67 |     private func reload(_ viewController: ViewController) {
    |                  `- note: add '@MainActor' to make instance method 'reload' part of global actor 'MainActor'
 68 |         viewController.view.subviews.forEach { $0.removeFromSuperview() }
    |                             `- warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 69 |         clean(view: viewController.view)
 70 |         viewController.loadView()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: note: property declared here
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- note: property declared here
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:68:24: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 65 |     }
 66 |
 67 |     private func reload(_ viewController: ViewController) {
    |                  `- note: add '@MainActor' to make instance method 'reload' part of global actor 'MainActor'
 68 |         viewController.view.subviews.forEach { $0.removeFromSuperview() }
    |                        `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 69 |         clean(view: viewController.view)
 70 |         viewController.loadView()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
 76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
 77 | */
 78 | @property (strong) IBOutlet NSView *view;
    |                                     `- note: property declared here
 79 |
 80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:68:51: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 66 |
 67 |     private func reload(_ viewController: ViewController) {
 68 |         viewController.view.subviews.forEach { $0.removeFromSuperview() }
    |                                                   `- warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 69 |         clean(view: viewController.view)
 70 |         viewController.loadView()
AppKit.NSView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func removeFromSuperview()}
  |                      |- note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:69:36: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 65 |     }
 66 |
 67 |     private func reload(_ viewController: ViewController) {
    |                  `- note: add '@MainActor' to make instance method 'reload' part of global actor 'MainActor'
 68 |         viewController.view.subviews.forEach { $0.removeFromSuperview() }
 69 |         clean(view: viewController.view)
    |                                    `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 70 |         viewController.loadView()
 71 |         viewController.viewDidLoad()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
 76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
 77 | */
 78 | @property (strong) IBOutlet NSView *view;
    |                                     `- note: property declared here
 79 |
 80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:70:24: warning: call to main actor-isolated instance method 'loadView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 65 |     }
 66 |
 67 |     private func reload(_ viewController: ViewController) {
    |                  `- note: add '@MainActor' to make instance method 'reload' part of global actor 'MainActor'
 68 |         viewController.view.subviews.forEach { $0.removeFromSuperview() }
 69 |         clean(view: viewController.view)
 70 |         viewController.loadView()
    |                        `- warning: call to main actor-isolated instance method 'loadView()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 71 |         viewController.viewDidLoad()
 72 |         viewController.viewWillAppear()
AppKit.NSViewController.loadView:2:22: note: calls to instance method 'loadView()' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @MainActor open func loadView()}
  |                      |- note: calls to instance method 'loadView()' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:71:24: warning: call to main actor-isolated instance method 'viewDidLoad()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 65 |     }
 66 |
 67 |     private func reload(_ viewController: ViewController) {
    |                  `- note: add '@MainActor' to make instance method 'reload' part of global actor 'MainActor'
 68 |         viewController.view.subviews.forEach { $0.removeFromSuperview() }
 69 |         clean(view: viewController.view)
 70 |         viewController.loadView()
 71 |         viewController.viewDidLoad()
    |                        `- warning: call to main actor-isolated instance method 'viewDidLoad()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 72 |         viewController.viewWillAppear()
 73 |         viewController.viewDidAppear()
AppKit.NSViewController.viewDidLoad:3:24: note: calls to instance method 'viewDidLoad()' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @MainActor open func viewDidLoad()}
  |                        |- note: calls to instance method 'viewDidLoad()' from outside of its actor context are implicitly asynchronous
  |                        `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:72:24: warning: call to main actor-isolated instance method 'viewWillAppear()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 65 |     }
 66 |
 67 |     private func reload(_ viewController: ViewController) {
    |                  `- note: add '@MainActor' to make instance method 'reload' part of global actor 'MainActor'
 68 |         viewController.view.subviews.forEach { $0.removeFromSuperview() }
 69 |         clean(view: viewController.view)
 70 |         viewController.loadView()
 71 |         viewController.viewDidLoad()
 72 |         viewController.viewWillAppear()
    |                        `- warning: call to main actor-isolated instance method 'viewWillAppear()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 73 |         viewController.viewDidAppear()
 74 |         refreshSubviews(on: viewController.view)
AppKit.NSViewController.viewWillAppear:3:24: note: calls to instance method 'viewWillAppear()' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @MainActor open func viewWillAppear()}
  |                        |- note: calls to instance method 'viewWillAppear()' from outside of its actor context are implicitly asynchronous
  |                        `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:73:24: warning: call to main actor-isolated instance method 'viewDidAppear()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 65 |     }
 66 |
 67 |     private func reload(_ viewController: ViewController) {
    |                  `- note: add '@MainActor' to make instance method 'reload' part of global actor 'MainActor'
 68 |         viewController.view.subviews.forEach { $0.removeFromSuperview() }
 69 |         clean(view: viewController.view)
    :
 71 |         viewController.viewDidLoad()
 72 |         viewController.viewWillAppear()
 73 |         viewController.viewDidAppear()
    |                        `- warning: call to main actor-isolated instance method 'viewDidAppear()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 74 |         refreshSubviews(on: viewController.view)
 75 |     }
AppKit.NSViewController.viewDidAppear:3:24: note: calls to instance method 'viewDidAppear()' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @MainActor open func viewDidAppear()}
  |                        |- note: calls to instance method 'viewDidAppear()' from outside of its actor context are implicitly asynchronous
  |                        `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:74:44: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 65 |     }
 66 |
 67 |     private func reload(_ viewController: ViewController) {
    |                  `- note: add '@MainActor' to make instance method 'reload' part of global actor 'MainActor'
 68 |         viewController.view.subviews.forEach { $0.removeFromSuperview() }
 69 |         clean(view: viewController.view)
    :
 72 |         viewController.viewWillAppear()
 73 |         viewController.viewDidAppear()
 74 |         refreshSubviews(on: viewController.view)
    |                                            `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 75 |     }
 76 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
 76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
 77 | */
 78 | @property (strong) IBOutlet NSView *view;
    |                                     `- note: property declared here
 79 |
 80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:82:14: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 75 |     }
 76 |
 77 |     private func reload(_ view: View) {
    |                  `- note: add '@MainActor' to make instance method 'reload' part of global actor 'MainActor'
 78 |         let selector = _Selector("loadView")
 79 |         guard view.responds(to: selector) == true else { return }
 80 |
 81 |         #if os(macOS)
 82 |         view.animator().perform(selector)
    |              `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 83 |         #else
 84 |         UIView.animate(withDuration: 0.3, delay: 0.0, options: [.allowAnimatedContent,
AppKit.NSView.animator:3:24: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.5, *)
3 |   @MainActor open func animator() -> Self}
  |                        |- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
  |                        `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:93:67: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 90 |     }
 91 |
 92 |     private func createSnapshotViewIfNeeded(for viewController: ViewController) -> View? {
    |                  `- note: add '@MainActor' to make instance method 'createSnapshotViewIfNeeded(for:)' part of global actor 'MainActor'
 93 |         if let snapshotView = createSnapshot(from: viewController.view), viewController.nibName == nil {
    |                                                                   `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 94 |             #if os(macOS)
 95 |             viewController.view.window?.contentView?.addSubview(snapshotView)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
 76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
 77 | */
 78 | @property (strong) IBOutlet NSView *view;
    |                                     `- note: property declared here
 79 |
 80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:93:89: warning: main actor-isolated property 'nibName' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 90 |     }
 91 |
 92 |     private func createSnapshotViewIfNeeded(for viewController: ViewController) -> View? {
    |                  `- note: add '@MainActor' to make instance method 'createSnapshotViewIfNeeded(for:)' part of global actor 'MainActor'
 93 |         if let snapshotView = createSnapshot(from: viewController.view), viewController.nibName == nil {
    |                                                                                         `- warning: main actor-isolated property 'nibName' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 94 |             #if os(macOS)
 95 |             viewController.view.window?.contentView?.addSubview(snapshotView)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:62:48: note: property declared here
 60 | /* Return the name of the nib to be loaded to instantiate the view. The default implementation returns whatever value was passed to the initializer.
 61 | */
 62 | @property (nullable, copy, readonly) NSNibName nibName;
    |                                                `- note: property declared here
 63 |
 64 | /* Return the bundle that the nib will be loaded from. The default implementation returns whatever value was passed to the initializer.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:95:54: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 90 |     }
 91 |
 92 |     private func createSnapshotViewIfNeeded(for viewController: ViewController) -> View? {
    |                  `- note: add '@MainActor' to make instance method 'createSnapshotViewIfNeeded(for:)' part of global actor 'MainActor'
 93 |         if let snapshotView = createSnapshot(from: viewController.view), viewController.nibName == nil {
 94 |             #if os(macOS)
 95 |             viewController.view.window?.contentView?.addSubview(snapshotView)
    |                                                      `- warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 96 |             #else
 97 |             let maskView = UIView()
AppKit.NSView.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func addSubview(_ view: NSView)}
  |                      |- note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:95:41: warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 90 |     }
 91 |
 92 |     private func createSnapshotViewIfNeeded(for viewController: ViewController) -> View? {
    |                  `- note: add '@MainActor' to make instance method 'createSnapshotViewIfNeeded(for:)' part of global actor 'MainActor'
 93 |         if let snapshotView = createSnapshot(from: viewController.view), viewController.nibName == nil {
 94 |             #if os(macOS)
 95 |             viewController.view.window?.contentView?.addSubview(snapshotView)
    |                                         `- warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 96 |             #else
 97 |             let maskView = UIView()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:337:47: note: property declared here
 335 | - (void)setTitleWithRepresentedFilename:(NSString *)filename;
 336 | @property (getter=isExcludedFromWindowsMenu) BOOL excludedFromWindowsMenu;
 337 | @property (nullable, strong) __kindof NSView *contentView;
     |                                               `- note: property declared here
 338 | @property (nullable, weak) id<NSWindowDelegate> delegate;
 339 | @property (readonly) NSInteger windowNumber;
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:95:33: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 90 |     }
 91 |
 92 |     private func createSnapshotViewIfNeeded(for viewController: ViewController) -> View? {
    |                  `- note: add '@MainActor' to make instance method 'createSnapshotViewIfNeeded(for:)' part of global actor 'MainActor'
 93 |         if let snapshotView = createSnapshot(from: viewController.view), viewController.nibName == nil {
 94 |             #if os(macOS)
 95 |             viewController.view.window?.contentView?.addSubview(snapshotView)
    |                                 `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 96 |             #else
 97 |             let maskView = UIView()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
    |                                                             `- note: property declared here
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:95:28: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 90 |     }
 91 |
 92 |     private func createSnapshotViewIfNeeded(for viewController: ViewController) -> View? {
    |                  `- note: add '@MainActor' to make instance method 'createSnapshotViewIfNeeded(for:)' part of global actor 'MainActor'
 93 |         if let snapshotView = createSnapshot(from: viewController.view), viewController.nibName == nil {
 94 |             #if os(macOS)
 95 |             viewController.view.window?.contentView?.addSubview(snapshotView)
    |                            `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 96 |             #else
 97 |             let maskView = UIView()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
 76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
 77 | */
 78 | @property (strong) IBOutlet NSView *view;
    |                                     `- note: property declared here
 79 |
 80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:112:60: warning: main actor-isolated property 'nibName' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 |     }
110 |
111 |     private func cleanSnapshotViewIfNeeded(_ snapshotView: View?, viewController: ViewController) {
    |                  `- note: add '@MainActor' to make instance method 'cleanSnapshotViewIfNeeded(_:viewController:)' part of global actor 'MainActor'
112 |         if let snapshotView = snapshotView, viewController.nibName == nil {
    |                                                            `- warning: main actor-isolated property 'nibName' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 |             #if os(macOS)
114 |             NSAnimationContext.runAnimationGroup({ (context) in
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:62:48: note: property declared here
 60 | /* Return the name of the nib to be loaded to instantiate the view. The default implementation returns whatever value was passed to the initializer.
 61 | */
 62 | @property (nullable, copy, readonly) NSNibName nibName;
    |                                                `- note: property declared here
 63 |
 64 | /* Return the bundle that the nib will be loaded from. The default implementation returns whatever value was passed to the initializer.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:117:41: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
115 |                 context.allowsImplicitAnimation = true
116 |                 context.duration = 0.25
117 |                 snapshotView.animator().alphaValue = 0.0
    |                                         `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
118 |             }, completionHandler: {
119 |                 snapshotView.removeFromSuperview()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:269:19: note: mutation of this property is only permitted within the actor
267 | @property BOOL needsLayout API_AVAILABLE(macos(10.7));
268 |
269 | @property CGFloat alphaValue API_AVAILABLE(macos(10.5));
    |                   `- note: mutation of this property is only permitted within the actor
270 |
271 | /* If you have set a custom layer on your view, and it (or one of its sublayers) uses CIFilters, you should set this. You do not need to set this if you are using the backgroundFilters, compositingFilter, or contentFilters properties below. See the release notes for more information.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:117:30: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 |                 context.allowsImplicitAnimation = true
116 |                 context.duration = 0.25
117 |                 snapshotView.animator().alphaValue = 0.0
    |                              `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 |             }, completionHandler: {
119 |                 snapshotView.removeFromSuperview()
AppKit.NSView.animator:3:24: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.5, *)
3 |   @MainActor open func animator() -> Self}
  |                        |- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
  |                        `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:119:30: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
117 |                 snapshotView.animator().alphaValue = 0.0
118 |             }, completionHandler: {
119 |                 snapshotView.removeFromSuperview()
    |                              `- warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
120 |             })
121 |             #else
AppKit.NSView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func removeFromSuperview()}
  |                      |- note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:137:14: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 |     }
135 |
136 |     private func clean(view: View) {
    |                  `- note: add '@MainActor' to make instance method 'clean(view:)' part of global actor 'MainActor'
137 |         view.subviews.forEach { $0.removeFromSuperview() }
    |              `- warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
138 |
139 |         #if os(macOS)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: note: property declared here
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- note: property declared here
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:137:36: warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
135 |
136 |     private func clean(view: View) {
137 |         view.subviews.forEach { $0.removeFromSuperview() }
    |                                    `- warning: call to main actor-isolated instance method 'removeFromSuperview()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 |
139 |         #if os(macOS)
AppKit.NSView.removeFromSuperview:2:22: note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func removeFromSuperview()}
  |                      |- note: calls to instance method 'removeFromSuperview()' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:140:33: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 |     }
135 |
136 |     private func clean(view: View) {
    |                  `- note: add '@MainActor' to make instance method 'clean(view:)' part of global actor 'MainActor'
137 |         view.subviews.forEach { $0.removeFromSuperview() }
138 |
139 |         #if os(macOS)
140 |         if let sublayers = view.layer?.sublayers {
    |                                 `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
141 |             sublayers.forEach { $0.removeFromSuperlayer() }
142 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:152:14: warning: call to main actor-isolated instance method 'subviewsRecursive()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 18 |
 19 | extension View {
 20 |     func subviewsRecursive() -> [View] {
    |          |- note: calls to instance method 'subviewsRecursive()' from outside of its actor context are implicitly asynchronous
    |          `- note: main actor isolation inferred from inheritance from class 'NSResponder'
 21 |         return subviews + subviews.flatMap { $0.subviewsRecursive() }
 22 |     }
    :
148 |     }
149 |
150 |     private func refreshSubviews(on view: View) {
    |                  `- note: add '@MainActor' to make instance method 'refreshSubviews(on:)' part of global actor 'MainActor'
151 |         #if os(macOS)
152 |         view.subviewsRecursive().forEach { view in
    |              `- warning: call to main actor-isolated instance method 'subviewsRecursive()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
153 |             (view as? NSTableView)?.reloadData()
154 |             (view as? NSCollectionView)?.reloadData()
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:153:37: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
151 |         #if os(macOS)
152 |         view.subviewsRecursive().forEach { view in
153 |             (view as? NSTableView)?.reloadData()
    |                                     `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
154 |             (view as? NSCollectionView)?.reloadData()
155 |             view.needsLayout = true
AppKit.NSTableView.reloadData:2:22: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
1 | class NSTableView {
2 | @MainActor open func reloadData()}
  |                      |- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSControl'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:154:42: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
152 |         view.subviewsRecursive().forEach { view in
153 |             (view as? NSTableView)?.reloadData()
154 |             (view as? NSCollectionView)?.reloadData()
    |                                          `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
155 |             view.needsLayout = true
156 |             view.layout()
AppKit.NSCollectionView.reloadData:3:24: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionView {
2 | @available(macOS 10.11, *)
3 |   @MainActor open func reloadData()}
  |                        |- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
  |                        `- note: main actor isolation inferred from inheritance from class 'NSView'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:155:18: warning: main actor-isolated property 'needsLayout' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
153 |             (view as? NSTableView)?.reloadData()
154 |             (view as? NSCollectionView)?.reloadData()
155 |             view.needsLayout = true
    |                  `- warning: main actor-isolated property 'needsLayout' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
156 |             view.layout()
157 |             view.needsDisplay = true
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:267:16: note: mutation of this property is only permitted within the actor
265 | - (void)layoutSubtreeIfNeeded API_AVAILABLE(macos(10.7));
266 | - (void)layout API_AVAILABLE(macos(10.7));
267 | @property BOOL needsLayout API_AVAILABLE(macos(10.7));
    |                `- note: mutation of this property is only permitted within the actor
268 |
269 | @property CGFloat alphaValue API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:156:18: warning: call to main actor-isolated instance method 'layout()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
154 |             (view as? NSCollectionView)?.reloadData()
155 |             view.needsLayout = true
156 |             view.layout()
    |                  `- warning: call to main actor-isolated instance method 'layout()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
157 |             view.needsDisplay = true
158 |             view.display()
AppKit.NSView.layout:3:24: note: calls to instance method 'layout()' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.7, *)
3 |   @MainActor open func layout()}
  |                        |- note: calls to instance method 'layout()' from outside of its actor context are implicitly asynchronous
  |                        `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:157:18: warning: main actor-isolated property 'needsDisplay' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
155 |             view.needsLayout = true
156 |             view.layout()
157 |             view.needsDisplay = true
    |                  `- warning: main actor-isolated property 'needsDisplay' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
158 |             view.display()
159 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:187:16: note: mutation of this property is only permitted within the actor
185 | @property (readonly) BOOL canDraw API_DEPRECATED("If a view needs display, -drawRect: or -updateLayer will be called automatically when the view is able to draw.  To check whether a view is in a window, call -window.  To check whether a view is hidden, call -isHiddenOrHasHiddenAncestor.", macos(10.0,10.14));
186 | - (void)setNeedsDisplayInRect:(NSRect)invalidRect;
187 | @property BOOL needsDisplay;
    |                `- note: mutation of this property is only permitted within the actor
188 | - (void)lockFocus API_DEPRECATED("To draw, subclass NSView and implement -drawRect:; AppKit's automatic deferred display mechanism will call -drawRect: as necessary to display the view.", macos(10.0,10.14));
189 | - (void)unlockFocus API_DEPRECATED("To draw, subclass NSView and implement -drawRect:; AppKit's automatic deferred display mechanism will call -drawRect: as necessary to display the view.", macos(10.0,10.14));
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:158:18: warning: call to main actor-isolated instance method 'display()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
156 |             view.layout()
157 |             view.needsDisplay = true
158 |             view.display()
    |                  `- warning: call to main actor-isolated instance method 'display()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
159 |         }
160 |         #else
AppKit.NSView.display:2:22: note: calls to instance method 'display()' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func display()}
  |                      |- note: calls to instance method 'display()' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:174:70: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
169 |     }
170 |
171 |     private func indexScrollViews(on viewController: ViewController) -> [ScrollView] {
    |                  `- note: add '@MainActor' to make instance method 'indexScrollViews(on:)' part of global actor 'MainActor'
172 |         var scrollViews = [ScrollView]()
173 |
174 |         for case let scrollView as ScrollView in viewController.view.subviews {
    |                                                                      `- warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 |             scrollViews.append(scrollView)
176 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: note: property declared here
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- note: property declared here
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:174:65: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
169 |     }
170 |
171 |     private func indexScrollViews(on viewController: ViewController) -> [ScrollView] {
    |                  `- note: add '@MainActor' to make instance method 'indexScrollViews(on:)' part of global actor 'MainActor'
172 |         var scrollViews = [ScrollView]()
173 |
174 |         for case let scrollView as ScrollView in viewController.view.subviews {
    |                                                                 `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
175 |             scrollViews.append(scrollView)
176 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
 76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
 77 | */
 78 | @property (strong) IBOutlet NSView *view;
    |                                     `- note: property declared here
 79 |
 80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:178:54: warning: main actor-isolated property 'parent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
169 |     }
170 |
171 |     private func indexScrollViews(on viewController: ViewController) -> [ScrollView] {
    |                  `- note: add '@MainActor' to make instance method 'indexScrollViews(on:)' part of global actor 'MainActor'
172 |         var scrollViews = [ScrollView]()
173 |
    :
176 |         }
177 |
178 |         if let parentViewController = viewController.parent {
    |                                                      `- warning: main actor-isolated property 'parent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
179 |             for case let scrollView as ScrollView in parentViewController.view.subviews {
180 |                 scrollViews.append(scrollView)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:197:50: note: property declared here
195 | /* Returns the ancestor of this view controller. Can return nil if this is the contentViewController, or there is no parent for the given view controller.
196 | */
197 | @property (nullable, readonly) NSViewController *parentViewController API_AVAILABLE(macos(10.10));
    |                                                  `- note: property declared here
198 |
199 | /* An array of children view controllers. Assignment of the array filters all additions and removals through the insert and remove API below.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:179:80: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
169 |     }
170 |
171 |     private func indexScrollViews(on viewController: ViewController) -> [ScrollView] {
    |                  `- note: add '@MainActor' to make instance method 'indexScrollViews(on:)' part of global actor 'MainActor'
172 |         var scrollViews = [ScrollView]()
173 |
    :
177 |
178 |         if let parentViewController = viewController.parent {
179 |             for case let scrollView as ScrollView in parentViewController.view.subviews {
    |                                                                                `- warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
180 |                 scrollViews.append(scrollView)
181 |             }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: note: property declared here
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- note: property declared here
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:179:75: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
169 |     }
170 |
171 |     private func indexScrollViews(on viewController: ViewController) -> [ScrollView] {
    |                  `- note: add '@MainActor' to make instance method 'indexScrollViews(on:)' part of global actor 'MainActor'
172 |         var scrollViews = [ScrollView]()
173 |
    :
177 |
178 |         if let parentViewController = viewController.parent {
179 |             for case let scrollView as ScrollView in parentViewController.view.subviews {
    |                                                                           `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
180 |                 scrollViews.append(scrollView)
181 |             }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
 76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
 77 | */
 78 | @property (strong) IBOutlet NSView *view;
    |                                     `- note: property declared here
 79 |
 80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:184:51: warning: main actor-isolated property 'children' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
169 |     }
170 |
171 |     private func indexScrollViews(on viewController: ViewController) -> [ScrollView] {
    |                  `- note: add '@MainActor' to make instance method 'indexScrollViews(on:)' part of global actor 'MainActor'
172 |         var scrollViews = [ScrollView]()
173 |
    :
182 |         }
183 |
184 |         for childViewController in viewController.children {
    |                                                   `- warning: main actor-isolated property 'children' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
185 |             for case let scrollView as ScrollView in childViewController.view.subviews {
186 |                 scrollViews.append(scrollView)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:201:56: note: property declared here
199 | /* An array of children view controllers. Assignment of the array filters all additions and removals through the insert and remove API below.
200 | */
201 | @property (copy) NSArray<__kindof NSViewController *> *childViewControllers API_AVAILABLE(macos(10.10));
    |                                                        `- note: property declared here
202 |
203 | /* A convenience method for adding a child view controller; this simply calls insertChildViewController:atIndex: at the end of the array.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:185:79: warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
169 |     }
170 |
171 |     private func indexScrollViews(on viewController: ViewController) -> [ScrollView] {
    |                  `- note: add '@MainActor' to make instance method 'indexScrollViews(on:)' part of global actor 'MainActor'
172 |         var scrollViews = [ScrollView]()
173 |
    :
183 |
184 |         for childViewController in viewController.children {
185 |             for case let scrollView as ScrollView in childViewController.view.subviews {
    |                                                                               `- warning: main actor-isolated property 'subviews' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
186 |                 scrollViews.append(scrollView)
187 |             }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: note: property declared here
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- note: property declared here
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:185:74: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
169 |     }
170 |
171 |     private func indexScrollViews(on viewController: ViewController) -> [ScrollView] {
    |                  `- note: add '@MainActor' to make instance method 'indexScrollViews(on:)' part of global actor 'MainActor'
172 |         var scrollViews = [ScrollView]()
173 |
    :
183 |
184 |         for childViewController in viewController.children {
185 |             for case let scrollView as ScrollView in childViewController.view.subviews {
    |                                                                          `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
186 |                 scrollViews.append(scrollView)
187 |             }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
 76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
 77 | */
 78 | @property (strong) IBOutlet NSView *view;
    |                                     `- note: property declared here
 79 |
 80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:199:44: warning: call to main actor-isolated instance method 'scroll(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
191 |     }
192 |
193 |     private func syncOldScrollViews(_ oldScrollViews: [ScrollView], with newScrollViews: [ScrollView]) {
    |                  `- note: add '@MainActor' to make instance method 'syncOldScrollViews(_:with:)' part of global actor 'MainActor'
194 |         for (offset, scrollView) in newScrollViews.enumerated() {
195 |             if offset < oldScrollViews.count {
    :
197 |                 if type(of: scrollView) == type(of: oldScrollView) {
198 |                     #if os(macOS)
199 |                     scrollView.contentView.scroll(to: oldScrollView.documentVisibleRect.origin)
    |                                            `- warning: call to main actor-isolated instance method 'scroll(to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
200 |                     #else
201 |                     scrollView.contentOffset = oldScrollView.contentOffset
AppKit.NSClipView.scroll:2:22: note: calls to instance method 'scroll(to:)' from outside of its actor context are implicitly asynchronous
1 | class NSClipView {
2 | @MainActor open func scroll(to newOrigin: NSPoint)}
  |                      |- note: calls to instance method 'scroll(to:)' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSView'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:199:32: warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
191 |     }
192 |
193 |     private func syncOldScrollViews(_ oldScrollViews: [ScrollView], with newScrollViews: [ScrollView]) {
    |                  `- note: add '@MainActor' to make instance method 'syncOldScrollViews(_:with:)' part of global actor 'MainActor'
194 |         for (offset, scrollView) in newScrollViews.enumerated() {
195 |             if offset < oldScrollViews.count {
    :
197 |                 if type(of: scrollView) == type(of: oldScrollView) {
198 |                     #if os(macOS)
199 |                     scrollView.contentView.scroll(to: oldScrollView.documentVisibleRect.origin)
    |                                `- warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
200 |                     #else
201 |                     scrollView.contentOffset = oldScrollView.contentOffset
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:49:32: note: property declared here
 47 | @property (readonly) NSSize contentSize;
 48 | @property (nullable, strong) __kindof NSView *documentView;
 49 | @property (strong) NSClipView *contentView;
    |                                `- note: property declared here
 50 | @property (nullable, strong) NSCursor *documentCursor;
 51 | @property NSBorderType borderType;
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:199:69: warning: main actor-isolated property 'documentVisibleRect' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
191 |     }
192 |
193 |     private func syncOldScrollViews(_ oldScrollViews: [ScrollView], with newScrollViews: [ScrollView]) {
    |                  `- note: add '@MainActor' to make instance method 'syncOldScrollViews(_:with:)' part of global actor 'MainActor'
194 |         for (offset, scrollView) in newScrollViews.enumerated() {
195 |             if offset < oldScrollViews.count {
    :
197 |                 if type(of: scrollView) == type(of: oldScrollView) {
198 |                     #if os(macOS)
199 |                     scrollView.contentView.scroll(to: oldScrollView.documentVisibleRect.origin)
    |                                                                     `- warning: main actor-isolated property 'documentVisibleRect' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
200 |                     #else
201 |                     scrollView.contentOffset = oldScrollView.contentOffset
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:46:29: note: property declared here
 44 | + (NSSize)contentSizeForFrameSize:(NSSize)fSize hasHorizontalScroller:(BOOL)hFlag hasVerticalScroller:(BOOL)vFlag borderType:(NSBorderType)type API_DEPRECATED("+contentSizeForFrameSize:horizontalScrollerClass:verticalScrollerClass:borderType:controlSize:scrollerStyle: instead", macos(10.0,10.7));
 45 |
 46 | @property (readonly) NSRect documentVisibleRect;
    |                             `- note: property declared here
 47 | @property (readonly) NSSize contentSize;
 48 | @property (nullable, strong) __kindof NSView *documentView;
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:210:24: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
206 |     }
207 |
208 |     private func createSnapshot(from view: View) -> View? {
    |                  `- note: add '@MainActor' to make instance method 'createSnapshot(from:)' part of global actor 'MainActor'
209 |         #if os(macOS)
210 |         let snapshot = NSImageView()
    |                        `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
211 |         snapshot.image = view.snapshot
212 |         snapshot.frame.size = view.frame.size
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 21 | @interface NSResponder : NSObject <NSCoding>
 22 |
 23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSControl'
 24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:211:18: warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
206 |     }
207 |
208 |     private func createSnapshot(from view: View) -> View? {
    |                  `- note: add '@MainActor' to make instance method 'createSnapshot(from:)' part of global actor 'MainActor'
209 |         #if os(macOS)
210 |         let snapshot = NSImageView()
211 |         snapshot.image = view.snapshot
    |                  `- warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
212 |         snapshot.frame.size = view.frame.size
213 |         return snapshot
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImageView.h:42:39: note: mutation of this property is only permitted within the actor
 40 | + (instancetype)imageViewWithImage:(NSImage *)image API_AVAILABLE(macos(10.12));
 41 |
 42 | @property (nullable, strong) NSImage *image;
    |                                       `- note: mutation of this property is only permitted within the actor
 43 |
 44 | @property (getter=isEditable) BOOL editable;
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:211:31: warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
206 |     }
207 |
208 |     private func createSnapshot(from view: View) -> View? {
    |                  `- note: add '@MainActor' to make instance method 'createSnapshot(from:)' part of global actor 'MainActor'
209 |         #if os(macOS)
210 |         let snapshot = NSImageView()
211 |         snapshot.image = view.snapshot
    |                               `- warning: main actor-isolated property 'snapshot' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
212 |         snapshot.frame.size = view.frame.size
213 |         return snapshot
    :
224 | #if os(macOS)
225 | fileprivate extension NSView {
226 |     var snapshot: NSImage {
    |         `- note: property declared here
227 |         guard let bitmapRep = bitmapImageRepForCachingDisplay(in: bounds) else { return NSImage() }
228 |         cacheDisplay(in: bounds, to: bitmapRep)
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:212:18: warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
206 |     }
207 |
208 |     private func createSnapshot(from view: View) -> View? {
    |                  `- note: add '@MainActor' to make instance method 'createSnapshot(from:)' part of global actor 'MainActor'
209 |         #if os(macOS)
210 |         let snapshot = NSImageView()
211 |         snapshot.image = view.snapshot
212 |         snapshot.frame.size = view.frame.size
    |                  `- warning: main actor-isolated property 'frame' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
213 |         return snapshot
214 |         #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: mutation of this property is only permitted within the actor
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: mutation of this property is only permitted within the actor
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/Vaccine.swift:212:36: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
206 |     }
207 |
208 |     private func createSnapshot(from view: View) -> View? {
    |                  `- note: add '@MainActor' to make instance method 'createSnapshot(from:)' part of global actor 'MainActor'
209 |         #if os(macOS)
210 |         let snapshot = NSImageView()
211 |         snapshot.image = view.snapshot
212 |         snapshot.frame.size = view.frame.size
    |                                    `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
213 |         return snapshot
214 |         #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
[84/89] Compiling HotReloading SwiftKeyPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftKeyPath.swift:23:16: warning: static property 'save_getKeyPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     static let keyPathFuncName = "swift_getKeyPath"
 23 |     static var save_getKeyPath: KeyPathFunc!
    |                |- warning: static property 'save_getKeyPath' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'save_getKeyPath' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'save_getKeyPath' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |
 25 |     static var cache = [String: ViewBodyKeyPaths]()
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftKeyPath.swift:25:16: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |     static var save_getKeyPath: KeyPathFunc!
 24 |
 25 |     static var cache = [String: ViewBodyKeyPaths]()
    |                |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |     static var lastInjectionNumber = SwiftEval().injectionNumber
 27 |     static var hasInjected = false
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftKeyPath.swift:26:16: warning: static property 'lastInjectionNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 |     static var cache = [String: ViewBodyKeyPaths]()
 26 |     static var lastInjectionNumber = SwiftEval().injectionNumber
    |                |- warning: static property 'lastInjectionNumber' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'lastInjectionNumber' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'lastInjectionNumber' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     static var hasInjected = false
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftKeyPath.swift:27:16: warning: static property 'hasInjected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |     static var cache = [String: ViewBodyKeyPaths]()
 26 |     static var lastInjectionNumber = SwiftEval().injectionNumber
 27 |     static var hasInjected = false
    |                |- warning: static property 'hasInjected' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'hasInjected' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'hasInjected' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |
 29 |     var lastOffset = 0
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftKeyPath.swift:43:16: warning: reference to class property 'initialRebindings' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 41 |     var keyPathRebinding = [rebinding(name: strdup(ViewBodyKeyPaths.keyPathFuncName),
 42 |                                       replacement: replacer, replaced: nil)]
 43 |     SwiftTrace.initialRebindings += keyPathRebinding
    |                `- warning: reference to class property 'initialRebindings' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 44 |     _ = SwiftTrace.apply(rebindings: &keyPathRebinding)
 45 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftInterpose.swift:30:23: note: class property declared here
 28 |
 29 |     /// Base rebindings applied to each injected file.
 30 |     public static var initialRebindings = [rebinding]()
    |                       `- note: class property declared here
 31 |
 32 |     /// "interpose" aspects onto Swift function name.
[85/89] Compiling HotReloading ReducerInjection.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/ReducerInjection.swift:28:16: warning: static property 'injectableReducerSymbols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | extension SwiftInjection {
27 |
28 |     static var injectableReducerSymbols = Set<String>()
   |                |- warning: static property 'injectableReducerSymbols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'injectableReducerSymbols' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'injectableReducerSymbols' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     static var checkReducerInitializers: Void = {
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/ReducerInjection.swift:30:16: warning: static property 'checkReducerInitializers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |     static var injectableReducerSymbols = Set<String>()
29 |
30 |     static var checkReducerInitializers: Void = {
   |                |- warning: static property 'checkReducerInitializers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'checkReducerInitializers' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'checkReducerInitializers' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |             var expectedInjectableReducerSymbols = Set<String>()
32 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/StandaloneInjection.swift:29:16: warning: static property 'singleton' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 27 | class StandaloneInjection: InjectionClient {
 28 |
 29 |     static var singleton: StandaloneInjection?
    |                |- warning: static property 'singleton' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'singleton' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'singleton' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |     var watchers = [FileWatcher]()
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/StandaloneInjection.swift:158:24: warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
156 |         if let pattern = getenv(SwiftInjection.INJECTION_TRACE)
157 |             .flatMap({String(cString: $0)}), pattern != swiftTracing {
158 |             SwiftTrace.typeLookup = getenv(SwiftInjection.INJECTION_LOOKUP) != nil
    |                        `- warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
159 |             SwiftInjection.traceInjection = true
160 |             if pattern != "" {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftArgs.swift:105:23: note: class property declared here
103 |      Enable auto decoration of unknown types
104 |      */
105 |     static public var typeLookup = false
    |                       `- note: class property declared here
106 |
107 |     /**
[86/89] Compiling HotReloading StandaloneInjection.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/ReducerInjection.swift:28:16: warning: static property 'injectableReducerSymbols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | extension SwiftInjection {
27 |
28 |     static var injectableReducerSymbols = Set<String>()
   |                |- warning: static property 'injectableReducerSymbols' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'injectableReducerSymbols' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'injectableReducerSymbols' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |     static var checkReducerInitializers: Void = {
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/ReducerInjection.swift:30:16: warning: static property 'checkReducerInitializers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |     static var injectableReducerSymbols = Set<String>()
29 |
30 |     static var checkReducerInitializers: Void = {
   |                |- warning: static property 'checkReducerInitializers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'checkReducerInitializers' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'checkReducerInitializers' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |             var expectedInjectableReducerSymbols = Set<String>()
32 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/StandaloneInjection.swift:29:16: warning: static property 'singleton' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 27 | class StandaloneInjection: InjectionClient {
 28 |
 29 |     static var singleton: StandaloneInjection?
    |                |- warning: static property 'singleton' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'singleton' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'singleton' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |     var watchers = [FileWatcher]()
 31 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/StandaloneInjection.swift:158:24: warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
156 |         if let pattern = getenv(SwiftInjection.INJECTION_TRACE)
157 |             .flatMap({String(cString: $0)}), pattern != swiftTracing {
158 |             SwiftTrace.typeLookup = getenv(SwiftInjection.INJECTION_LOOKUP) != nil
    |                        `- warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
159 |             SwiftInjection.traceInjection = true
160 |             if pattern != "" {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftArgs.swift:105:23: note: class property declared here
103 |      Enable auto decoration of unknown types
104 |      */
105 |     static public var typeLookup = false
    |                       `- note: class property declared here
106 |
107 |     /**
[87/89] Compiling HotReloading SwiftSweeper.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftSweeper.swift:45:16: warning: static property 'sweepWarned' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 |     }()
 44 |
 45 |     static var sweepWarned = false
    |                |- warning: static property 'sweepWarned' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'sweepWarned' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'sweepWarned' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     public class func performSweep(oldClasses: [AnyClass], _ tmpfile: String,
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftSweeper.swift:111:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 | class SwiftSweeper {
110 |
111 |     static var current: SwiftSweeper?
    |                |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |
113 |     let instanceTask: (AnyObject) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftSweeper.swift:75:37: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 45 |     static var sweepWarned = false
 46 |
 47 |     public class func performSweep(oldClasses: [AnyClass], _ tmpfile: String,
    |                       `- note: add '@MainActor' to make class method 'performSweep(oldClasses:_:_:)' part of global actor 'MainActor'
 48 |                                  _ injectedGenerics: Set<String>) {
 49 |         var injectedClasses = [AnyClass]()
    :
 73 |             log("Starting sweep \(injectedClasses), \(injectedGenerics)...")
 74 |             #if !os(watchOS)
 75 |             let app = OSApplication.shared
    |                                     `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 76 |             let seeds: [Any] =  [app.delegate as Any] + app.windows
 77 |             #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftSweeper.swift:76:38: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 45 |     static var sweepWarned = false
 46 |
 47 |     public class func performSweep(oldClasses: [AnyClass], _ tmpfile: String,
    |                       `- note: add '@MainActor' to make class method 'performSweep(oldClasses:_:_:)' part of global actor 'MainActor'
 48 |                                  _ injectedGenerics: Set<String>) {
 49 |         var injectedClasses = [AnyClass]()
    :
 74 |             #if !os(watchOS)
 75 |             let app = OSApplication.shared
 76 |             let seeds: [Any] =  [app.delegate as Any] + app.windows
    |                                      `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 77 |             #else
 78 |             let seeds = [Any]()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:194:54: note: property declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
    |                                                      `- note: property declared here
195 |
196 | - (void)hide:(nullable id)sender;
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftSweeper.swift:76:61: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 45 |     static var sweepWarned = false
 46 |
 47 |     public class func performSweep(oldClasses: [AnyClass], _ tmpfile: String,
    |                       `- note: add '@MainActor' to make class method 'performSweep(oldClasses:_:_:)' part of global actor 'MainActor'
 48 |                                  _ injectedGenerics: Set<String>) {
 49 |         var injectedClasses = [AnyClass]()
    :
 74 |             #if !os(watchOS)
 75 |             let app = OSApplication.shared
 76 |             let seeds: [Any] =  [app.delegate as Any] + app.windows
    |                                                             `- warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 77 |             #else
 78 |             let seeds = [Any]()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:278:49: note: property declared here
276 |
277 | - (void)preventWindowOrdering;
278 | @property (readonly, copy) NSArray<NSWindow *> *windows;
    |                                                 `- note: property declared here
279 | - (void)setWindowsNeedUpdate:(BOOL)needUpdate;
280 | - (void)updateWindows;
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftSweeper.swift:125:38: warning: conditional cast from 'Any' to 'AnyObject' always succeeds
123 |         /// Fixes a potential crash that the value is not accessible during injection.
124 | //        print(value)
125 |         guard !containsType && value as? AnyObject != nil else { return }
    |                                      `- warning: conditional cast from 'Any' to 'AnyObject' always succeeds
126 |
127 |         let mirror = Mirror(reflecting: value)
[88/89] Compiling HotReloading SwiftEval.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftEval.swift:37:24: warning: static property 'lastEvalByClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  35 | extension NSObject {
  36 |
  37 |     private static var lastEvalByClass = [String: String]()
     |                        |- warning: static property 'lastEvalByClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'lastEvalByClass' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'lastEvalByClass' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  38 |
  39 |     @objc public func swiftEval(code: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftEval.swift:157:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 155 | public class SwiftEval: NSObject {
 156 |
 157 |     static var instance = SwiftEval()
     |                |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 158 |     static let bundleLink = "/tmp/injection.link"
 159 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:90:22: warning: static property 'traceInjection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 88 |
 89 |     public typealias SymbolName = UnsafePointer<CChar>
 90 |     @objc static var traceInjection = false
    |                      |- warning: static property 'traceInjection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'traceInjection' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: add '@MainActor' to make static property 'traceInjection' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 |     // The various environment variables
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:118:16: warning: static property 'injectionDetail' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
116 |     static let notification = Notification.Name("INJECTION_BUNDLE_NOTIFICATION")
117 |
118 |     static var injectionDetail = getenv(INJECTION_DETAIL) != nil
    |                |- warning: static property 'injectionDetail' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'injectionDetail' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'injectionDetail' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |     static let registerClasses = false && SwiftTrace.deviceInjection
120 |     static var objcClassRefs = NSMutableArray()
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:120:16: warning: static property 'objcClassRefs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 |     static var injectionDetail = getenv(INJECTION_DETAIL) != nil
119 |     static let registerClasses = false && SwiftTrace.deviceInjection
120 |     static var objcClassRefs = NSMutableArray()
    |                |- warning: static property 'objcClassRefs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'objcClassRefs' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'objcClassRefs' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |     static var descriptorRefs = NSMutableArray()
122 |     static var injectedPrefix: String {
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:121:16: warning: static property 'descriptorRefs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
119 |     static let registerClasses = false && SwiftTrace.deviceInjection
120 |     static var objcClassRefs = NSMutableArray()
121 |     static var descriptorRefs = NSMutableArray()
    |                |- warning: static property 'descriptorRefs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'descriptorRefs' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'descriptorRefs' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |     static var injectedPrefix: String {
123 |         return "#\(SwiftEval.instance.injectionNumber-100)/"
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:203:20: warning: reference to class property 'preserveStatics' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
201 |
202 |         injectionDetail = getenv(INJECTION_DETAIL) != nil
203 |         SwiftTrace.preserveStatics = getenv(INJECTION_PRESERVE_STATICS) != nil
    |                    `- warning: reference to class property 'preserveStatics' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
204 |         if getenv(INJECTION_TRACE) != nil {
205 |             traceInjection = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftTrace.swift:448:23: note: class property declared here
446 |     }
447 |
448 |     public static var preserveStatics = false
    |                       `- note: class property declared here
449 |     public static let deviceInjection = lastPseudoImage() != nil
450 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:206:24: warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
204 |         if getenv(INJECTION_TRACE) != nil {
205 |             traceInjection = true
206 |             SwiftTrace.typeLookup = true
    |                        `- warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
207 |         }
208 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftArgs.swift:105:23: note: class property declared here
103 |      Enable auto decoration of unknown types
104 |      */
105 |     static public var typeLookup = false
    |                       `- note: class property declared here
106 |
107 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:340:37: warning: reference to captured var 'testClasses' in concurrently-executing code
338 |                 testQueue.suspend()
339 |                 let timer = Timer(timeInterval: 0, repeats:false, block: { _ in
340 |                     for newClass in testClasses {
    |                                     `- warning: reference to captured var 'testClasses' in concurrently-executing code
341 |                         NSObject.runXCTestCase(newClass)
342 |                     }
[89/89] Compiling HotReloading SwiftInjection.swift
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftEval.swift:37:24: warning: static property 'lastEvalByClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  35 | extension NSObject {
  36 |
  37 |     private static var lastEvalByClass = [String: String]()
     |                        |- warning: static property 'lastEvalByClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'lastEvalByClass' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: add '@MainActor' to make static property 'lastEvalByClass' part of global actor 'MainActor'
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  38 |
  39 |     @objc public func swiftEval(code: String) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftEval.swift:157:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 155 | public class SwiftEval: NSObject {
 156 |
 157 |     static var instance = SwiftEval()
     |                |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 158 |     static let bundleLink = "/tmp/injection.link"
 159 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:90:22: warning: static property 'traceInjection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 88 |
 89 |     public typealias SymbolName = UnsafePointer<CChar>
 90 |     @objc static var traceInjection = false
    |                      |- warning: static property 'traceInjection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert 'traceInjection' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: add '@MainActor' to make static property 'traceInjection' part of global actor 'MainActor'
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 |     // The various environment variables
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:118:16: warning: static property 'injectionDetail' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
116 |     static let notification = Notification.Name("INJECTION_BUNDLE_NOTIFICATION")
117 |
118 |     static var injectionDetail = getenv(INJECTION_DETAIL) != nil
    |                |- warning: static property 'injectionDetail' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'injectionDetail' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'injectionDetail' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |     static let registerClasses = false && SwiftTrace.deviceInjection
120 |     static var objcClassRefs = NSMutableArray()
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:120:16: warning: static property 'objcClassRefs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 |     static var injectionDetail = getenv(INJECTION_DETAIL) != nil
119 |     static let registerClasses = false && SwiftTrace.deviceInjection
120 |     static var objcClassRefs = NSMutableArray()
    |                |- warning: static property 'objcClassRefs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'objcClassRefs' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'objcClassRefs' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |     static var descriptorRefs = NSMutableArray()
122 |     static var injectedPrefix: String {
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:121:16: warning: static property 'descriptorRefs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
119 |     static let registerClasses = false && SwiftTrace.deviceInjection
120 |     static var objcClassRefs = NSMutableArray()
121 |     static var descriptorRefs = NSMutableArray()
    |                |- warning: static property 'descriptorRefs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'descriptorRefs' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'descriptorRefs' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |     static var injectedPrefix: String {
123 |         return "#\(SwiftEval.instance.injectionNumber-100)/"
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:203:20: warning: reference to class property 'preserveStatics' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
201 |
202 |         injectionDetail = getenv(INJECTION_DETAIL) != nil
203 |         SwiftTrace.preserveStatics = getenv(INJECTION_PRESERVE_STATICS) != nil
    |                    `- warning: reference to class property 'preserveStatics' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
204 |         if getenv(INJECTION_TRACE) != nil {
205 |             traceInjection = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftTrace.swift:448:23: note: class property declared here
446 |     }
447 |
448 |     public static var preserveStatics = false
    |                       `- note: class property declared here
449 |     public static let deviceInjection = lastPseudoImage() != nil
450 |
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:206:24: warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
204 |         if getenv(INJECTION_TRACE) != nil {
205 |             traceInjection = true
206 |             SwiftTrace.typeLookup = true
    |                        `- warning: reference to class property 'typeLookup' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
207 |         }
208 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceD/SwiftArgs.swift:105:23: note: class property declared here
103 |      Enable auto decoration of unknown types
104 |      */
105 |     static public var typeLookup = false
    |                       `- note: class property declared here
106 |
107 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/HotReloading/SwiftInjection.swift:340:37: warning: reference to captured var 'testClasses' in concurrently-executing code
338 |                 testQueue.suspend()
339 |                 let timer = Timer(timeInterval: 0, repeats:false, block: { _ in
340 |                     for newClass in testClasses {
    |                                     `- warning: reference to captured var 'testClasses' in concurrently-executing code
341 |                         NSObject.runXCTestCase(newClass)
342 |                     }
Build complete! (24.13s)
Fetching https://github.com/johnno1962/XprobePlugin
Fetching https://github.com/johnno1962/ProfileSwiftUI
Fetching https://github.com/johnno1962/Remote
Fetching https://github.com/johnno1962/SwiftRegex5
Fetching https://github.com/johnno1962/SwiftTrace
[1/910] Fetching remote
[2/2977] Fetching remote, swifttrace
[189/3051] Fetching remote, swifttrace, profileswiftui
[263/5024] Fetching remote, swifttrace, profileswiftui, xprobeplugin
[264/5233] Fetching remote, swifttrace, profileswiftui, xprobeplugin, swiftregex5
Fetched https://github.com/johnno1962/Remote from cache (0.86s)
Fetched https://github.com/johnno1962/ProfileSwiftUI from cache (0.86s)
[1008/4249] Fetching swifttrace, xprobeplugin, swiftregex5
Fetched https://github.com/johnno1962/SwiftTrace from cache (1.23s)
Fetched https://github.com/johnno1962/XprobePlugin from cache (1.23s)
Fetched https://github.com/johnno1962/SwiftRegex5 from cache (1.23s)
Computing version for https://github.com/johnno1962/ProfileSwiftUI
Computed https://github.com/johnno1962/ProfileSwiftUI at 1.1.3 (1.81s)
Fetching https://github.com/johnno1962/DLKit
[1/387] Fetching dlkit
Fetched https://github.com/johnno1962/DLKit from cache (0.68s)
Computing version for https://github.com/johnno1962/Remote
Computed https://github.com/johnno1962/Remote at 2.3.5 (1.28s)
Computing version for https://github.com/johnno1962/XprobePlugin
Computed https://github.com/johnno1962/XprobePlugin at 2.9.10 (0.55s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.55s)
Computing version for https://github.com/johnno1962/SwiftRegex5
Computed https://github.com/johnno1962/SwiftRegex5 at 6.1.3 (0.56s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.4.7 (0.57s)
Fetching https://github.com/johnno1962/fishhook
[1/169] Fetching fishhook
Fetched https://github.com/johnno1962/fishhook from cache (0.62s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (1.20s)
Creating working copy for https://github.com/johnno1962/Remote
Working copy of https://github.com/johnno1962/Remote resolved at 2.3.5
Creating working copy for https://github.com/johnno1962/SwiftTrace
Working copy of https://github.com/johnno1962/SwiftTrace resolved at 8.6.1
Creating working copy for https://github.com/johnno1962/XprobePlugin
Working copy of https://github.com/johnno1962/XprobePlugin resolved at 2.9.10
Creating working copy for https://github.com/johnno1962/DLKit
Working copy of https://github.com/johnno1962/DLKit resolved at 3.4.7
Creating working copy for https://github.com/johnno1962/ProfileSwiftUI
Working copy of https://github.com/johnno1962/ProfileSwiftUI resolved at 1.1.3
Creating working copy for https://github.com/johnno1962/fishhook
Working copy of https://github.com/johnno1962/fishhook resolved at 1.2.1
Creating working copy for https://github.com/johnno1962/SwiftRegex5
Working copy of https://github.com/johnno1962/SwiftRegex5 resolved at 6.1.3
Build complete.
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
    {
      "identity" : "swifttrace",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.6.1",
            "upper_bound" : "8.7.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/SwiftTrace"
    },
    {
      "identity" : "swiftregex5",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.1.2",
            "upper_bound" : "6.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/SwiftRegex5"
    },
    {
      "identity" : "xprobeplugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.9.10",
            "upper_bound" : "2.10.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/XprobePlugin"
    },
    {
      "identity" : "remote",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.5",
            "upper_bound" : "2.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/Remote"
    },
    {
      "identity" : "profileswiftui",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.3",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/ProfileSwiftUI"
    }
  ],
  "manifest_display_name" : "HotReloading",
  "name" : "HotReloading",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "HotReloading",
      "targets" : [
        "HotReloading"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HotReloadingGuts",
      "targets" : [
        "HotReloadingGuts"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "injectiondGuts",
      "targets" : [
        "injectiondGuts"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "injectiond",
      "targets" : [
        "injectiond"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "injectiondGuts",
      "module_type" : "ClangTarget",
      "name" : "injectiondGuts",
      "path" : "Sources/injectiondGuts",
      "product_memberships" : [
        "injectiondGuts",
        "injectiond"
      ],
      "sources" : [
        "SignerService.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "injectiond",
      "module_type" : "SwiftTarget",
      "name" : "injectiond",
      "path" : "Sources/injectiond",
      "product_dependencies" : [
        "SwiftRegex",
        "XprobeUI",
        "RemoteUI"
      ],
      "product_memberships" : [
        "injectiond"
      ],
      "sources" : [
        "AppDelegate.swift",
        "DeviceServer.swift",
        "Experimental.swift",
        "FileWatcher.swift",
        "InjectionServer.swift",
        "SwiftEval.swift",
        "UnhidingEval.swift",
        "UpdateCheck.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "HotReloadingGuts",
        "injectiondGuts"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HotReloadingGuts",
      "module_type" : "ClangTarget",
      "name" : "HotReloadingGuts",
      "path" : "Sources/HotReloadingGuts",
      "product_memberships" : [
        "HotReloading",
        "HotReloadingGuts",
        "injectiond"
      ],
      "sources" : [
        "ClientBoot.mm",
        "SimpleSocket.mm",
        "Unhide.mm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HotReloading",
      "module_type" : "SwiftTarget",
      "name" : "HotReloading",
      "path" : "Sources/HotReloading",
      "product_dependencies" : [
        "SwiftTraceD",
        "Xprobe",
        "SwiftRegex",
        "ProfileSwiftUI"
      ],
      "product_memberships" : [
        "HotReloading"
      ],
      "sources" : [
        "DeviceInjection.swift",
        "DynamicCast.swift",
        "FileWatcher.swift",
        "InjectionClient.swift",
        "InjectionStats.swift",
        "ObjcInjection.swift",
        "ReducerInjection.swift",
        "StandaloneInjection.swift",
        "SwiftEval.swift",
        "SwiftInjection.swift",
        "SwiftInterpose.swift",
        "SwiftKeyPath.swift",
        "SwiftSweeper.swift",
        "UnhidingEval.swift",
        "Vaccine.swift"
      ],
      "target_dependencies" : [
        "HotReloadingGuts"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.