The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of CrashReporter, reference 0.5.1 (30e31e), with Swift 6.0 for macOS (SPM) on 13 Dec 2024 17:10:45 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.59.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/CrashReporter.git
Reference: 0.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CleanCocoa/CrashReporter
 * tag               0.5.1      -> FETCH_HEAD
HEAD is now at 30e31ea Merge pull request #11 from Cykelero/show-app-icon
Submodule path 'php/vendor/PHPMailer': checked out '511413a6eaeb167fa88282d437766d34510548b8'
Submodule 'php/vendor/PHPMailer' (https://github.com/PHPMailer/PHPMailer.git) registered for path 'php/vendor/PHPMailer'
Cloning into '/Users/admin/builder/spi-builder-workspace/php/vendor/PHPMailer'...
Cloned https://github.com/CleanCocoa/CrashReporter.git
Revision (git rev-parse @):
30e31eac5cad1ec7f34330a3bd3feba14c357aec
SUCCESS checkout https://github.com/CleanCocoa/CrashReporter.git at 0.5.1
========================================
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": "crashreporter",
      "name": "CrashReporter",
      "url": "https://github.com/CleanCocoa/CrashReporter.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CrashReporter",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/CleanCocoa/CrashReporter.git
[1/485] Fetching crashreporter
Fetched https://github.com/CleanCocoa/CrashReporter.git from cache (1.15s)
Creating working copy for https://github.com/CleanCocoa/CrashReporter.git
Working copy of https://github.com/CleanCocoa/CrashReporter.git resolved at 0.5.1 (30e31ea)
warning: '.resolve-product-dependencies': dependency 'crashreporter' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CleanCocoa/CrashReporter.git
https://github.com/CleanCocoa/CrashReporter.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CrashReporter",
  "name" : "CrashReporter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "CrashReporter",
      "targets" : [
        "CrashReporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CrashReporterTests",
      "module_type" : "SwiftTarget",
      "name" : "CrashReporterTests",
      "path" : "Tests/CrashReporterTests",
      "sources" : [
        "EmailAddressSettingTests.swift",
        "SendReportsAutomaticallySettingTests.swift"
      ],
      "target_dependencies" : [
        "CrashReporter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CrashReporter",
      "module_type" : "SwiftTarget",
      "name" : "CrashReporter",
      "path" : "Sources/CrashReporter",
      "product_memberships" : [
        "CrashReporter"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/UI/CrashReporterWindow.xib",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CrashLog.swift",
        "CrashReporter+DefaultsKeys.swift",
        "CrashReporter.swift",
        "CrashReporterBundle.swift",
        "EmailAddressSetting.swift",
        "Infrastructure/Bundle+InfoKeys.swift",
        "Infrastructure/HTTPURLResponse+valueForHTTPHeaderField.swift",
        "Infrastructure/OneShotDownload.swift",
        "Infrastructure/String+md5.swift",
        "Infrastructure/URLResponse+statusIsOK.swift",
        "SendReportsAutomaticallySetting.swift",
        "UI/CrashReportWindowController.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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/3] Write sources
[1/3] Copying CrashReporterWindow.xib
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/16] Compiling CrashReporter URLResponse+statusIsOK.swift
[5/16] Compiling CrashReporter SendReportsAutomaticallySetting.swift
[6/16] Compiling CrashReporter EmailAddressSetting.swift
[7/16] Compiling CrashReporter Bundle+InfoKeys.swift
[8/16] Compiling CrashReporter OneShotDownload.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/Infrastructure/OneShotDownload.swift:15:28: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'OneShotDownloadManager' may have shared mutable state; this is an error in the Swift 6 language mode
10 | internal typealias OneShotDownloadCallback = (Data?, URLResponse?, Error?) -> Swift.Void
11 |
12 | private final class OneShotDownloadManager {
   |                     `- note: class 'OneShotDownloadManager' does not conform to the 'Sendable' protocol
13 |
14 |     private let urlSession: URLSession
15 |     fileprivate static let shared = OneShotDownloadManager()
   |                            |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'OneShotDownloadManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     init() {
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/Infrastructure/OneShotDownload.swift:43:17: warning: capture of 'callback' with non-sendable type 'OneShotDownloadCallback' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a `@Sendable` closure
41 |         let task = urlSession.dataTask(with: url) { (data, response, error) in
42 |             DispatchQueue.main.async() {
43 |                 callback(data, response, error)
   |                 |- warning: capture of 'callback' with non-sendable type 'OneShotDownloadCallback' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a `@Sendable` closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 |             }
45 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/Infrastructure/OneShotDownload.swift:52:17: warning: capture of 'callback' with non-sendable type 'OneShotDownloadCallback' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a `@Sendable` closure
50 |         let task = urlSession.dataTask(with: urlRequest) { (data, response, error) in
51 |             DispatchQueue.main.async() {
52 |                 callback(data, response, error)
   |                 |- warning: capture of 'callback' with non-sendable type 'OneShotDownloadCallback' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a `@Sendable` closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
53 |             }
54 |         }
[9/16] Compiling CrashReporter HTTPURLResponse+valueForHTTPHeaderField.swift
[10/16] Compiling CrashReporter CrashReporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:176:44: warning: call to main actor-isolated initializer 'init(appName:crashLogText:crashLogSender:privacyPolicyURL:collectEmailSetting:sendReportsAutomaticallySetting:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
174 |             sendCrashLogsAutomaticallyKey: self.defaultsKeys.sendCrashLogsAutomaticallyKey)
175 |
176 |         self.crashReportWindowController = CrashReportWindowController(
    |                                            `- warning: call to main actor-isolated initializer 'init(appName:crashLogText:crashLogSender:privacyPolicyURL:collectEmailSetting:sendReportsAutomaticallySetting:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
177 |             appName: appName,
178 |             crashLogText: crashLog.content,
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/UI/CrashReportWindowController.swift:16:17: note: calls to initializer 'init(appName:crashLogText:crashLogSender:privacyPolicyURL:collectEmailSetting:sendReportsAutomaticallySetting:)' from outside of its actor context are implicitly asynchronous
 14 | final class CrashReportWindowController: NSWindowController, NSWindowDelegate {
 15 |
 16 |     convenience init(
    |                 `- note: calls to initializer 'init(appName:crashLogText:crashLogSender:privacyPolicyURL:collectEmailSetting:sendReportsAutomaticallySetting:)' from outside of its actor context are implicitly asynchronous
 17 |         appName: String,
 18 |         crashLogText: String,
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:187:43: warning: main actor-isolated property 'onWindowWillClose' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
185 |         // Drop reference to window after closing to eventually free memory.
186 |         // Call this before potentially making the window run in a modal loop.
187 |         self.crashReportWindowController?.onWindowWillClose = { [unowned self] _ in
    |                                           `- warning: main actor-isolated property 'onWindowWillClose' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
188 |             if displayAsModal {
189 |                 NSApp.stopModal()
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/UI/CrashReportWindowController.swift:51:9: note: mutation of this property is only permitted within the actor
 49 |     }
 50 |
 51 |     var onWindowWillClose: ((NSWindow?) -> Void)?
    |         `- note: mutation of this property is only permitted within the actor
 52 |
 53 |     func windowWillClose(_ notification: Notification) {
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:189:23: warning: call to main actor-isolated instance method 'stopModal()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
187 |         self.crashReportWindowController?.onWindowWillClose = { [unowned self] _ in
188 |             if displayAsModal {
189 |                 NSApp.stopModal()
    |                       `- warning: call to main actor-isolated instance method 'stopModal()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
190 |             }
191 |             self.crashReportWindowController = nil
AppKit.NSApplication:49:26: note: calls to instance method 'stopModal()' from outside of its actor context are implicitly asynchronous
 47 |     open func runModalForWindow(_ window: NSWindow) -> NSApplication.ModalResponse
 48 |     open func stop(_ sender: Any?)
 49 |     @MainActor open func stopModal()
    |                          `- note: calls to instance method 'stopModal()' from outside of its actor context are implicitly asynchronous
 50 |     open func stopModal(withCode returnCode: NSApplication.ModalResponse)
 51 |     @available(swift, obsoleted: 3, renamed: "stopModal(withCode:)")
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:189:17: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
187 |         self.crashReportWindowController?.onWindowWillClose = { [unowned self] _ in
188 |             if displayAsModal {
189 |                 NSApp.stopModal()
    |                 `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
190 |             }
191 |             self.crashReportWindowController = nil
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
  |                       `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:194:43: warning: call to main actor-isolated instance method 'showWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
192 |         }
193 |
194 |         self.crashReportWindowController?.showWindow(self)
    |                                           `- warning: call to main actor-isolated instance method 'showWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
195 |         self.crashReportWindowController?.window?.makeKeyAndOrderFront(self)
196 |
AppKit.NSWindowController:31:36: note: calls to instance method 'showWindow' from outside of its actor context are implicitly asynchronous
29 |     open func loadWindow()
30 |     open func close()
31 |     @IBAction @MainActor open func showWindow(_ sender: Any?)
   |                                    `- note: calls to instance method 'showWindow' from outside of its actor context are implicitly asynchronous
32 |     public convenience init()
33 |     @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:195:51: warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
193 |
194 |         self.crashReportWindowController?.showWindow(self)
195 |         self.crashReportWindowController?.window?.makeKeyAndOrderFront(self)
    |                                                   `- warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
196 |
197 |         if displayAsModal,
AppKit.NSWindow:144:26: note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
 142 |     open var canHide: Bool { get set }
 143 |     open func center()
 144 |     @MainActor open func makeKeyAndOrderFront(_ sender: Any?)
     |                          `- note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
 145 |     open func orderFront(_ sender: Any?)
 146 |     open func orderBack(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:195:43: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
193 |
194 |         self.crashReportWindowController?.showWindow(self)
195 |         self.crashReportWindowController?.window?.makeKeyAndOrderFront(self)
    |                                           `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
196 |
197 |         if displayAsModal,
AppKit.NSWindowController:23:14: note: property declared here
21 |     @available(macOS 10.10, *)
22 |     open var contentViewController: NSViewController? { get set }
23 |     open var window: NSWindow? { get set }
   |              `- note: property declared here
24 |     open var isWindowLoaded: Bool { get }
25 |     @available(swift, obsoleted: 3, renamed: "isWindowLoaded")
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:198:60: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
196 |
197 |         if displayAsModal,
198 |             let window = self.crashReportWindowController?.window {
    |                                                            `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
199 |             NSApp.runModal(for: window)
200 |         }
AppKit.NSWindowController:23:14: note: property declared here
21 |     @available(macOS 10.10, *)
22 |     open var contentViewController: NSViewController? { get set }
23 |     open var window: NSWindow? { get set }
   |              `- note: property declared here
24 |     open var isWindowLoaded: Bool { get }
25 |     @available(swift, obsoleted: 3, renamed: "isWindowLoaded")
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:199:19: warning: call to main actor-isolated instance method 'runModal(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
197 |         if displayAsModal,
198 |             let window = self.crashReportWindowController?.window {
199 |             NSApp.runModal(for: window)
    |                   `- warning: call to main actor-isolated instance method 'runModal(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
200 |         }
201 |     }
AppKit.NSApplication:45:26: note: calls to instance method 'runModal(for:)' from outside of its actor context are implicitly asynchronous
 43 |     open func finishLaunching()
 44 |     open func run()
 45 |     @MainActor open func runModal(for window: NSWindow) -> NSApplication.ModalResponse
    |                          `- note: calls to instance method 'runModal(for:)' from outside of its actor context are implicitly asynchronous
 46 |     @available(swift, obsoleted: 3, renamed: "runModal(for:)")
 47 |     open func runModalForWindow(_ window: NSWindow) -> NSApplication.ModalResponse
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:199:13: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
197 |         if displayAsModal,
198 |             let window = self.crashReportWindowController?.window {
199 |             NSApp.runModal(for: window)
    |             `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
200 |         }
201 |     }
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
  |                       `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:176:44: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
174 |             sendCrashLogsAutomaticallyKey: self.defaultsKeys.sendCrashLogsAutomaticallyKey)
175 |
176 |         self.crashReportWindowController = CrashReportWindowController(
    |                                            |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                            `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
