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 Diagnostics, reference master (ee6c9d), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 19:30:51 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WeTransfer/Diagnostics.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/WeTransfer/Diagnostics
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ee6c9d3 Add new CODEOWNERS and create backup of the existing file in master branch
Submodule path 'Submodules/WeTransfer-iOS-CI': checked out '02174285440b63e3c1a3a0fda3505308120d28e4'
Submodule 'Submodules/WeTransfer-iOS-CI' (https://github.com/WeTransfer/WeTransfer-iOS-CI.git) registered for path 'Submodules/WeTransfer-iOS-CI'
Cloning into '/Users/admin/builder/spi-builder-workspace/Submodules/WeTransfer-iOS-CI'...
Cloned https://github.com/WeTransfer/Diagnostics.git
Revision (git rev-parse @):
ee6c9d3ee0c3d55f92e571e6a48e39e11383868b
SUCCESS checkout https://github.com/WeTransfer/Diagnostics.git at master
Fetching https://github.com/sindresorhus/ExceptionCatcher
[3/69] Fetching exceptioncatcher
Fetched https://github.com/sindresorhus/ExceptionCatcher from cache (0.69s)
Computing version for https://github.com/sindresorhus/ExceptionCatcher
Computed https://github.com/sindresorhus/ExceptionCatcher at 2.0.1 (3.53s)
Creating working copy for https://github.com/sindresorhus/ExceptionCatcher
Working copy of https://github.com/sindresorhus/ExceptionCatcher resolved at 2.0.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": "diagnostics",
      "name": "Diagnostics",
      "url": "https://github.com/WeTransfer/Diagnostics.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Diagnostics",
      "dependencies": [
        {
          "identity": "exceptioncatcher",
          "name": "ExceptionCatcher",
          "url": "https://github.com/sindresorhus/ExceptionCatcher",
          "version": "2.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ExceptionCatcher",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/WeTransfer/Diagnostics.git
[1/2058] Fetching diagnostics
Fetched https://github.com/WeTransfer/Diagnostics.git from cache (1.28s)
Fetching https://github.com/sindresorhus/ExceptionCatcher from cache
Fetched https://github.com/sindresorhus/ExceptionCatcher from cache (0.48s)
Computing version for https://github.com/sindresorhus/ExceptionCatcher
Computed https://github.com/sindresorhus/ExceptionCatcher at 2.0.1 (0.02s)
Creating working copy for https://github.com/sindresorhus/ExceptionCatcher
Working copy of https://github.com/sindresorhus/ExceptionCatcher resolved at 2.0.1
Creating working copy for https://github.com/WeTransfer/Diagnostics.git
Working copy of https://github.com/WeTransfer/Diagnostics.git resolved at master (ee6c9d3)
warning: '.resolve-product-dependencies': dependency 'diagnostics' is not used by any target
Found 1 product dependencies
  - ExceptionCatcher
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/WeTransfer/Diagnostics.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/7] Write sources
[2/7] Copying functions.js
[3/7] Copying style.css
[4/7] Copying PrivacyInfo.xcprivacy
[5/7] Write swift-version--7754E27361AE5C74.txt
[6/7] Compiling Internal ExceptionCatcher.m
[8/9] Compiling ExceptionCatcher ExceptionCatcher.swift
[9/9] Emitting module ExceptionCatcher
[10/39] Compiling Diagnostics DiagnosticsReportFilter.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReporter.swift:43:16: warning: static property 'reportTitle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 |     /// The title that is used in the header of the web page of the report.
 43 |     static var reportTitle: String = "\(Bundle.appName) - Diagnostics Report"
    |                |- warning: static property 'reportTitle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'reportTitle' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'reportTitle' 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
 44 |
 45 |     /// Creates the report by making use of the given reporters.
[11/39] Compiling Diagnostics DiagnosticsReporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReporter.swift:43:16: warning: static property 'reportTitle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 |     /// The title that is used in the header of the web page of the report.
 43 |     static var reportTitle: String = "\(Bundle.appName) - Diagnostics Report"
    |                |- warning: static property 'reportTitle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'reportTitle' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'reportTitle' 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
 44 |
 45 |     /// Creates the report by making use of the given reporters.
[12/39] Compiling Diagnostics BundleExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReporter.swift:43:16: warning: static property 'reportTitle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 |     /// The title that is used in the header of the web page of the report.
 43 |     static var reportTitle: String = "\(Bundle.appName) - Diagnostics Report"
    |                |- warning: static property 'reportTitle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'reportTitle' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'reportTitle' 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
 44 |
 45 |     /// Creates the report by making use of the given reporters.
[13/39] Compiling Diagnostics ByteCountFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReporter.swift:43:16: warning: static property 'reportTitle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 |     /// The title that is used in the header of the web page of the report.
 43 |     static var reportTitle: String = "\(Bundle.appName) - Diagnostics Report"
    |                |- warning: static property 'reportTitle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'reportTitle' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'reportTitle' 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
 44 |
 45 |     /// Creates the report by making use of the given reporters.
[14/42] Emitting module Diagnostics
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReporter.swift:43:16: warning: static property 'reportTitle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 |     /// The title that is used in the header of the web page of the report.
 43 |     static var reportTitle: String = "\(Bundle.appName) - Diagnostics Report"
    |                |- warning: static property 'reportTitle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'reportTitle' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'reportTitle' 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
 44 |
 45 |     /// Creates the report by making use of the given reporters.
/Users/admin/builder/spi-builder-workspace/Sources/HTMLGenerating.swift:21:1: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 | }
20 |
21 | extension Dictionary: HTMLGenerating where Key == String {
   | `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 |     public func html() -> HTML {
23 |         var html = "<table>"
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:22:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
    |                |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standard' 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
 23 |
 24 |     private lazy var logFileLocation: URL = FileManager.default.documentsDirectory.appendingPathComponent("diagnostics_log.txt")
[15/42] Compiling Diagnostics LogsReporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:22:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
    |                |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standard' 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
 23 |
 24 |     private lazy var logFileLocation: URL = FileManager.default.documentsDirectory.appendingPathComponent("diagnostics_log.txt")
[16/42] Compiling Diagnostics SmartInsightsReporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:22:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
    |                |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standard' 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
 23 |
 24 |     private lazy var logFileLocation: URL = FileManager.default.documentsDirectory.appendingPathComponent("diagnostics_log.txt")
[17/42] Compiling Diagnostics UserDefaultsReporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:22:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
    |                |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standard' 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
 23 |
 24 |     private lazy var logFileLocation: URL = FileManager.default.documentsDirectory.appendingPathComponent("diagnostics_log.txt")
[18/42] Compiling Diagnostics CellularAllowedInsight.swift
[19/42] Compiling Diagnostics DeviceStorageInsight.swift
[20/42] Compiling Diagnostics SmartInsight.swift
[21/42] Compiling Diagnostics AppSystemMetadataReporter.swift
[22/42] Compiling Diagnostics DirectoryTreeFactory.swift
[23/42] Compiling Diagnostics DirectoryTreeNode.swift
[24/42] Compiling Diagnostics DateFormatterExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTMLGenerating.swift:21:1: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 | }
20 |
21 | extension Dictionary: HTMLGenerating where Key == String {
   | `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 |     public func html() -> HTML {
23 |         var html = "<table>"
[25/42] Compiling Diagnostics HTMLEncoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTMLGenerating.swift:21:1: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 | }
20 |
21 | extension Dictionary: HTMLGenerating where Key == String {
   | `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 |     public func html() -> HTML {
23 |         var html = "<table>"
[26/42] Compiling Diagnostics HTMLGenerating.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTMLGenerating.swift:21:1: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 | }
20 |
21 | extension Dictionary: HTMLGenerating where Key == String {
   | `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 |     public func html() -> HTML {
23 |         var html = "<table>"
[27/42] Compiling Diagnostics LogsTrimmer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:22:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
    |                |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standard' 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
 23 |
 24 |     private lazy var logFileLocation: URL = FileManager.default.documentsDirectory.appendingPathComponent("diagnostics_log.txt")
[28/42] Compiling Diagnostics MFMailComposeVCExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:22:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
    |                |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standard' 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
 23 |
 24 |     private lazy var logFileLocation: URL = FileManager.default.documentsDirectory.appendingPathComponent("diagnostics_log.txt")
[29/42] Compiling Diagnostics MetricsMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:22:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
    |                |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standard' 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
 23 |
 24 |     private lazy var logFileLocation: URL = FileManager.default.documentsDirectory.appendingPathComponent("diagnostics_log.txt")
[30/42] Compiling Diagnostics SmartInsightsProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmartInsights/UpdateAvailableInsight.swift:45:21: warning: mutation of captured var 'appMetadata' in concurrently-executing code; this is an error in the Swift 6 language mode
43 |                 if let data {
44 |                     let result = try? JSONDecoder().decode(AppMetadataResults.self, from: data)
45 |                     appMetadata = result?.results.first
   |                     `- warning: mutation of captured var 'appMetadata' in concurrently-executing code; this is an error in the Swift 6 language mode
46 |                 }
47 |             }
[31/42] Compiling Diagnostics UpdateAvailableInsight.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmartInsights/UpdateAvailableInsight.swift:45:21: warning: mutation of captured var 'appMetadata' in concurrently-executing code; this is an error in the Swift 6 language mode
43 |                 if let data {
44 |                     let result = try? JSONDecoder().decode(AppMetadataResults.self, from: data)
45 |                     appMetadata = result?.results.first
   |                     `- warning: mutation of captured var 'appMetadata' in concurrently-executing code; this is an error in the Swift 6 language mode
46 |                 }
47 |             }
[32/42] Compiling Diagnostics resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmartInsights/UpdateAvailableInsight.swift:45:21: warning: mutation of captured var 'appMetadata' in concurrently-executing code; this is an error in the Swift 6 language mode
43 |                 if let data {
44 |                     let result = try? JSONDecoder().decode(AppMetadataResults.self, from: data)
45 |                     appMetadata = result?.results.first
   |                     `- warning: mutation of captured var 'appMetadata' in concurrently-executing code; this is an error in the Swift 6 language mode
46 |                 }
47 |             }
[33/42] Compiling Diagnostics Device.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:64:25: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
   |                         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
AppKit.NSSavePanel:66:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
64 |     @available(macOS 10.10, *)
65 |     public convenience init(contentViewController: NSViewController)
66 |     @MainActor public convenience init()
   |                                   `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
67 |     @available(macOS, introduced: 10.0, deprecated: 15.0, message: "This method should not be used.")
68 |     @available(macOS, introduced: 10.0, deprecated: 15.0, message: "This method should not be used.")
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:65:19: warning: main actor-isolated property 'canCreateDirectories' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   |                   `- warning: main actor-isolated property 'canCreateDirectories' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
66 |         savePanel.showsTagField = false
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
AppKit.NSSavePanel:22:14: note: mutation of this property is only permitted within the actor
20 |     @available(swift, obsoleted: 3, renamed: "isExpanded")
21 |     open var expanded: Bool { get }
22 |     open var canCreateDirectories: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
23 |     open var canSelectHiddenExtension: Bool { get set }
24 |     open var isExtensionHidden: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:66:19: warning: main actor-isolated property 'showsTagField' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
   |                   `- warning: main actor-isolated property 'showsTagField' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
68 |         savePanel.allowedFileTypes = ["html"]
AppKit.NSSavePanel:36:14: note: mutation of this property is only permitted within the actor
34 |     open var showsHiddenFiles: Bool { get set }
35 |     @available(macOS 10.9, *)
36 |     open var showsTagField: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
37 |     @available(macOS 10.9, *)
38 |     open var tagNames: [String]? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:67:19: warning: main actor-isolated property 'directoryURL' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
   |                   `- warning: main actor-isolated property 'directoryURL' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 |         savePanel.allowedFileTypes = ["html"]
69 |         savePanel.nameFieldStringValue = filename
AppKit.NSSavePanel:11:14: note: mutation of this property is only permitted within the actor
 9 |     open var identifier: NSUserInterfaceItemIdentifier? { get set }
10 |     @available(macOS 10.6, *)
11 |     open var directoryURL: URL? { get set }
   |              `- note: mutation of this property is only permitted within the actor
12 |     @available(macOS 11.0, *)
13 |     open var allowedContentTypes: [UTType] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:68:19: warning: main actor-isolated property 'allowedFileTypes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
68 |         savePanel.allowedFileTypes = ["html"]
   |                   `- warning: main actor-isolated property 'allowedFileTypes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
69 |         savePanel.nameFieldStringValue = filename
70 |         savePanel.title = "Save Diagnostics Report"
AppKit.NSSavePanel:25:25: note: mutation of this property is only permitted within the actor
23 |     @IBAction open func selectText(_ sender: Any?)
24 |     @available(macOS, introduced: 10.3, deprecated: 12.0, message: "Use -allowedContentTypes instead")
25 |     @MainActor open var allowedFileTypes: [String]? { get set }
   |                         `- note: mutation of this property is only permitted within the actor
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:69:19: warning: main actor-isolated property 'nameFieldStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
68 |         savePanel.allowedFileTypes = ["html"]
69 |         savePanel.nameFieldStringValue = filename
   |                   `- warning: main actor-isolated property 'nameFieldStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 |         savePanel.title = "Save Diagnostics Report"
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
AppKit.NSSavePanel:32:14: note: mutation of this property is only permitted within the actor
30 |     open var nameFieldLabel: String! { get set }
31 |     @available(macOS 10.6, *)
32 |     open var nameFieldStringValue: String { get set }
   |              `- note: mutation of this property is only permitted within the actor
33 |     open var message: String! { get set }
34 |     open var showsHiddenFiles: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:70:19: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
68 |         savePanel.allowedFileTypes = ["html"]
69 |         savePanel.nameFieldStringValue = filename
70 |         savePanel.title = "Save Diagnostics Report"
   |                   `- 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 |         savePanel.message = "Save the Diagnostics report to the chosen location."
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
AppKit.NSSavePanel:29:14: note: mutation of this property is only permitted within the actor
27 |     open var treatsFilePackagesAsDirectories: Bool { get set }
28 |     open var prompt: String! { get set }
29 |     open var title: String! { get set }
   |              `- note: mutation of this property is only permitted within the actor
30 |     open var nameFieldLabel: String! { get set }
31 |     @available(macOS 10.6, *)
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:71:19: warning: main actor-isolated property 'message' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
69 |         savePanel.nameFieldStringValue = filename
70 |         savePanel.title = "Save Diagnostics Report"
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
   |                   `- warning: main actor-isolated property 'message' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
73 |         savePanel.begin { result in
AppKit.NSSavePanel:33:14: note: mutation of this property is only permitted within the actor
31 |     @available(macOS 10.6, *)
32 |     open var nameFieldStringValue: String { get set }
33 |     open var message: String! { get set }
   |              `- note: mutation of this property is only permitted within the actor
34 |     open var showsHiddenFiles: Bool { get set }
35 |     @available(macOS 10.9, *)
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:72:19: warning: main actor-isolated property 'level' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
70 |         savePanel.title = "Save Diagnostics Report"
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
   |                   `- warning: main actor-isolated property 'level' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 |         savePanel.begin { result in
74 |             guard result == .OK, let targetURL = savePanel.url else {
AppKit.NSWindow:245:25: note: mutation of this property is only permitted within the actor
 243 |     open var allowsToolTipsWhenApplicationIsInactive: Bool { get set }
 244 |     open var backingType: NSWindow.BackingStoreType { get set }
 245 |     @MainActor open var level: NSWindow.Level { get set }
     |                         `- note: mutation of this property is only permitted within the actor
 246 |     open var depthLimit: NSWindow.Depth { get set }
 247 |     open func setDynamicDepthLimit(_ flag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:73:19: warning: call to main actor-isolated instance method 'begin(completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
73 |         savePanel.begin { result in
   |                   `- warning: call to main actor-isolated instance method 'begin(completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
74 |             guard result == .OK, let targetURL = savePanel.url else {
75 |                 print("Saving Diagnostics report cancelled or failed")
AppKit.NSSavePanel:52:26: note: calls to instance method 'begin(completionHandler:)' from outside of its actor context are implicitly asynchronous
50 |     open func beginSheetModalForWindow(_ window: NSWindow, completionHandler handler: @escaping (NSApplication.ModalResponse) -> Void)
51 |     @available(macOS 10.6, *)
52 |     @MainActor open func begin(completionHandler handler: @escaping (NSApplication.ModalResponse) -> Void)
   |                          `- note: calls to instance method 'begin(completionHandler:)' from outside of its actor context are implicitly asynchronous
53 |     @available(macOS 10.6, *)
54 |     open func begin() async -> NSApplication.ModalResponse
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:74:60: warning: main actor-isolated property 'url' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
73 |         savePanel.begin { result in
74 |             guard result == .OK, let targetURL = savePanel.url else {
   |                                                            `- warning: main actor-isolated property 'url' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
75 |                 print("Saving Diagnostics report cancelled or failed")
76 |                 return
AppKit.NSSavePanel:6:14: note: property declared here
 4 |     @available(*, unavailable, renamed: "init()", message: "Not available in Swift")
 5 |     open class func savePanel() -> NSSavePanel
 6 |     open var url: URL? { get }
   |              `- note: property declared here
 7 |     @available(swift, obsoleted: 3, renamed: "url")
 8 |     open var URL: URL? { get }
[34/42] Compiling Diagnostics Diagnostics.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:64:25: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
   |                         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
AppKit.NSSavePanel:66:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
64 |     @available(macOS 10.10, *)
65 |     public convenience init(contentViewController: NSViewController)
66 |     @MainActor public convenience init()
   |                                   `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
67 |     @available(macOS, introduced: 10.0, deprecated: 15.0, message: "This method should not be used.")
68 |     @available(macOS, introduced: 10.0, deprecated: 15.0, message: "This method should not be used.")
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:65:19: warning: main actor-isolated property 'canCreateDirectories' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   |                   `- warning: main actor-isolated property 'canCreateDirectories' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
66 |         savePanel.showsTagField = false
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
AppKit.NSSavePanel:22:14: note: mutation of this property is only permitted within the actor
20 |     @available(swift, obsoleted: 3, renamed: "isExpanded")
21 |     open var expanded: Bool { get }
22 |     open var canCreateDirectories: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
23 |     open var canSelectHiddenExtension: Bool { get set }
24 |     open var isExtensionHidden: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:66:19: warning: main actor-isolated property 'showsTagField' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
   |                   `- warning: main actor-isolated property 'showsTagField' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
68 |         savePanel.allowedFileTypes = ["html"]
AppKit.NSSavePanel:36:14: note: mutation of this property is only permitted within the actor
34 |     open var showsHiddenFiles: Bool { get set }
35 |     @available(macOS 10.9, *)
36 |     open var showsTagField: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
37 |     @available(macOS 10.9, *)
38 |     open var tagNames: [String]? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:67:19: warning: main actor-isolated property 'directoryURL' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
   |                   `- warning: main actor-isolated property 'directoryURL' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 |         savePanel.allowedFileTypes = ["html"]
69 |         savePanel.nameFieldStringValue = filename
AppKit.NSSavePanel:11:14: note: mutation of this property is only permitted within the actor
 9 |     open var identifier: NSUserInterfaceItemIdentifier? { get set }
10 |     @available(macOS 10.6, *)
11 |     open var directoryURL: URL? { get set }
   |              `- note: mutation of this property is only permitted within the actor
12 |     @available(macOS 11.0, *)
13 |     open var allowedContentTypes: [UTType] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:68:19: warning: main actor-isolated property 'allowedFileTypes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
68 |         savePanel.allowedFileTypes = ["html"]
   |                   `- warning: main actor-isolated property 'allowedFileTypes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
69 |         savePanel.nameFieldStringValue = filename
70 |         savePanel.title = "Save Diagnostics Report"
AppKit.NSSavePanel:25:25: note: mutation of this property is only permitted within the actor
23 |     @IBAction open func selectText(_ sender: Any?)
24 |     @available(macOS, introduced: 10.3, deprecated: 12.0, message: "Use -allowedContentTypes instead")
25 |     @MainActor open var allowedFileTypes: [String]? { get set }
   |                         `- note: mutation of this property is only permitted within the actor
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:69:19: warning: main actor-isolated property 'nameFieldStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
68 |         savePanel.allowedFileTypes = ["html"]
69 |         savePanel.nameFieldStringValue = filename
   |                   `- warning: main actor-isolated property 'nameFieldStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 |         savePanel.title = "Save Diagnostics Report"
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
AppKit.NSSavePanel:32:14: note: mutation of this property is only permitted within the actor
30 |     open var nameFieldLabel: String! { get set }
31 |     @available(macOS 10.6, *)
32 |     open var nameFieldStringValue: String { get set }
   |              `- note: mutation of this property is only permitted within the actor
33 |     open var message: String! { get set }
34 |     open var showsHiddenFiles: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:70:19: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
68 |         savePanel.allowedFileTypes = ["html"]
69 |         savePanel.nameFieldStringValue = filename
70 |         savePanel.title = "Save Diagnostics Report"
   |                   `- 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 |         savePanel.message = "Save the Diagnostics report to the chosen location."
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
AppKit.NSSavePanel:29:14: note: mutation of this property is only permitted within the actor
27 |     open var treatsFilePackagesAsDirectories: Bool { get set }
28 |     open var prompt: String! { get set }
29 |     open var title: String! { get set }
   |              `- note: mutation of this property is only permitted within the actor
30 |     open var nameFieldLabel: String! { get set }
31 |     @available(macOS 10.6, *)
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:71:19: warning: main actor-isolated property 'message' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
69 |         savePanel.nameFieldStringValue = filename
70 |         savePanel.title = "Save Diagnostics Report"
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
   |                   `- warning: main actor-isolated property 'message' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
73 |         savePanel.begin { result in
AppKit.NSSavePanel:33:14: note: mutation of this property is only permitted within the actor
31 |     @available(macOS 10.6, *)
32 |     open var nameFieldStringValue: String { get set }
33 |     open var message: String! { get set }
   |              `- note: mutation of this property is only permitted within the actor
34 |     open var showsHiddenFiles: Bool { get set }
35 |     @available(macOS 10.9, *)
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:72:19: warning: main actor-isolated property 'level' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
70 |         savePanel.title = "Save Diagnostics Report"
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
   |                   `- warning: main actor-isolated property 'level' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 |         savePanel.begin { result in
74 |             guard result == .OK, let targetURL = savePanel.url else {
AppKit.NSWindow:245:25: note: mutation of this property is only permitted within the actor
 243 |     open var allowsToolTipsWhenApplicationIsInactive: Bool { get set }
 244 |     open var backingType: NSWindow.BackingStoreType { get set }
 245 |     @MainActor open var level: NSWindow.Level { get set }
     |                         `- note: mutation of this property is only permitted within the actor
 246 |     open var depthLimit: NSWindow.Depth { get set }
 247 |     open func setDynamicDepthLimit(_ flag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:73:19: warning: call to main actor-isolated instance method 'begin(completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
73 |         savePanel.begin { result in
   |                   `- warning: call to main actor-isolated instance method 'begin(completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
74 |             guard result == .OK, let targetURL = savePanel.url else {
75 |                 print("Saving Diagnostics report cancelled or failed")
AppKit.NSSavePanel:52:26: note: calls to instance method 'begin(completionHandler:)' from outside of its actor context are implicitly asynchronous
50 |     open func beginSheetModalForWindow(_ window: NSWindow, completionHandler handler: @escaping (NSApplication.ModalResponse) -> Void)
51 |     @available(macOS 10.6, *)
52 |     @MainActor open func begin(completionHandler handler: @escaping (NSApplication.ModalResponse) -> Void)
   |                          `- note: calls to instance method 'begin(completionHandler:)' from outside of its actor context are implicitly asynchronous
53 |     @available(macOS 10.6, *)
54 |     open func begin() async -> NSApplication.ModalResponse
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:74:60: warning: main actor-isolated property 'url' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
73 |         savePanel.begin { result in
74 |             guard result == .OK, let targetURL = savePanel.url else {
   |                                                            `- warning: main actor-isolated property 'url' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
75 |                 print("Saving Diagnostics report cancelled or failed")
76 |                 return
AppKit.NSSavePanel:6:14: note: property declared here
 4 |     @available(*, unavailable, renamed: "init()", message: "Not available in Swift")
 5 |     open class func savePanel() -> NSSavePanel
 6 |     open var url: URL? { get }
   |              `- note: property declared here
 7 |     @available(swift, obsoleted: 3, renamed: "url")
 8 |     open var URL: URL? { get }
[35/42] Compiling Diagnostics DiagnosticsChapter.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:64:25: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
   |                         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
AppKit.NSSavePanel:66:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
64 |     @available(macOS 10.10, *)
65 |     public convenience init(contentViewController: NSViewController)
66 |     @MainActor public convenience init()
   |                                   `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
67 |     @available(macOS, introduced: 10.0, deprecated: 15.0, message: "This method should not be used.")
68 |     @available(macOS, introduced: 10.0, deprecated: 15.0, message: "This method should not be used.")
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:65:19: warning: main actor-isolated property 'canCreateDirectories' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   |                   `- warning: main actor-isolated property 'canCreateDirectories' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
66 |         savePanel.showsTagField = false
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
AppKit.NSSavePanel:22:14: note: mutation of this property is only permitted within the actor
20 |     @available(swift, obsoleted: 3, renamed: "isExpanded")
21 |     open var expanded: Bool { get }
22 |     open var canCreateDirectories: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
23 |     open var canSelectHiddenExtension: Bool { get set }
24 |     open var isExtensionHidden: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:66:19: warning: main actor-isolated property 'showsTagField' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
   |                   `- warning: main actor-isolated property 'showsTagField' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
68 |         savePanel.allowedFileTypes = ["html"]
AppKit.NSSavePanel:36:14: note: mutation of this property is only permitted within the actor
34 |     open var showsHiddenFiles: Bool { get set }
35 |     @available(macOS 10.9, *)
36 |     open var showsTagField: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
37 |     @available(macOS 10.9, *)
38 |     open var tagNames: [String]? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:67:19: warning: main actor-isolated property 'directoryURL' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
   |                   `- warning: main actor-isolated property 'directoryURL' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 |         savePanel.allowedFileTypes = ["html"]
69 |         savePanel.nameFieldStringValue = filename
AppKit.NSSavePanel:11:14: note: mutation of this property is only permitted within the actor
 9 |     open var identifier: NSUserInterfaceItemIdentifier? { get set }
10 |     @available(macOS 10.6, *)
11 |     open var directoryURL: URL? { get set }
   |              `- note: mutation of this property is only permitted within the actor
12 |     @available(macOS 11.0, *)
13 |     open var allowedContentTypes: [UTType] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:68:19: warning: main actor-isolated property 'allowedFileTypes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
68 |         savePanel.allowedFileTypes = ["html"]
   |                   `- warning: main actor-isolated property 'allowedFileTypes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
69 |         savePanel.nameFieldStringValue = filename
70 |         savePanel.title = "Save Diagnostics Report"
AppKit.NSSavePanel:25:25: note: mutation of this property is only permitted within the actor
23 |     @IBAction open func selectText(_ sender: Any?)
24 |     @available(macOS, introduced: 10.3, deprecated: 12.0, message: "Use -allowedContentTypes instead")
25 |     @MainActor open var allowedFileTypes: [String]? { get set }
   |                         `- note: mutation of this property is only permitted within the actor
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:69:19: warning: main actor-isolated property 'nameFieldStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
68 |         savePanel.allowedFileTypes = ["html"]
69 |         savePanel.nameFieldStringValue = filename
   |                   `- warning: main actor-isolated property 'nameFieldStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 |         savePanel.title = "Save Diagnostics Report"
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
AppKit.NSSavePanel:32:14: note: mutation of this property is only permitted within the actor
30 |     open var nameFieldLabel: String! { get set }
31 |     @available(macOS 10.6, *)
32 |     open var nameFieldStringValue: String { get set }
   |              `- note: mutation of this property is only permitted within the actor
33 |     open var message: String! { get set }
34 |     open var showsHiddenFiles: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:70:19: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
68 |         savePanel.allowedFileTypes = ["html"]
69 |         savePanel.nameFieldStringValue = filename
70 |         savePanel.title = "Save Diagnostics Report"
   |                   `- 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 |         savePanel.message = "Save the Diagnostics report to the chosen location."
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
AppKit.NSSavePanel:29:14: note: mutation of this property is only permitted within the actor
27 |     open var treatsFilePackagesAsDirectories: Bool { get set }
28 |     open var prompt: String! { get set }
29 |     open var title: String! { get set }
   |              `- note: mutation of this property is only permitted within the actor
30 |     open var nameFieldLabel: String! { get set }
31 |     @available(macOS 10.6, *)
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:71:19: warning: main actor-isolated property 'message' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
69 |         savePanel.nameFieldStringValue = filename
70 |         savePanel.title = "Save Diagnostics Report"
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
   |                   `- warning: main actor-isolated property 'message' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
73 |         savePanel.begin { result in
AppKit.NSSavePanel:33:14: note: mutation of this property is only permitted within the actor
31 |     @available(macOS 10.6, *)
32 |     open var nameFieldStringValue: String { get set }
33 |     open var message: String! { get set }
   |              `- note: mutation of this property is only permitted within the actor
34 |     open var showsHiddenFiles: Bool { get set }
35 |     @available(macOS 10.9, *)
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:72:19: warning: main actor-isolated property 'level' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
70 |         savePanel.title = "Save Diagnostics Report"
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
   |                   `- warning: main actor-isolated property 'level' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 |         savePanel.begin { result in
74 |             guard result == .OK, let targetURL = savePanel.url else {
AppKit.NSWindow:245:25: note: mutation of this property is only permitted within the actor
 243 |     open var allowsToolTipsWhenApplicationIsInactive: Bool { get set }
 244 |     open var backingType: NSWindow.BackingStoreType { get set }
 245 |     @MainActor open var level: NSWindow.Level { get set }
     |                         `- note: mutation of this property is only permitted within the actor
 246 |     open var depthLimit: NSWindow.Depth { get set }
 247 |     open func setDynamicDepthLimit(_ flag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:73:19: warning: call to main actor-isolated instance method 'begin(completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
73 |         savePanel.begin { result in
   |                   `- warning: call to main actor-isolated instance method 'begin(completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
74 |             guard result == .OK, let targetURL = savePanel.url else {
75 |                 print("Saving Diagnostics report cancelled or failed")
AppKit.NSSavePanel:52:26: note: calls to instance method 'begin(completionHandler:)' from outside of its actor context are implicitly asynchronous
50 |     open func beginSheetModalForWindow(_ window: NSWindow, completionHandler handler: @escaping (NSApplication.ModalResponse) -> Void)
51 |     @available(macOS 10.6, *)
52 |     @MainActor open func begin(completionHandler handler: @escaping (NSApplication.ModalResponse) -> Void)
   |                          `- note: calls to instance method 'begin(completionHandler:)' from outside of its actor context are implicitly asynchronous
53 |     @available(macOS 10.6, *)
54 |     open func begin() async -> NSApplication.ModalResponse
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:74:60: warning: main actor-isolated property 'url' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
73 |         savePanel.begin { result in
74 |             guard result == .OK, let targetURL = savePanel.url else {
   |                                                            `- warning: main actor-isolated property 'url' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
75 |                 print("Saving Diagnostics report cancelled or failed")
76 |                 return
AppKit.NSSavePanel:6:14: note: property declared here
 4 |     @available(*, unavailable, renamed: "init()", message: "Not available in Swift")
 5 |     open class func savePanel() -> NSSavePanel
 6 |     open var url: URL? { get }
   |              `- note: property declared here
 7 |     @available(swift, obsoleted: 3, renamed: "url")
 8 |     open var URL: URL? { get }
[36/42] Compiling Diagnostics DiagnosticsReport.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:64:25: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
   |                         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
AppKit.NSSavePanel:66:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
64 |     @available(macOS 10.10, *)
65 |     public convenience init(contentViewController: NSViewController)
66 |     @MainActor public convenience init()
   |                                   `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
67 |     @available(macOS, introduced: 10.0, deprecated: 15.0, message: "This method should not be used.")
68 |     @available(macOS, introduced: 10.0, deprecated: 15.0, message: "This method should not be used.")
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:65:19: warning: main actor-isolated property 'canCreateDirectories' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   |                   `- warning: main actor-isolated property 'canCreateDirectories' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
66 |         savePanel.showsTagField = false
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
AppKit.NSSavePanel:22:14: note: mutation of this property is only permitted within the actor
20 |     @available(swift, obsoleted: 3, renamed: "isExpanded")
21 |     open var expanded: Bool { get }
22 |     open var canCreateDirectories: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
23 |     open var canSelectHiddenExtension: Bool { get set }
24 |     open var isExtensionHidden: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:66:19: warning: main actor-isolated property 'showsTagField' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
   |                   `- warning: main actor-isolated property 'showsTagField' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
68 |         savePanel.allowedFileTypes = ["html"]
AppKit.NSSavePanel:36:14: note: mutation of this property is only permitted within the actor
34 |     open var showsHiddenFiles: Bool { get set }
35 |     @available(macOS 10.9, *)
36 |     open var showsTagField: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
37 |     @available(macOS 10.9, *)
38 |     open var tagNames: [String]? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:67:19: warning: main actor-isolated property 'directoryURL' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
   |                   `- warning: main actor-isolated property 'directoryURL' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 |         savePanel.allowedFileTypes = ["html"]
69 |         savePanel.nameFieldStringValue = filename
AppKit.NSSavePanel:11:14: note: mutation of this property is only permitted within the actor
 9 |     open var identifier: NSUserInterfaceItemIdentifier? { get set }
10 |     @available(macOS 10.6, *)
11 |     open var directoryURL: URL? { get set }
   |              `- note: mutation of this property is only permitted within the actor
12 |     @available(macOS 11.0, *)
13 |     open var allowedContentTypes: [UTType] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:68:19: warning: main actor-isolated property 'allowedFileTypes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
66 |         savePanel.showsTagField = false
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
68 |         savePanel.allowedFileTypes = ["html"]
   |                   `- warning: main actor-isolated property 'allowedFileTypes' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
69 |         savePanel.nameFieldStringValue = filename
70 |         savePanel.title = "Save Diagnostics Report"
AppKit.NSSavePanel:25:25: note: mutation of this property is only permitted within the actor
23 |     @IBAction open func selectText(_ sender: Any?)
24 |     @available(macOS, introduced: 10.3, deprecated: 12.0, message: "Use -allowedContentTypes instead")
25 |     @MainActor open var allowedFileTypes: [String]? { get set }
   |                         `- note: mutation of this property is only permitted within the actor
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:69:19: warning: main actor-isolated property 'nameFieldStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
67 |         savePanel.directoryURL = URL(string: initialDirectoryPath)
68 |         savePanel.allowedFileTypes = ["html"]
69 |         savePanel.nameFieldStringValue = filename
   |                   `- warning: main actor-isolated property 'nameFieldStringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 |         savePanel.title = "Save Diagnostics Report"
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
AppKit.NSSavePanel:32:14: note: mutation of this property is only permitted within the actor
30 |     open var nameFieldLabel: String! { get set }
31 |     @available(macOS 10.6, *)
32 |     open var nameFieldStringValue: String { get set }
   |              `- note: mutation of this property is only permitted within the actor
33 |     open var message: String! { get set }
34 |     open var showsHiddenFiles: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:70:19: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
68 |         savePanel.allowedFileTypes = ["html"]
69 |         savePanel.nameFieldStringValue = filename
70 |         savePanel.title = "Save Diagnostics Report"
   |                   `- 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 |         savePanel.message = "Save the Diagnostics report to the chosen location."
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
AppKit.NSSavePanel:29:14: note: mutation of this property is only permitted within the actor
27 |     open var treatsFilePackagesAsDirectories: Bool { get set }
28 |     open var prompt: String! { get set }
29 |     open var title: String! { get set }
   |              `- note: mutation of this property is only permitted within the actor
30 |     open var nameFieldLabel: String! { get set }
31 |     @available(macOS 10.6, *)
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:71:19: warning: main actor-isolated property 'message' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
69 |         savePanel.nameFieldStringValue = filename
70 |         savePanel.title = "Save Diagnostics Report"
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
   |                   `- warning: main actor-isolated property 'message' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
73 |         savePanel.begin { result in
AppKit.NSSavePanel:33:14: note: mutation of this property is only permitted within the actor
31 |     @available(macOS 10.6, *)
32 |     open var nameFieldStringValue: String { get set }
33 |     open var message: String! { get set }
   |              `- note: mutation of this property is only permitted within the actor
34 |     open var showsHiddenFiles: Bool { get set }
35 |     @available(macOS 10.9, *)
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:72:19: warning: main actor-isolated property 'level' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
70 |         savePanel.title = "Save Diagnostics Report"
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
   |                   `- warning: main actor-isolated property 'level' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 |         savePanel.begin { result in
74 |             guard result == .OK, let targetURL = savePanel.url else {
AppKit.NSWindow:245:25: note: mutation of this property is only permitted within the actor
 243 |     open var allowsToolTipsWhenApplicationIsInactive: Bool { get set }
 244 |     open var backingType: NSWindow.BackingStoreType { get set }
 245 |     @MainActor open var level: NSWindow.Level { get set }
     |                         `- note: mutation of this property is only permitted within the actor
 246 |     open var depthLimit: NSWindow.Depth { get set }
 247 |     open func setDynamicDepthLimit(_ flag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:73:19: warning: call to main actor-isolated instance method 'begin(completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 |
62 | #if os(OSX)
63 |     private func saveUsingPanel(initialDirectoryPath: String, filename: String) {
   |                  `- note: add '@MainActor' to make instance method 'saveUsingPanel(initialDirectoryPath:filename:)' part of global actor 'MainActor'
64 |         let savePanel = NSSavePanel()
65 |         savePanel.canCreateDirectories = true
   :
71 |         savePanel.message = "Save the Diagnostics report to the chosen location."
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
73 |         savePanel.begin { result in
   |                   `- warning: call to main actor-isolated instance method 'begin(completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
74 |             guard result == .OK, let targetURL = savePanel.url else {
75 |                 print("Saving Diagnostics report cancelled or failed")
AppKit.NSSavePanel:52:26: note: calls to instance method 'begin(completionHandler:)' from outside of its actor context are implicitly asynchronous
50 |     open func beginSheetModalForWindow(_ window: NSWindow, completionHandler handler: @escaping (NSApplication.ModalResponse) -> Void)
51 |     @available(macOS 10.6, *)
52 |     @MainActor open func begin(completionHandler handler: @escaping (NSApplication.ModalResponse) -> Void)
   |                          `- note: calls to instance method 'begin(completionHandler:)' from outside of its actor context are implicitly asynchronous
53 |     @available(macOS 10.6, *)
54 |     open func begin() async -> NSApplication.ModalResponse
/Users/admin/builder/spi-builder-workspace/Sources/DiagnosticsReport.swift:74:60: warning: main actor-isolated property 'url' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
72 |         savePanel.level = NSWindow.Level(rawValue: Int(CGWindowLevelForKey(.modalPanelWindow)))
73 |         savePanel.begin { result in
74 |             guard result == .OK, let targetURL = savePanel.url else {
   |                                                            `- warning: main actor-isolated property 'url' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
75 |                 print("Saving Diagnostics report cancelled or failed")
76 |                 return
AppKit.NSSavePanel:6:14: note: property declared here
 4 |     @available(*, unavailable, renamed: "init()", message: "Not available in Swift")
 5 |     open class func savePanel() -> NSSavePanel
 6 |     open var url: URL? { get }
   |              `- note: property declared here
 7 |     @available(swift, obsoleted: 3, renamed: "url")
 8 |     open var URL: URL? { get }
[37/42] Compiling Diagnostics DirectoryTreeReporter.swift
[38/42] Compiling Diagnostics DirectoryTreeStringFactory.swift
[39/42] Compiling Diagnostics GeneralInfoReporter.swift
[40/42] Compiling Diagnostics DiagnosticsLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:22:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
    |                |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standard' 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
 23 |
 24 |     private lazy var logFileLocation: URL = FileManager.default.documentsDirectory.appendingPathComponent("diagnostics_log.txt")
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:182:23: warning: capture of 'self' with non-sendable type 'DiagnosticsLogger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
 23 |
    :
180 |
181 |         queue.async { [weak self] in
182 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'DiagnosticsLogger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |             let coordinator = NSFileCoordinator(filePresenter: nil)
184 |             var error: NSError?
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:189:38: warning: capture of 'loggable' with non-sendable type 'any Loggable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 |                     guard let self, self.canWriteNewLogs else { return }
188 |
189 |                     guard let data = loggable.logData else {
    |                                      `- warning: capture of 'loggable' with non-sendable type 'any Loggable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 |                         return assertionFailure("Missing file handle or invalid output logged")
191 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Logging/Loggable.swift:8:10: note: protocol 'Loggable' does not conform to the 'Sendable' protocol
  6 | }
  7 |
  8 | protocol Loggable {
    |          `- note: protocol 'Loggable' does not conform to the 'Sendable' protocol
  9 |     /// The date of the log event. If set, it will be prepended to the log message in the right format.
 10 |     var date: Date? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:189:38: warning: capture of 'loggable' with non-sendable type 'any Loggable' in an isolated closure; this is an error in the Swift 6 language mode
187 |                     guard let self, self.canWriteNewLogs else { return }
188 |
189 |                     guard let data = loggable.logData else {
    |                                      `- warning: capture of 'loggable' with non-sendable type 'any Loggable' in an isolated closure; this is an error in the Swift 6 language mode
190 |                         return assertionFailure("Missing file handle or invalid output logged")
191 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Logging/Loggable.swift:8:10: note: protocol 'Loggable' does not conform to the 'Sendable' protocol
  6 | }
  7 |
  8 | protocol Loggable {
    |          `- note: protocol 'Loggable' does not conform to the 'Sendable' protocol
  9 |     /// The date of the log event. If set, it will be prepended to the log message in the right format.
 10 |     var date: Date? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:249:13: warning: capture of 'self' with non-sendable type 'DiagnosticsLogger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
 23 |
    :
247 |         inputPipe.fileHandleForReading.readabilityHandler = { [weak self] handle in
248 |             let data = handle.availableData
249 |             self?.handleLoggedData(data)
    |             `- warning: capture of 'self' with non-sendable type 'DiagnosticsLogger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
250 |         }
251 |
[41/42] Compiling Diagnostics HTML+LoggableCSSClass.swift
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:22:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
    |                |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standard' 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
 23 |
 24 |     private lazy var logFileLocation: URL = FileManager.default.documentsDirectory.appendingPathComponent("diagnostics_log.txt")
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:182:23: warning: capture of 'self' with non-sendable type 'DiagnosticsLogger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
 23 |
    :
180 |
181 |         queue.async { [weak self] in
182 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'DiagnosticsLogger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |             let coordinator = NSFileCoordinator(filePresenter: nil)
184 |             var error: NSError?
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:189:38: warning: capture of 'loggable' with non-sendable type 'any Loggable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 |                     guard let self, self.canWriteNewLogs else { return }
188 |
189 |                     guard let data = loggable.logData else {
    |                                      `- warning: capture of 'loggable' with non-sendable type 'any Loggable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 |                         return assertionFailure("Missing file handle or invalid output logged")
191 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Logging/Loggable.swift:8:10: note: protocol 'Loggable' does not conform to the 'Sendable' protocol
  6 | }
  7 |
  8 | protocol Loggable {
    |          `- note: protocol 'Loggable' does not conform to the 'Sendable' protocol
  9 |     /// The date of the log event. If set, it will be prepended to the log message in the right format.
 10 |     var date: Date? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:189:38: warning: capture of 'loggable' with non-sendable type 'any Loggable' in an isolated closure; this is an error in the Swift 6 language mode
187 |                     guard let self, self.canWriteNewLogs else { return }
188 |
189 |                     guard let data = loggable.logData else {
    |                                      `- warning: capture of 'loggable' with non-sendable type 'any Loggable' in an isolated closure; this is an error in the Swift 6 language mode
190 |                         return assertionFailure("Missing file handle or invalid output logged")
191 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Logging/Loggable.swift:8:10: note: protocol 'Loggable' does not conform to the 'Sendable' protocol
  6 | }
  7 |
  8 | protocol Loggable {
    |          `- note: protocol 'Loggable' does not conform to the 'Sendable' protocol
  9 |     /// The date of the log event. If set, it will be prepended to the log message in the right format.
 10 |     var date: Date? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:249:13: warning: capture of 'self' with non-sendable type 'DiagnosticsLogger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
 23 |
    :
247 |         inputPipe.fileHandleForReading.readabilityHandler = { [weak self] handle in
248 |             let data = handle.availableData
249 |             self?.handleLoggedData(data)
    |             `- warning: capture of 'self' with non-sendable type 'DiagnosticsLogger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
250 |         }
251 |
[42/42] Compiling Diagnostics Loggable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:22:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
    |                |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DiagnosticsLogger' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'standard' 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
 23 |
 24 |     private lazy var logFileLocation: URL = FileManager.default.documentsDirectory.appendingPathComponent("diagnostics_log.txt")
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:182:23: warning: capture of 'self' with non-sendable type 'DiagnosticsLogger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
 23 |
    :
180 |
181 |         queue.async { [weak self] in
182 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'DiagnosticsLogger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
183 |             let coordinator = NSFileCoordinator(filePresenter: nil)
184 |             var error: NSError?
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:189:38: warning: capture of 'loggable' with non-sendable type 'any Loggable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
187 |                     guard let self, self.canWriteNewLogs else { return }
188 |
189 |                     guard let data = loggable.logData else {
    |                                      `- warning: capture of 'loggable' with non-sendable type 'any Loggable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 |                         return assertionFailure("Missing file handle or invalid output logged")
191 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Logging/Loggable.swift:8:10: note: protocol 'Loggable' does not conform to the 'Sendable' protocol
  6 | }
  7 |
  8 | protocol Loggable {
    |          `- note: protocol 'Loggable' does not conform to the 'Sendable' protocol
  9 |     /// The date of the log event. If set, it will be prepended to the log message in the right format.
 10 |     var date: Date? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:189:38: warning: capture of 'loggable' with non-sendable type 'any Loggable' in an isolated closure; this is an error in the Swift 6 language mode
187 |                     guard let self, self.canWriteNewLogs else { return }
188 |
189 |                     guard let data = loggable.logData else {
    |                                      `- warning: capture of 'loggable' with non-sendable type 'any Loggable' in an isolated closure; this is an error in the Swift 6 language mode
190 |                         return assertionFailure("Missing file handle or invalid output logged")
191 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Logging/Loggable.swift:8:10: note: protocol 'Loggable' does not conform to the 'Sendable' protocol
  6 | }
  7 |
  8 | protocol Loggable {
    |          `- note: protocol 'Loggable' does not conform to the 'Sendable' protocol
  9 |     /// The date of the log event. If set, it will be prepended to the log message in the right format.
 10 |     var date: Date? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Logging/DiagnosticsLogger.swift:249:13: warning: capture of 'self' with non-sendable type 'DiagnosticsLogger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 19 | /// A Diagnostics Logger to log messages to which will end up in the Diagnostics Report if using the default `LogsReporter`.
 20 | /// Will keep a `.txt` log in the documents directory with the latestlogs with a max size of 2 MB.
 21 | public final class DiagnosticsLogger {
    |                    `- note: class 'DiagnosticsLogger' does not conform to the 'Sendable' protocol
 22 |     static let standard = DiagnosticsLogger()
 23 |
    :
247 |         inputPipe.fileHandleForReading.readabilityHandler = { [weak self] handle in
248 |             let data = handle.availableData
249 |             self?.handleLoggedData(data)
    |             `- warning: capture of 'self' with non-sendable type 'DiagnosticsLogger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
250 |         }
251 |
Build complete! (14.13s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "exceptioncatcher",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sindresorhus/ExceptionCatcher"
    }
  ],
  "manifest_display_name" : "Diagnostics",
  "name" : "Diagnostics",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Diagnostics",
      "targets" : [
        "Diagnostics"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "DiagnosticsTests",
      "module_type" : "SwiftTarget",
      "name" : "DiagnosticsTests",
      "path" : "DiagnosticsTests",
      "sources" : [
        "DiagnosticsReporterTests.swift",
        "Extensions/MFMailComposeViewControllerTests.swift",
        "HTMLEncodingTests.swift",
        "HTMLGeneratingTests.swift",
        "Mocks.swift",
        "Reporters/AppSystemMetadataReporterTests.swift",
        "Reporters/DirectoryTree/DirectoryTreeFactoryTests.swift",
        "Reporters/GeneralInfoReporterTests.swift",
        "Reporters/LogsReporterTests.swift",
        "Reporters/LogsTrimmerTests.swift",
        "Reporters/SmartInsights/DeviceStorageInsightTests.swift",
        "Reporters/SmartInsights/SmartInsightsReporterTests.swift",
        "Reporters/SmartInsights/UpdateAvailableInsightTests.swift",
        "Reporters/UserDefaultsReporterTests.swift"
      ],
      "target_dependencies" : [
        "Diagnostics"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Diagnostics",
      "module_type" : "SwiftTarget",
      "name" : "Diagnostics",
      "path" : "Sources",
      "product_dependencies" : [
        "ExceptionCatcher"
      ],
      "product_memberships" : [
        "Diagnostics"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/functions.js",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/style.css",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Device.swift",
        "Diagnostics.swift",
        "DiagnosticsChapter.swift",
        "DiagnosticsReport.swift",
        "DiagnosticsReportFilter.swift",
        "DiagnosticsReporter.swift",
        "Extensions/BundleExtensions.swift",
        "Extensions/ByteCountFormatter.swift",
        "Extensions/DateFormatterExtensions.swift",
        "HTMLEncoding.swift",
        "HTMLGenerating.swift",
        "Logging/DiagnosticsLogger.swift",
        "Logging/HTML+LoggableCSSClass.swift",
        "Logging/Loggable.swift",
        "Logging/LogsTrimmer.swift",
        "MFMailExtensions/MFMailComposeVCExtensions.swift",
        "MetricKit/MetricsMonitor.swift",
        "Reporters/AppSystemMetadataReporter.swift",
        "Reporters/DirectoryTree/DirectoryTreeFactory.swift",
        "Reporters/DirectoryTree/DirectoryTreeNode.swift",
        "Reporters/DirectoryTree/DirectoryTreeReporter.swift",
        "Reporters/DirectoryTree/DirectoryTreeStringFactory.swift",
        "Reporters/GeneralInfoReporter.swift",
        "Reporters/LogsReporter.swift",
        "Reporters/SmartInsightsReporter.swift",
        "Reporters/UserDefaultsReporter.swift",
        "SmartInsights/CellularAllowedInsight.swift",
        "SmartInsights/DeviceStorageInsight.swift",
        "SmartInsights/SmartInsight.swift",
        "SmartInsights/SmartInsightsProviding.swift",
        "SmartInsights/UpdateAvailableInsight.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.