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 timeui, reference 0.0.3 (4cfee8), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 02:56:57 UTC.

Swift 6 data race errors: 7

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

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/icanzilb/timeui.git
Reference: 0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/icanzilb/timeui
 * tag               0.0.3      -> FETCH_HEAD
HEAD is now at 4cfee8e Merge pull request #5 from icanzilb/marin_todorov/ding
Cloned https://github.com/icanzilb/timeui.git
Revision (git rev-parse @):
4cfee8eb93f5523f1ae95c74e1d4d34049c3db63
SUCCESS checkout https://github.com/icanzilb/timeui.git at 0.0.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "timeui",
      "name": "timeui",
      "url": "https://github.com/icanzilb/timeui.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/timeui",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/icanzilb/timeui.git
[1/87] Fetching timeui
Fetched https://github.com/icanzilb/timeui.git from cache (1.09s)
Creating working copy for https://github.com/icanzilb/timeui.git
Working copy of https://github.com/icanzilb/timeui.git resolved at 0.0.3 (4cfee8e)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/icanzilb/timeui.git
https://github.com/icanzilb/timeui.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "timeui",
  "name" : "timeui",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "timeui",
      "targets" : [
        "timeui"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "test-app",
      "targets" : [
        "test-app"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "timeuiTests",
      "module_type" : "SwiftTarget",
      "name" : "timeuiTests",
      "path" : "Tests/timeuiTests",
      "sources" : [
        "timeuiTests.swift"
      ],
      "target_dependencies" : [
        "timeui"
      ],
      "type" : "test"
    },
    {
      "c99name" : "timeui",
      "module_type" : "SwiftTarget",
      "name" : "timeui",
      "path" : "Sources/timeui",
      "product_memberships" : [
        "timeui"
      ],
      "sources" : [
        "App/App.swift",
        "App/AppDelegate.swift",
        "App/Runner.swift",
        "Model/LogDataSource.swift",
        "Model/PerformanceСalculator.swift",
        "Model/RunnerModel.swift",
        "Util/Color.swift",
        "Util/Notification.swift",
        "Util/Sound.swift",
        "View/DingToggleView.swift",
        "View/TimerView.swift",
        "View/TimerWindow.swift",
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "test_app",
      "module_type" : "SwiftTarget",
      "name" : "test-app",
      "path" : "Sources/test-app",
      "product_memberships" : [
        "test-app"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
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
Building for debugging...
[0/11] Write sources
[2/11] Write test-app-entitlement.plist
[3/11] Write timeui-entitlement.plist
[4/11] Write swift-version-2F0A5646E1D333AE.txt
[6/26] Emitting module test_app
[7/26] Compiling test_app main.swift
/Users/admin/builder/spi-builder-workspace/Sources/test-app/main.swift:36:72: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
33 | let log = OSLog(subsystem: "mySystem", category: .pointsOfInterest)
34 |
35 | func delay(_ seconds: Double, block: @escaping () -> Void) {
   |                               `- note: parameter 'block' is implicitly non-sendable
36 |     DispatchQueue.main.asyncAfter(deadline: .now() + seconds, execute: block)
   |                                                                        `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
37 | }
38 |
[7/26] Write Objects.LinkFileList
[8/26] Linking test-app
[9/26] Applying test-app
[11/26] Compiling timeui Runner.swift
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/Runner.swift:46:36: warning: converting non-sendable function value to '@Sendable (Process) -> Void' may introduce data races
44 |         process.environment = ProcessInfo.processInfo.environment
45 |         process.arguments = ProcessInfo.processInfo.arguments
46 |         process.terminationHandler = self.terminated(process:)
   |                                    `- warning: converting non-sendable function value to '@Sendable (Process) -> Void' may introduce data races
47 |
48 |         started = CACurrentMediaTime()
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/Runner.swift:50:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
48 |         started = CACurrentMediaTime()
49 |         DispatchQueue.main.async {
50 |             self.state.send(.running(started: self.started))
   |             |- 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
51 |         }
52 |         try process.run()
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/Runner.swift:62:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
60 |         duration = CACurrentMediaTime() - started
61 |         DispatchQueue.main.async {
62 |             self.state.send(.completed(duration: self.duration))
   |             |- 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
63 |         }
64 |         print(String(format: "Duration: %.4fs", duration))
[12/26] Compiling timeui LogDataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/Runner.swift:46:36: warning: converting non-sendable function value to '@Sendable (Process) -> Void' may introduce data races
44 |         process.environment = ProcessInfo.processInfo.environment
45 |         process.arguments = ProcessInfo.processInfo.arguments
46 |         process.terminationHandler = self.terminated(process:)
   |                                    `- warning: converting non-sendable function value to '@Sendable (Process) -> Void' may introduce data races
47 |
48 |         started = CACurrentMediaTime()
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/Runner.swift:50:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
48 |         started = CACurrentMediaTime()
49 |         DispatchQueue.main.async {
50 |             self.state.send(.running(started: self.started))
   |             |- 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
51 |         }
52 |         try process.run()
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/Runner.swift:62:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
60 |         duration = CACurrentMediaTime() - started
61 |         DispatchQueue.main.async {
62 |             self.state.send(.completed(duration: self.duration))
   |             |- 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
63 |         }
64 |         print(String(format: "Duration: %.4fs", duration))
[13/27] Compiling timeui TimerWindow.swift
[14/27] Compiling timeui Notification.swift
[15/27] Compiling timeui Color.swift
[16/27] Compiling timeui PerformanceСalculator.swift
[17/27] Compiling timeui RunnerModel.swift
[18/27] Compiling timeui TimerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/timeui/View/TimerView.swift:115:21: warning: main actor-isolated property 'text' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 41 |     @State var timer: Timer? = nil
 42 |     @State var started = CACurrentMediaTime()
 43 |     @State var text = "00:00"
    |                `- note: mutation of this property is only permitted within the actor
 44 |     @State var isFinished = false
 45 |
    :
113 |                 self.started = started
114 |                 timer = Timer.scheduledTimer(withTimeInterval: 0.5, repeats: true, block: { timer in
115 |                     text = timerFormatted(CACurrentMediaTime() - started)
    |                     `- warning: main actor-isolated property 'text' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
116 |
117 |                     let sampleUsage = model.usage.usage
/Users/admin/builder/spi-builder-workspace/Sources/timeui/View/TimerView.swift:117:39: warning: main actor-isolated property 'model' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 37 |
 38 | struct TimerView: View {
 39 |     @EnvironmentObject var model: RunnerModel
    |                            `- note: property declared here
 40 |
 41 |     @State var timer: Timer? = nil
    :
115 |                     text = timerFormatted(CACurrentMediaTime() - started)
116 |
117 |                     let sampleUsage = model.usage.usage
    |                                       `- warning: main actor-isolated property 'model' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
118 |                     if sampleUsage.memory.total > 0 {
119 |                         let memFootprintMB = Double(sampleUsage.memory.used) / 1024 / 1024
/Users/admin/builder/spi-builder-workspace/Sources/timeui/View/TimerView.swift:121:25: warning: main actor-isolated property 'stats' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 52 |     @State var regions = [RegionEntry]()
 53 |     @State var regionsCancellable: AnyCancellable?
 54 |     @State var stats = ""
    |                `- note: mutation of this property is only permitted within the actor
 55 |
 56 |     @State var dingEnabled = false
    :
119 |                         let memFootprintMB = Double(sampleUsage.memory.used) / 1024 / 1024
120 |                         let memPercentage = Double(sampleUsage.memory.used) / Double(sampleUsage.memory.total) * 100
121 |                         stats = String(format: "CPU: %.0f%%\nMemory: %.0f%% %.2fMb", sampleUsage.cpu, memPercentage, memFootprintMB)
    |                         `- warning: main actor-isolated property 'stats' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
122 |                     }
123 |                 })
[19/27] Compiling timeui DingToggleView.swift
[20/27] Compiling timeui Sound.swift
[21/27] Compiling timeui App.swift
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:34:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 32 | }
 33 |
 34 | extension String: Error {}
    | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 35 |
 36 | class App {
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:37:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |
 36 | class App {
 37 |     static var shared: App!
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |     static func main(arguments: [String]) throws {
 39 |         let application = NSApplication.shared
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:39:41: 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
 36 | class App {
 37 |     static var shared: App!
 38 |     static func main(arguments: [String]) throws {
    |                 `- note: add '@MainActor' to make static method 'main(arguments:)' part of global actor 'MainActor'
 39 |         let application = NSApplication.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
 40 |         application.setActivationPolicy(.regular)
 41 |
/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/timeui/App/App.swift:40:21: warning: call to main actor-isolated instance method 'setActivationPolicy' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 36 | class App {
 37 |     static var shared: App!
 38 |     static func main(arguments: [String]) throws {
    |                 `- note: add '@MainActor' to make static method 'main(arguments:)' part of global actor 'MainActor'
 39 |         let application = NSApplication.shared
 40 |         application.setActivationPolicy(.regular)
    |                     `- warning: call to main actor-isolated instance method 'setActivationPolicy' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 41 |
 42 |         shared = App(application: application)
AppKit.NSApplication.setActivationPolicy:3:24: note: calls to instance method 'setActivationPolicy' from outside of its actor context are implicitly asynchronous
1 | class NSApplication {
2 | @available(macOS 10.6, *)
3 |   @MainActor open func setActivationPolicy(_ activationPolicy: NSApplication.ActivationPolicy) -> Bool}
  |                        |- note: calls to instance method 'setActivationPolicy' 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/timeui/App/App.swift:62:22: warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
    |                      `- warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
 64 |             styleMask: [.titled, .closable, .resizable],
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:293:1: note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
 291 | - (NSRect)contentRectForFrameRect:(NSRect)frameRect;
 292 |
 293 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag NS_DESIGNATED_INITIALIZER;
     | |- note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
     | `- note: main actor isolation inferred from inheritance from class 'NSResponder'
 294 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag screen:(nullable NSScreen *)screen;
 295 | - (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE; // Use initWithContentRect:. This method will throw an exception for coders that support allowsKeyedCoding, and is only available for compatibility with non keyed coding.
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:69:16: warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 67 |         )
 68 |
 69 |         window.center()
    |                `- warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |         window.title = "▶  " + title
 71 |         window.titlebarAppearsTransparent = true
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
  |                      |- note: calls to instance method 'center()' 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/timeui/App/App.swift:70:16: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 68 |
 69 |         window.center()
 70 |         window.title = "▶  " + title
    |                `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 71 |         window.titlebarAppearsTransparent = true
 72 |         window.makeKeyAndOrderFront(window)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:297:28: note: mutation of this property is only permitted within the actor
 295 | - (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE; // Use initWithContentRect:. This method will throw an exception for coders that support allowsKeyedCoding, and is only available for compatibility with non keyed coding.
 296 |
 297 | @property (copy) NSString *title;
     |                            `- note: mutation of this property is only permitted within the actor
 298 |
 299 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:71:16: warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 69 |         window.center()
 70 |         window.title = "▶  " + title
 71 |         window.titlebarAppearsTransparent = true
    |                `- warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 72 |         window.makeKeyAndOrderFront(window)
 73 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:309:16: note: mutation of this property is only permitted within the actor
 307 |
 308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
 309 | @property BOOL titlebarAppearsTransparent API_AVAILABLE(macos(10.10));
     |                `- note: mutation of this property is only permitted within the actor
 310 |
 311 | /// Specifies how the titlebar area of the window should appear when the window displays an NSToolbar
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:72:16: warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 70 |         window.title = "▶  " + title
 71 |         window.titlebarAppearsTransparent = true
 72 |         window.makeKeyAndOrderFront(window)
    |                `- warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 73 |
 74 |         class WindowDelegate: NSObject, NSWindowDelegate {
AppKit.NSWindow.makeKeyAndOrderFront:2:22: note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func makeKeyAndOrderFront(_ sender: Any?)}
  |                      |- note: calls to instance method 'makeKeyAndOrderFront' 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/timeui/App/App.swift:80:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 78 |         }
 79 |         let windowDelegate = WindowDelegate()
 80 |         window.delegate = windowDelegate
    |                `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 81 |
 82 |         return window
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:338:49: note: mutation of this property is only permitted within the actor
 336 | @property (getter=isExcludedFromWindowsMenu) BOOL excludedFromWindowsMenu;
 337 | @property (nullable, strong) __kindof NSView *contentView;
 338 | @property (nullable, weak) id<NSWindowDelegate> delegate;
     |                                                 `- note: mutation of this property is only permitted within the actor
 339 | @property (readonly) NSInteger windowNumber;
 340 |
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:86:21: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 83 |     }
 84 |
 85 |     func runUIWithDelegate(_ delegate: ApplicationDelegate) {
    |          `- note: add '@MainActor' to make instance method 'runUIWithDelegate' part of global actor 'MainActor'
 86 |         application.delegate = delegate
    |                     `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 87 |         application.activate(ignoringOtherApps: true)
 88 |         application.run()
/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: mutation of this property is only permitted within the actor
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
    |                                                      `- note: mutation of this property is only permitted within the actor
195 |
196 | - (void)hide:(nullable id)sender;
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:87:21: warning: call to main actor-isolated instance method 'activate(ignoringOtherApps:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 83 |     }
 84 |
 85 |     func runUIWithDelegate(_ delegate: ApplicationDelegate) {
    |          `- note: add '@MainActor' to make instance method 'runUIWithDelegate' part of global actor 'MainActor'
 86 |         application.delegate = delegate
 87 |         application.activate(ignoringOtherApps: true)
    |                     `- warning: call to main actor-isolated instance method 'activate(ignoringOtherApps:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 88 |         application.run()
 89 |     }
AppKit.NSApplication.activate:3:24: note: calls to instance method 'activate(ignoringOtherApps:)' from outside of its actor context are implicitly asynchronous
1 | class NSApplication {
2 | @available(macOS, introduced: 10.0, deprecated: 100000, message: "This method will be deprecated in a future release. Use NSApp.activate instead.")
3 |   @MainActor open func activate(ignoringOtherApps ignoreOtherApps: Bool)}
  |                        |- note: calls to instance method 'activate(ignoringOtherApps:)' 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/timeui/App/App.swift:88:21: warning: call to main actor-isolated instance method 'run()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 83 |     }
 84 |
 85 |     func runUIWithDelegate(_ delegate: ApplicationDelegate) {
    |          `- note: add '@MainActor' to make instance method 'runUIWithDelegate' part of global actor 'MainActor'
 86 |         application.delegate = delegate
 87 |         application.activate(ignoringOtherApps: true)
 88 |         application.run()
    |                     `- warning: call to main actor-isolated instance method 'run()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 89 |     }
 90 |
AppKit.NSApplication.run:2:22: note: calls to instance method 'run()' from outside of its actor context are implicitly asynchronous
1 | class NSApplication {
2 | @MainActor open func run()}
  |                      |- note: calls to instance method 'run()' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
[22/27] Compiling timeui AppDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:34:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 32 | }
 33 |
 34 | extension String: Error {}
    | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 35 |
 36 | class App {
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:37:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |
 36 | class App {
 37 |     static var shared: App!
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |     static func main(arguments: [String]) throws {
 39 |         let application = NSApplication.shared
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:39:41: 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
 36 | class App {
 37 |     static var shared: App!
 38 |     static func main(arguments: [String]) throws {
    |                 `- note: add '@MainActor' to make static method 'main(arguments:)' part of global actor 'MainActor'
 39 |         let application = NSApplication.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
 40 |         application.setActivationPolicy(.regular)
 41 |
/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/timeui/App/App.swift:40:21: warning: call to main actor-isolated instance method 'setActivationPolicy' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 36 | class App {
 37 |     static var shared: App!
 38 |     static func main(arguments: [String]) throws {
    |                 `- note: add '@MainActor' to make static method 'main(arguments:)' part of global actor 'MainActor'
 39 |         let application = NSApplication.shared
 40 |         application.setActivationPolicy(.regular)
    |                     `- warning: call to main actor-isolated instance method 'setActivationPolicy' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 41 |
 42 |         shared = App(application: application)
AppKit.NSApplication.setActivationPolicy:3:24: note: calls to instance method 'setActivationPolicy' from outside of its actor context are implicitly asynchronous
1 | class NSApplication {
2 | @available(macOS 10.6, *)
3 |   @MainActor open func setActivationPolicy(_ activationPolicy: NSApplication.ActivationPolicy) -> Bool}
  |                        |- note: calls to instance method 'setActivationPolicy' 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/timeui/App/App.swift:62:22: warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
    |                      `- warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
 64 |             styleMask: [.titled, .closable, .resizable],
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:293:1: note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
 291 | - (NSRect)contentRectForFrameRect:(NSRect)frameRect;
 292 |
 293 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag NS_DESIGNATED_INITIALIZER;
     | |- note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
     | `- note: main actor isolation inferred from inheritance from class 'NSResponder'
 294 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag screen:(nullable NSScreen *)screen;
 295 | - (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE; // Use initWithContentRect:. This method will throw an exception for coders that support allowsKeyedCoding, and is only available for compatibility with non keyed coding.
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:69:16: warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 67 |         )
 68 |
 69 |         window.center()
    |                `- warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |         window.title = "▶  " + title
 71 |         window.titlebarAppearsTransparent = true
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
  |                      |- note: calls to instance method 'center()' 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/timeui/App/App.swift:70:16: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 68 |
 69 |         window.center()
 70 |         window.title = "▶  " + title
    |                `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 71 |         window.titlebarAppearsTransparent = true
 72 |         window.makeKeyAndOrderFront(window)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:297:28: note: mutation of this property is only permitted within the actor
 295 | - (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE; // Use initWithContentRect:. This method will throw an exception for coders that support allowsKeyedCoding, and is only available for compatibility with non keyed coding.
 296 |
 297 | @property (copy) NSString *title;
     |                            `- note: mutation of this property is only permitted within the actor
 298 |
 299 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:71:16: warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 69 |         window.center()
 70 |         window.title = "▶  " + title
 71 |         window.titlebarAppearsTransparent = true
    |                `- warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 72 |         window.makeKeyAndOrderFront(window)
 73 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:309:16: note: mutation of this property is only permitted within the actor
 307 |
 308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
 309 | @property BOOL titlebarAppearsTransparent API_AVAILABLE(macos(10.10));
     |                `- note: mutation of this property is only permitted within the actor
 310 |
 311 | /// Specifies how the titlebar area of the window should appear when the window displays an NSToolbar
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:72:16: warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 70 |         window.title = "▶  " + title
 71 |         window.titlebarAppearsTransparent = true
 72 |         window.makeKeyAndOrderFront(window)
    |                `- warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 73 |
 74 |         class WindowDelegate: NSObject, NSWindowDelegate {
AppKit.NSWindow.makeKeyAndOrderFront:2:22: note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func makeKeyAndOrderFront(_ sender: Any?)}
  |                      |- note: calls to instance method 'makeKeyAndOrderFront' 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/timeui/App/App.swift:80:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 78 |         }
 79 |         let windowDelegate = WindowDelegate()
 80 |         window.delegate = windowDelegate
    |                `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 81 |
 82 |         return window
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:338:49: note: mutation of this property is only permitted within the actor
 336 | @property (getter=isExcludedFromWindowsMenu) BOOL excludedFromWindowsMenu;
 337 | @property (nullable, strong) __kindof NSView *contentView;
 338 | @property (nullable, weak) id<NSWindowDelegate> delegate;
     |                                                 `- note: mutation of this property is only permitted within the actor
 339 | @property (readonly) NSInteger windowNumber;
 340 |
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:86:21: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 83 |     }
 84 |
 85 |     func runUIWithDelegate(_ delegate: ApplicationDelegate) {
    |          `- note: add '@MainActor' to make instance method 'runUIWithDelegate' part of global actor 'MainActor'
 86 |         application.delegate = delegate
    |                     `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 87 |         application.activate(ignoringOtherApps: true)
 88 |         application.run()
/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: mutation of this property is only permitted within the actor
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
    |                                                      `- note: mutation of this property is only permitted within the actor
195 |
196 | - (void)hide:(nullable id)sender;
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:87:21: warning: call to main actor-isolated instance method 'activate(ignoringOtherApps:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 83 |     }
 84 |
 85 |     func runUIWithDelegate(_ delegate: ApplicationDelegate) {
    |          `- note: add '@MainActor' to make instance method 'runUIWithDelegate' part of global actor 'MainActor'
 86 |         application.delegate = delegate
 87 |         application.activate(ignoringOtherApps: true)
    |                     `- warning: call to main actor-isolated instance method 'activate(ignoringOtherApps:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 88 |         application.run()
 89 |     }
AppKit.NSApplication.activate:3:24: note: calls to instance method 'activate(ignoringOtherApps:)' from outside of its actor context are implicitly asynchronous
1 | class NSApplication {
2 | @available(macOS, introduced: 10.0, deprecated: 100000, message: "This method will be deprecated in a future release. Use NSApp.activate instead.")
3 |   @MainActor open func activate(ignoringOtherApps ignoreOtherApps: Bool)}
  |                        |- note: calls to instance method 'activate(ignoringOtherApps:)' 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/timeui/App/App.swift:88:21: warning: call to main actor-isolated instance method 'run()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 83 |     }
 84 |
 85 |     func runUIWithDelegate(_ delegate: ApplicationDelegate) {
    |          `- note: add '@MainActor' to make instance method 'runUIWithDelegate' part of global actor 'MainActor'
 86 |         application.delegate = delegate
 87 |         application.activate(ignoringOtherApps: true)
 88 |         application.run()
    |                     `- warning: call to main actor-isolated instance method 'run()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 89 |     }
 90 |
AppKit.NSApplication.run:2:22: note: calls to instance method 'run()' from outside of its actor context are implicitly asynchronous
1 | class NSApplication {
2 | @MainActor open func run()}
  |                      |- note: calls to instance method 'run()' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
[23/27] Emitting module timeui
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:34:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 32 | }
 33 |
 34 | extension String: Error {}
    | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 35 |
 36 | class App {
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:37:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |
 36 | class App {
 37 |     static var shared: App!
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 38 |     static func main(arguments: [String]) throws {
 39 |         let application = NSApplication.shared
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:62:22: warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
    |                      `- warning: call to main actor-isolated initializer 'init(contentRect:styleMask:backing:defer:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
 64 |             styleMask: [.titled, .closable, .resizable],
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:293:1: note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
 291 | - (NSRect)contentRectForFrameRect:(NSRect)frameRect;
 292 |
 293 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag NS_DESIGNATED_INITIALIZER;
     | |- note: calls to initializer 'init(contentRect:styleMask:backing:defer:)' from outside of its actor context are implicitly asynchronous
     | `- note: main actor isolation inferred from inheritance from class 'NSResponder'
 294 | - (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag screen:(nullable NSScreen *)screen;
 295 | - (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE; // Use initWithContentRect:. This method will throw an exception for coders that support allowsKeyedCoding, and is only available for compatibility with non keyed coding.
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:69:16: warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 67 |         )
 68 |
 69 |         window.center()
    |                `- warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |         window.title = "▶  " + title
 71 |         window.titlebarAppearsTransparent = true
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
  |                      |- note: calls to instance method 'center()' 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/timeui/App/App.swift:70:16: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 68 |
 69 |         window.center()
 70 |         window.title = "▶  " + title
    |                `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 71 |         window.titlebarAppearsTransparent = true
 72 |         window.makeKeyAndOrderFront(window)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:297:28: note: mutation of this property is only permitted within the actor
 295 | - (instancetype)initWithCoder:(NSCoder *)coder NS_UNAVAILABLE; // Use initWithContentRect:. This method will throw an exception for coders that support allowsKeyedCoding, and is only available for compatibility with non keyed coding.
 296 |
 297 | @property (copy) NSString *title;
     |                            `- note: mutation of this property is only permitted within the actor
 298 |
 299 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:71:16: warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 69 |         window.center()
 70 |         window.title = "▶  " + title
 71 |         window.titlebarAppearsTransparent = true
    |                `- warning: main actor-isolated property 'titlebarAppearsTransparent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 72 |         window.makeKeyAndOrderFront(window)
 73 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:309:16: note: mutation of this property is only permitted within the actor
 307 |
 308 | /// When \c YES, the titlebar doesn't draw its background, allowing all buttons to show through, and "click through" to happen. In general, this is only useful when \c NSFullSizeContentViewWindowMask is set.
 309 | @property BOOL titlebarAppearsTransparent API_AVAILABLE(macos(10.10));
     |                `- note: mutation of this property is only permitted within the actor
 310 |
 311 | /// Specifies how the titlebar area of the window should appear when the window displays an NSToolbar
/Users/admin/builder/spi-builder-workspace/Sources/timeui/App/App.swift:72:16: warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 70 |         window.title = "▶  " + title
 71 |         window.titlebarAppearsTransparent = true
 72 |         window.makeKeyAndOrderFront(window)
    |                `- warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 73 |
 74 |         class WindowDelegate: NSObject, NSWindowDelegate {
AppKit.NSWindow.makeKeyAndOrderFront:2:22: note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func makeKeyAndOrderFront(_ sender: Any?)}
  |                      |- note: calls to instance method 'makeKeyAndOrderFront' 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/timeui/App/App.swift:80:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func makeWindow(title: String) -> NSWindow {
    |          `- note: add '@MainActor' to make instance method 'makeWindow(title:)' part of global actor 'MainActor'
 62 |         let window = NSWindow(
 63 |             contentRect: NSMakeRect(0, 0, 10, 10),
    :
 78 |         }
 79 |         let windowDelegate = WindowDelegate()
 80 |         window.delegate = windowDelegate
    |                `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 81 |
 82 |         return window
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:338:49: note: mutation of this property is only permitted within the actor
 336 | @property (getter=isExcludedFromWindowsMenu) BOOL excludedFromWindowsMenu;
 337 | @property (nullable, strong) __kindof NSView *contentView;
 338 | @property (nullable, weak) id<NSWindowDelegate> delegate;
     |                                                 `- note: mutation of this property is only permitted within the actor
 339 | @property (readonly) NSInteger windowNumber;
 340 |
[24/27] Compiling timeui main.swift
[24/27] Write Objects.LinkFileList
[25/27] Linking timeui
[26/27] Applying timeui
Build complete! (7.83s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "timeui",
  "name" : "timeui",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "timeui",
      "targets" : [
        "timeui"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "test-app",
      "targets" : [
        "test-app"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "timeuiTests",
      "module_type" : "SwiftTarget",
      "name" : "timeuiTests",
      "path" : "Tests/timeuiTests",
      "sources" : [
        "timeuiTests.swift"
      ],
      "target_dependencies" : [
        "timeui"
      ],
      "type" : "test"
    },
    {
      "c99name" : "timeui",
      "module_type" : "SwiftTarget",
      "name" : "timeui",
      "path" : "Sources/timeui",
      "product_memberships" : [
        "timeui"
      ],
      "sources" : [
        "App/App.swift",
        "App/AppDelegate.swift",
        "App/Runner.swift",
        "Model/LogDataSource.swift",
        "Model/PerformanceСalculator.swift",
        "Model/RunnerModel.swift",
        "Util/Color.swift",
        "Util/Notification.swift",
        "Util/Sound.swift",
        "View/DingToggleView.swift",
        "View/TimerView.swift",
        "View/TimerWindow.swift",
        "main.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "test_app",
      "module_type" : "SwiftTarget",
      "name" : "test-app",
      "path" : "Sources/test-app",
      "product_memberships" : [
        "test-app"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.6"
}
Done.