Build Information
Successful build of FullDiskAccess, reference 1.0.1 (364620), with Swift 6.1 for macOS (SPM) on 1 Oct 2025 04:42:45 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/inket/FullDiskAccess.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/inket/FullDiskAccess
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 3646203 Merge pull request #5 from inket/fixed-warnings-xcode-26
Cloned https://github.com/inket/FullDiskAccess.git
Revision (git rev-parse @):
36462037e270da123e1c4cdea93e8f9b6d5688bf
SUCCESS checkout https://github.com/inket/FullDiskAccess.git at 1.0.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/inket/FullDiskAccess.git
https://github.com/inket/FullDiskAccess.git
{
"dependencies" : [
],
"manifest_display_name" : "FullDiskAccess",
"name" : "FullDiskAccess",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
}
],
"products" : [
{
"name" : "FullDiskAccess",
"targets" : [
"FullDiskAccess"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FullDiskAccess",
"module_type" : "SwiftTarget",
"name" : "FullDiskAccess",
"path" : "Sources/FullDiskAccess",
"product_memberships" : [
"FullDiskAccess"
],
"sources" : [
"FullDiskAccess.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/4] Compiling FullDiskAccess FullDiskAccess.swift
/Users/admin/builder/spi-builder-workspace/Sources/FullDiskAccess/FullDiskAccess.swift:100:21: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
71 | /// Displays an alert to the user if Full Disk Access is not granted to the current app, with the option to open
72 | /// the Privacy & Security preference pane or skip.
73 | public static func promptIfNotGranted(
| `- note: add '@MainActor' to make static method 'promptIfNotGranted(title:message:settingsButtonTitle:skipButtonTitle:skipHandler:canBeSuppressed:icon:)' part of global actor 'MainActor'
74 | title: String,
75 | message: String,
:
98 | }
99 |
100 | let alert = NSAlert()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
101 | alert.messageText = title
102 | alert.informativeText = message
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
64 |
65 | + (void)initialize;
66 | - (instancetype)init
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
67 | #if NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER
68 | NS_DESIGNATED_INITIALIZER
/Users/admin/builder/spi-builder-workspace/Sources/FullDiskAccess/FullDiskAccess.swift:101:15: warning: main actor-isolated property 'messageText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
71 | /// Displays an alert to the user if Full Disk Access is not granted to the current app, with the option to open
72 | /// the Privacy & Security preference pane or skip.
73 | public static func promptIfNotGranted(
| `- note: add '@MainActor' to make static method 'promptIfNotGranted(title:message:settingsButtonTitle:skipButtonTitle:skipHandler:canBeSuppressed:icon:)' part of global actor 'MainActor'
74 | title: String,
75 | message: String,
:
99 |
100 | let alert = NSAlert()
101 | alert.messageText = title
| `- warning: main actor-isolated property 'messageText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
102 | alert.informativeText = message
103 | alert.icon = icon ?? alertIcon()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:71:28: note: mutation of this property is only permitted within the actor
69 | /// The text that is displayed prominently in the alert.
70 | /// - Note: Use this string to get the user’s attention and communicate the reason for displaying the alert.
71 | @property (copy) NSString *messageText;
| `- note: mutation of this property is only permitted within the actor
72 |
73 | /// The descriptive text that provides more details about the reason for the alert.
/Users/admin/builder/spi-builder-workspace/Sources/FullDiskAccess/FullDiskAccess.swift:102:15: warning: main actor-isolated property 'informativeText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
71 | /// Displays an alert to the user if Full Disk Access is not granted to the current app, with the option to open
72 | /// the Privacy & Security preference pane or skip.
73 | public static func promptIfNotGranted(
| `- note: add '@MainActor' to make static method 'promptIfNotGranted(title:message:settingsButtonTitle:skipButtonTitle:skipHandler:canBeSuppressed:icon:)' part of global actor 'MainActor'
74 | title: String,
75 | message: String,
:
100 | let alert = NSAlert()
101 | alert.messageText = title
102 | alert.informativeText = message
| `- warning: main actor-isolated property 'informativeText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
103 | alert.icon = icon ?? alertIcon()
104 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:75:28: note: mutation of this property is only permitted within the actor
73 | /// The descriptive text that provides more details about the reason for the alert.
74 | /// - Note: The informative text string is displayed below the message text and is less prominent. Use this string to provide additional context about the reason for the alert or about the actions that the user might take.
75 | @property (copy) NSString *informativeText;
| `- note: mutation of this property is only permitted within the actor
76 |
77 | // MARK: - Accessing a Custom Alert Icon
/Users/admin/builder/spi-builder-workspace/Sources/FullDiskAccess/FullDiskAccess.swift:103:15: warning: main actor-isolated property 'icon' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
71 | /// Displays an alert to the user if Full Disk Access is not granted to the current app, with the option to open
72 | /// the Privacy & Security preference pane or skip.
73 | public static func promptIfNotGranted(
| `- note: add '@MainActor' to make static method 'promptIfNotGranted(title:message:settingsButtonTitle:skipButtonTitle:skipHandler:canBeSuppressed:icon:)' part of global actor 'MainActor'
74 | title: String,
75 | message: String,
:
101 | alert.messageText = title
102 | alert.informativeText = message
103 | alert.icon = icon ?? alertIcon()
| `- warning: main actor-isolated property 'icon' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
104 |
105 | if canBeSuppressed {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:82:46: note: mutation of this property is only permitted within the actor
80 | /// By default, the image used in an alert is the app icon (`NSApplicationIcon`). If this property’s value is set, the specified custom image is used in place of the app icon.
81 | /// If a custom alert icon had been set, it can be cleared by setting this property’s value to `nil`, which restores use of the app icon for the alert.
82 | @property (null_resettable, strong) NSImage *icon;
| `- note: mutation of this property is only permitted within the actor
83 |
84 | // MARK: - Accessing Alert Response Buttons
/Users/admin/builder/spi-builder-workspace/Sources/FullDiskAccess/FullDiskAccess.swift:106:19: warning: main actor-isolated property 'showsSuppressionButton' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
71 | /// Displays an alert to the user if Full Disk Access is not granted to the current app, with the option to open
72 | /// the Privacy & Security preference pane or skip.
73 | public static func promptIfNotGranted(
| `- note: add '@MainActor' to make static method 'promptIfNotGranted(title:message:settingsButtonTitle:skipButtonTitle:skipHandler:canBeSuppressed:icon:)' part of global actor 'MainActor'
74 | title: String,
75 | message: String,
:
104 |
105 | if canBeSuppressed {
106 | alert.showsSuppressionButton = true
| `- warning: main actor-isolated property 'showsSuppressionButton' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
107 | }
108 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:145:16: note: mutation of this property is only permitted within the actor
143 | ///
144 | /// To create an alert that responds to the selection state of the suppression checkbox, check `myAlert.suppressionButton.state`.
145 | @property BOOL showsSuppressionButton API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
146 |
147 | /// The alert’s suppression checkbox. The checkbox may be customized, including the title and the initial state. Additionally, use this method to get the state of the button after the alert is dismissed, which may be stored in user defaults and checked before showing the alert again. In order to show the suppression button in the alert panel, you must set `showsSuppressionButton` to `YES`.
/Users/admin/builder/spi-builder-workspace/Sources/FullDiskAccess/FullDiskAccess.swift:109:15: warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
71 | /// Displays an alert to the user if Full Disk Access is not granted to the current app, with the option to open
72 | /// the Privacy & Security preference pane or skip.
73 | public static func promptIfNotGranted(
| `- note: add '@MainActor' to make static method 'promptIfNotGranted(title:message:settingsButtonTitle:skipButtonTitle:skipHandler:canBeSuppressed:icon:)' part of global actor 'MainActor'
74 | title: String,
75 | message: String,
:
107 | }
108 |
109 | alert.addButton(withTitle: settingsButtonTitle)
| `- warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | alert.addButton(withTitle: skipButtonTitle)
111 |
AppKit.NSAlert.addButton:2:22: note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
1 | class NSAlert {
2 | @MainActor open func addButton(withTitle title: String) -> NSButton}
| `- note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FullDiskAccess/FullDiskAccess.swift:110:15: warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
71 | /// Displays an alert to the user if Full Disk Access is not granted to the current app, with the option to open
72 | /// the Privacy & Security preference pane or skip.
73 | public static func promptIfNotGranted(
| `- note: add '@MainActor' to make static method 'promptIfNotGranted(title:message:settingsButtonTitle:skipButtonTitle:skipHandler:canBeSuppressed:icon:)' part of global actor 'MainActor'
74 | title: String,
75 | message: String,
:
108 |
109 | alert.addButton(withTitle: settingsButtonTitle)
110 | alert.addButton(withTitle: skipButtonTitle)
| `- warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 |
112 | let response = alert.runModal()
AppKit.NSAlert.addButton:2:22: note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
1 | class NSAlert {
2 | @MainActor open func addButton(withTitle title: String) -> NSButton}
| `- note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FullDiskAccess/FullDiskAccess.swift:112:30: warning: call to main actor-isolated instance method 'runModal()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
71 | /// Displays an alert to the user if Full Disk Access is not granted to the current app, with the option to open
72 | /// the Privacy & Security preference pane or skip.
73 | public static func promptIfNotGranted(
| `- note: add '@MainActor' to make static method 'promptIfNotGranted(title:message:settingsButtonTitle:skipButtonTitle:skipHandler:canBeSuppressed:icon:)' part of global actor 'MainActor'
74 | title: String,
75 | message: String,
:
110 | alert.addButton(withTitle: skipButtonTitle)
111 |
112 | let response = alert.runModal()
| `- warning: call to main actor-isolated instance method 'runModal()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |
114 | if alert.suppressionButton?.state == .on {
AppKit.NSAlert.runModal:2:22: note: calls to instance method 'runModal()' from outside of its actor context are implicitly asynchronous
1 | class NSAlert {
2 | @MainActor open func runModal() -> NSApplication.ModalResponse}
| `- note: calls to instance method 'runModal()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FullDiskAccess/FullDiskAccess.swift:114:37: warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
71 | /// Displays an alert to the user if Full Disk Access is not granted to the current app, with the option to open
72 | /// the Privacy & Security preference pane or skip.
73 | public static func promptIfNotGranted(
| `- note: add '@MainActor' to make static method 'promptIfNotGranted(title:message:settingsButtonTitle:skipButtonTitle:skipHandler:canBeSuppressed:icon:)' part of global actor 'MainActor'
74 | title: String,
75 | message: String,
:
112 | let response = alert.runModal()
113 |
114 | if alert.suppressionButton?.state == .on {
| `- warning: main actor-isolated property 'state' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
115 | promptSuppressed = true
116 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:148:31: note: property declared here
146 |
147 | /*! The button's state. Buttons support the off and on states, and an additional mixed state depending on the value of the `allowsMixedState` property. */
148 | @property NSControlStateValue state;
| `- note: property declared here
149 |
150 | /*! A Boolean value that indicates whether the button allows a mixed state. If NO, the button has two states (on and off), and if YES, the button has three states (on, off, and mixed). The mixed state is commonly used with checkboxes and radio buttons to indicate a value which is partially on. */
/Users/admin/builder/spi-builder-workspace/Sources/FullDiskAccess/FullDiskAccess.swift:114:18: warning: main actor-isolated property 'suppressionButton' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
71 | /// Displays an alert to the user if Full Disk Access is not granted to the current app, with the option to open
72 | /// the Privacy & Security preference pane or skip.
73 | public static func promptIfNotGranted(
| `- note: add '@MainActor' to make static method 'promptIfNotGranted(title:message:settingsButtonTitle:skipButtonTitle:skipHandler:canBeSuppressed:icon:)' part of global actor 'MainActor'
74 | title: String,
75 | message: String,
:
112 | let response = alert.runModal()
113 |
114 | if alert.suppressionButton?.state == .on {
| `- warning: main actor-isolated property 'suppressionButton' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
115 | promptSuppressed = true
116 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:148:50: note: property declared here
146 |
147 | /// The alert’s suppression checkbox. The checkbox may be customized, including the title and the initial state. Additionally, use this method to get the state of the button after the alert is dismissed, which may be stored in user defaults and checked before showing the alert again. In order to show the suppression button in the alert panel, you must set `showsSuppressionButton` to `YES`.
148 | @property (nullable, readonly, strong) NSButton *suppressionButton API_AVAILABLE(macos(10.5));
| `- note: property declared here
149 |
150 | /// Runs the alert modally as a sheet attached to the specified window.
/Users/admin/builder/spi-builder-workspace/Sources/FullDiskAccess/FullDiskAccess.swift:157:40: warning: main actor-isolated property 'applicationIconImage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
154 | }
155 |
156 | private static func alertIcon() -> NSImage? {
| `- note: add '@MainActor' to make static method 'alertIcon()' part of global actor 'MainActor'
157 | guard let appIconImage = NSApp.applicationIconImage else {
| `- warning: main actor-isolated property 'applicationIconImage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
158 | return NSImage(named: "NSInfo")
159 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:289:46: note: property declared here
287 | @property (nullable, strong) NSMenu *helpMenu API_AVAILABLE(macos(10.6));
288 |
289 | @property (null_resettable, strong) NSImage *applicationIconImage;
| `- note: property declared here
290 |
291 | /// @return The activation policy of the application.
/Users/admin/builder/spi-builder-workspace/Sources/FullDiskAccess/FullDiskAccess.swift:157:34: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
154 | }
155 |
156 | private static func alertIcon() -> NSImage? {
| `- note: add '@MainActor' to make static method 'alertIcon()' part of global actor 'MainActor'
157 | guard let appIconImage = NSApp.applicationIconImage else {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
158 | return NSImage(named: "NSInfo")
159 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
[4/4] Emitting module FullDiskAccess
Build complete! (5.80s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FullDiskAccess",
"name" : "FullDiskAccess",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
}
],
"products" : [
{
"name" : "FullDiskAccess",
"targets" : [
"FullDiskAccess"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FullDiskAccess",
"module_type" : "SwiftTarget",
"name" : "FullDiskAccess",
"path" : "Sources/FullDiskAccess",
"product_memberships" : [
"FullDiskAccess"
],
"sources" : [
"FullDiskAccess.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.