177 |             appName: appName,
178 |             crashLogText: crashLog.content,
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:176:44: warning: sending 'collectEmailSetting' risks causing data races; this is an error in the Swift 6 language mode
174 |             sendCrashLogsAutomaticallyKey: self.defaultsKeys.sendCrashLogsAutomaticallyKey)
175 |
176 |         self.crashReportWindowController = CrashReportWindowController(
    |                                            |- warning: sending 'collectEmailSetting' risks causing data races; this is an error in the Swift 6 language mode
    |                                            `- note: sending task-isolated 'collectEmailSetting' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
177 |             appName: appName,
178 |             crashLogText: crashLog.content,
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:176:44: warning: sending 'sendAutomaticallySetting' risks causing data races; this is an error in the Swift 6 language mode
174 |             sendCrashLogsAutomaticallyKey: self.defaultsKeys.sendCrashLogsAutomaticallyKey)
175 |
176 |         self.crashReportWindowController = CrashReportWindowController(
    |                                            |- warning: sending 'sendAutomaticallySetting' risks causing data races; this is an error in the Swift 6 language mode
    |                                            `- note: sending task-isolated 'sendAutomaticallySetting' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
177 |             appName: appName,
178 |             crashLogText: crashLog.content,
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:194:43: warning: sending value of non-Sendable type 'CrashReporter' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
192 |         }
193 |
194 |         self.crashReportWindowController?.showWindow(self)
    |                                           `- warning: sending value of non-Sendable type 'CrashReporter' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
195 |         self.crashReportWindowController?.window?.makeKeyAndOrderFront(self)
    |                                         `- note: access can happen concurrently
196 |
197 |         if displayAsModal,
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:195:51: warning: sending value of non-Sendable type 'CrashReporter' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
193 |
194 |         self.crashReportWindowController?.showWindow(self)
195 |         self.crashReportWindowController?.window?.makeKeyAndOrderFront(self)
    |                                                   `- warning: sending value of non-Sendable type 'CrashReporter' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
196 |
197 |         if displayAsModal,
198 |             let window = self.crashReportWindowController?.window {
    |                                                          `- note: access can happen concurrently
199 |             NSApp.runModal(for: window)
200 |         }
[11/16] Compiling CrashReporter CrashReporterBundle.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:176:44: warning: call to main actor-isolated initializer 'init(appName:crashLogText:crashLogSender:privacyPolicyURL:collectEmailSetting:sendReportsAutomaticallySetting:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
174 |             sendCrashLogsAutomaticallyKey: self.defaultsKeys.sendCrashLogsAutomaticallyKey)
175 |
176 |         self.crashReportWindowController = CrashReportWindowController(
    |                                            `- warning: call to main actor-isolated initializer 'init(appName:crashLogText:crashLogSender:privacyPolicyURL:collectEmailSetting:sendReportsAutomaticallySetting:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
177 |             appName: appName,
178 |             crashLogText: crashLog.content,
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/UI/CrashReportWindowController.swift:16:17: note: calls to initializer 'init(appName:crashLogText:crashLogSender:privacyPolicyURL:collectEmailSetting:sendReportsAutomaticallySetting:)' from outside of its actor context are implicitly asynchronous
 14 | final class CrashReportWindowController: NSWindowController, NSWindowDelegate {
 15 |
 16 |     convenience init(
    |                 `- note: calls to initializer 'init(appName:crashLogText:crashLogSender:privacyPolicyURL:collectEmailSetting:sendReportsAutomaticallySetting:)' from outside of its actor context are implicitly asynchronous
 17 |         appName: String,
 18 |         crashLogText: String,
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:187:43: warning: main actor-isolated property 'onWindowWillClose' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
185 |         // Drop reference to window after closing to eventually free memory.
186 |         // Call this before potentially making the window run in a modal loop.
187 |         self.crashReportWindowController?.onWindowWillClose = { [unowned self] _ in
    |                                           `- warning: main actor-isolated property 'onWindowWillClose' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
188 |             if displayAsModal {
189 |                 NSApp.stopModal()
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/UI/CrashReportWindowController.swift:51:9: note: mutation of this property is only permitted within the actor
 49 |     }
 50 |
 51 |     var onWindowWillClose: ((NSWindow?) -> Void)?
    |         `- note: mutation of this property is only permitted within the actor
 52 |
 53 |     func windowWillClose(_ notification: Notification) {
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:189:23: warning: call to main actor-isolated instance method 'stopModal()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
187 |         self.crashReportWindowController?.onWindowWillClose = { [unowned self] _ in
188 |             if displayAsModal {
189 |                 NSApp.stopModal()
    |                       `- warning: call to main actor-isolated instance method 'stopModal()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
190 |             }
191 |             self.crashReportWindowController = nil
AppKit.NSApplication:49:26: note: calls to instance method 'stopModal()' from outside of its actor context are implicitly asynchronous
 47 |     open func runModalForWindow(_ window: NSWindow) -> NSApplication.ModalResponse
 48 |     open func stop(_ sender: Any?)
 49 |     @MainActor open func stopModal()
    |                          `- note: calls to instance method 'stopModal()' from outside of its actor context are implicitly asynchronous
 50 |     open func stopModal(withCode returnCode: NSApplication.ModalResponse)
 51 |     @available(swift, obsoleted: 3, renamed: "stopModal(withCode:)")
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:189:17: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
187 |         self.crashReportWindowController?.onWindowWillClose = { [unowned self] _ in
188 |             if displayAsModal {
189 |                 NSApp.stopModal()
    |                 `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
190 |             }
191 |             self.crashReportWindowController = nil
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
  |                       `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:194:43: warning: call to main actor-isolated instance method 'showWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
192 |         }
193 |
194 |         self.crashReportWindowController?.showWindow(self)
    |                                           `- warning: call to main actor-isolated instance method 'showWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
195 |         self.crashReportWindowController?.window?.makeKeyAndOrderFront(self)
196 |
AppKit.NSWindowController:31:36: note: calls to instance method 'showWindow' from outside of its actor context are implicitly asynchronous
29 |     open func loadWindow()
30 |     open func close()
31 |     @IBAction @MainActor open func showWindow(_ sender: Any?)
   |                                    `- note: calls to instance method 'showWindow' from outside of its actor context are implicitly asynchronous
32 |     public convenience init()
33 |     @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:195:51: warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
193 |
194 |         self.crashReportWindowController?.showWindow(self)
195 |         self.crashReportWindowController?.window?.makeKeyAndOrderFront(self)
    |                                                   `- warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
196 |
197 |         if displayAsModal,
AppKit.NSWindow:144:26: note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
 142 |     open var canHide: Bool { get set }
 143 |     open func center()
 144 |     @MainActor open func makeKeyAndOrderFront(_ sender: Any?)
     |                          `- note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
 145 |     open func orderFront(_ sender: Any?)
 146 |     open func orderBack(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:195:43: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
193 |
194 |         self.crashReportWindowController?.showWindow(self)
195 |         self.crashReportWindowController?.window?.makeKeyAndOrderFront(self)
    |                                           `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
196 |
197 |         if displayAsModal,
AppKit.NSWindowController:23:14: note: property declared here
21 |     @available(macOS 10.10, *)
22 |     open var contentViewController: NSViewController? { get set }
23 |     open var window: NSWindow? { get set }
   |              `- note: property declared here
24 |     open var isWindowLoaded: Bool { get }
25 |     @available(swift, obsoleted: 3, renamed: "isWindowLoaded")
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:198:60: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
196 |
197 |         if displayAsModal,
198 |             let window = self.crashReportWindowController?.window {
    |                                                            `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
199 |             NSApp.runModal(for: window)
200 |         }
AppKit.NSWindowController:23:14: note: property declared here
21 |     @available(macOS 10.10, *)
22 |     open var contentViewController: NSViewController? { get set }
23 |     open var window: NSWindow? { get set }
   |              `- note: property declared here
24 |     open var isWindowLoaded: Bool { get }
25 |     @available(swift, obsoleted: 3, renamed: "isWindowLoaded")
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:199:19: warning: call to main actor-isolated instance method 'runModal(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
197 |         if displayAsModal,
198 |             let window = self.crashReportWindowController?.window {
199 |             NSApp.runModal(for: window)
    |                   `- warning: call to main actor-isolated instance method 'runModal(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
200 |         }
201 |     }
AppKit.NSApplication:45:26: note: calls to instance method 'runModal(for:)' from outside of its actor context are implicitly asynchronous
 43 |     open func finishLaunching()
 44 |     open func run()
 45 |     @MainActor open func runModal(for window: NSWindow) -> NSApplication.ModalResponse
    |                          `- note: calls to instance method 'runModal(for:)' from outside of its actor context are implicitly asynchronous
 46 |     @available(swift, obsoleted: 3, renamed: "runModal(for:)")
 47 |     open func runModalForWindow(_ window: NSWindow) -> NSApplication.ModalResponse
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:199:13: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
159 |     internal var crashReportWindowController: CrashReportWindowController?
160 |
161 |     internal func runCrashReporterWindow(
    |                   `- note: add '@MainActor' to make instance method 'runCrashReporterWindow(appName:crashLog:displayAsModal:hideEmailCollection:hideSendReportsAutomaticallyOption:)' part of global actor 'MainActor'
162 |         appName: String,
163 |         crashLog: CrashLog,
    :
197 |         if displayAsModal,
198 |             let window = self.crashReportWindowController?.window {
199 |             NSApp.runModal(for: window)
    |             `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
200 |         }
201 |     }
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
  |                       `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:176:44: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
174 |             sendCrashLogsAutomaticallyKey: self.defaultsKeys.sendCrashLogsAutomaticallyKey)
175 |
176 |         self.crashReportWindowController = CrashReportWindowController(
    |                                            |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                                            `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
177 |             appName: appName,
178 |             crashLogText: crashLog.content,
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:176:44: warning: sending 'collectEmailSetting' risks causing data races; this is an error in the Swift 6 language mode
174 |             sendCrashLogsAutomaticallyKey: self.defaultsKeys.sendCrashLogsAutomaticallyKey)
175 |
176 |         self.crashReportWindowController = CrashReportWindowController(
    |                                            |- warning: sending 'collectEmailSetting' risks causing data races; this is an error in the Swift 6 language mode
    |                                            `- note: sending task-isolated 'collectEmailSetting' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
177 |             appName: appName,
178 |             crashLogText: crashLog.content,
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:176:44: warning: sending 'sendAutomaticallySetting' risks causing data races; this is an error in the Swift 6 language mode
174 |             sendCrashLogsAutomaticallyKey: self.defaultsKeys.sendCrashLogsAutomaticallyKey)
175 |
176 |         self.crashReportWindowController = CrashReportWindowController(
    |                                            |- warning: sending 'sendAutomaticallySetting' risks causing data races; this is an error in the Swift 6 language mode
    |                                            `- note: sending task-isolated 'sendAutomaticallySetting' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
177 |             appName: appName,
178 |             crashLogText: crashLog.content,
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:194:43: warning: sending value of non-Sendable type 'CrashReporter' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
192 |         }
193 |
194 |         self.crashReportWindowController?.showWindow(self)
    |                                           `- warning: sending value of non-Sendable type 'CrashReporter' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
195 |         self.crashReportWindowController?.window?.makeKeyAndOrderFront(self)
    |                                         `- note: access can happen concurrently
196 |
197 |         if displayAsModal,
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/CrashReporter.swift:195:51: warning: sending value of non-Sendable type 'CrashReporter' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
193 |
194 |         self.crashReportWindowController?.showWindow(self)
195 |         self.crashReportWindowController?.window?.makeKeyAndOrderFront(self)
    |                                                   `- warning: sending value of non-Sendable type 'CrashReporter' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
196 |
197 |         if displayAsModal,
198 |             let window = self.crashReportWindowController?.window {
    |                                                          `- note: access can happen concurrently
199 |             NSApp.runModal(for: window)
200 |         }
[12/16] Compiling CrashReporter CrashLog.swift
[13/16] Compiling CrashReporter CrashReporter+DefaultsKeys.swift
[14/16] Compiling CrashReporter String+md5.swift
[15/16] Emitting module CrashReporter
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/Infrastructure/OneShotDownload.swift:15:28: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'OneShotDownloadManager' may have shared mutable state; this is an error in the Swift 6 language mode
10 | internal typealias OneShotDownloadCallback = (Data?, URLResponse?, Error?) -> Swift.Void
11 |
12 | private final class OneShotDownloadManager {
   |                     `- note: class 'OneShotDownloadManager' does not conform to the 'Sendable' protocol
13 |
14 |     private let urlSession: URLSession
15 |     fileprivate static let shared = OneShotDownloadManager()
   |                            |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'OneShotDownloadManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     init() {
[16/16] Compiling CrashReporter CrashReportWindowController.swift
/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/UI/CrashReportWindowController.swift:191:25: warning: main actor-isolated property 'privacyPolicyURL' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
143 |     @objc dynamic var userProvidedDetails = ""
144 |
145 |     internal var privacyPolicyURL: URL?
    |                  `- note: property declared here
146 |
147 |     internal var crashLogText: String? {
    :
189 |     override func responds(to aSelector: Selector!) -> Bool {
190 |         if aSelector == #selector(showPrivacyPolicy(_:)) {
191 |             return self.privacyPolicyURL != nil
    |                         `- warning: main actor-isolated property 'privacyPolicyURL' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
192 |         }
193 |         return super.responds(to: aSelector)
[17/17] Compiling CrashReporter resource_bundle_accessor.swift
Build complete! (15.30s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/Info.plist
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CrashReporter",
  "name" : "CrashReporter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "CrashReporter",
      "targets" : [
        "CrashReporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CrashReporterTests",
      "module_type" : "SwiftTarget",
      "name" : "CrashReporterTests",
      "path" : "Tests/CrashReporterTests",
      "sources" : [
        "EmailAddressSettingTests.swift",
        "SendReportsAutomaticallySettingTests.swift"
      ],
      "target_dependencies" : [
        "CrashReporter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CrashReporter",
      "module_type" : "SwiftTarget",
      "name" : "CrashReporter",
      "path" : "Sources/CrashReporter",
      "product_memberships" : [
        "CrashReporter"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/CrashReporter/UI/CrashReporterWindow.xib",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CrashLog.swift",
        "CrashReporter+DefaultsKeys.swift",
        "CrashReporter.swift",
        "CrashReporterBundle.swift",
        "EmailAddressSetting.swift",
        "Infrastructure/Bundle+InfoKeys.swift",
        "Infrastructure/HTTPURLResponse+valueForHTTPHeaderField.swift",
        "Infrastructure/OneShotDownload.swift",
        "Infrastructure/String+md5.swift",
        "Infrastructure/URLResponse+statusIsOK.swift",
        "SendReportsAutomaticallySetting.swift",
        "UI/CrashReportWindowController.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.