Build Information
Successful build of SolicitReviewLibrary with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/higracehuang/SolicitReviewLibrary.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/higracehuang/SolicitReviewLibrary
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8d7c9b7 Update README.md
Cloned https://github.com/higracehuang/SolicitReviewLibrary.git
Revision (git rev-parse @):
8d7c9b7769a630f55a052c3888f678c4bbfbf919
SUCCESS checkout https://github.com/higracehuang/SolicitReviewLibrary.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/higracehuang/SolicitReviewLibrary.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/6] Compiling SolicitReviewLibrary SolicitReviewLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:89:17: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 |
87 | #elseif os(macOS)
88 | private func askForReview(withHandler handler: @escaping () -> Void) {
| `- note: add '@MainActor' to make instance method 'askForReview(withHandler:)' part of global actor 'MainActor'
89 | 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
90 | alert.messageText = NSLocalizedString("Do you enjoy \(Bundle.main.appName)?", comment: "")
91 | alert.informativeText = NSLocalizedString("If you enjoy using \(Bundle.main.appName), we'd appreciate your feedback!", comment: "")
AppKit.NSAlert:33:23: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
31 | open func beginSheetModalForWindow(_ sheetWindow: NSWindow, completionHandler handler: ((NSApplication.ModalResponse) -> Void)? = nil)
32 | open var window: NSWindow { get }
33 | @MainActor public init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:90:11: warning: main actor-isolated property 'messageText' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
86 |
87 | #elseif os(macOS)
88 | private func askForReview(withHandler handler: @escaping () -> Void) {
| `- note: add '@MainActor' to make instance method 'askForReview(withHandler:)' part of global actor 'MainActor'
89 | let alert = NSAlert()
90 | alert.messageText = NSLocalizedString("Do you enjoy \(Bundle.main.appName)?", comment: "")
| `- warning: main actor-isolated property 'messageText' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
91 | alert.informativeText = NSLocalizedString("If you enjoy using \(Bundle.main.appName), we'd appreciate your feedback!", comment: "")
92 | alert.addButton(withTitle: NSLocalizedString("Yes. Rate \(Bundle.main.appName) now", comment: ""))
AppKit.NSAlert:5:14: note: mutation of this property is only permitted within the actor
3 | @available(*, unavailable, renamed: "init(error:)", message: "Not available in Swift")
4 | open class func alertWithError(_ error: any Error) -> NSAlert
5 | open var messageText: String { get set }
| `- note: mutation of this property is only permitted within the actor
6 | open var informativeText: String { get set }
7 | open var icon: NSImage! { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:91:11: warning: main actor-isolated property 'informativeText' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
86 |
87 | #elseif os(macOS)
88 | private func askForReview(withHandler handler: @escaping () -> Void) {
| `- note: add '@MainActor' to make instance method 'askForReview(withHandler:)' part of global actor 'MainActor'
89 | let alert = NSAlert()
90 | alert.messageText = NSLocalizedString("Do you enjoy \(Bundle.main.appName)?", comment: "")
91 | alert.informativeText = NSLocalizedString("If you enjoy using \(Bundle.main.appName), we'd appreciate your feedback!", comment: "")
| `- warning: main actor-isolated property 'informativeText' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
92 | alert.addButton(withTitle: NSLocalizedString("Yes. Rate \(Bundle.main.appName) now", comment: ""))
93 | alert.addButton(withTitle: NSLocalizedString("No. Thanks", comment: ""))
AppKit.NSAlert:6:14: note: mutation of this property is only permitted within the actor
4 | open class func alertWithError(_ error: any Error) -> NSAlert
5 | open var messageText: String { get set }
6 | open var informativeText: String { get set }
| `- note: mutation of this property is only permitted within the actor
7 | open var icon: NSImage! { get set }
8 | @MainActor open func addButton(withTitle title: String) -> NSButton
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:92:11: 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
86 |
87 | #elseif os(macOS)
88 | private func askForReview(withHandler handler: @escaping () -> Void) {
| `- note: add '@MainActor' to make instance method 'askForReview(withHandler:)' part of global actor 'MainActor'
89 | let alert = NSAlert()
90 | alert.messageText = NSLocalizedString("Do you enjoy \(Bundle.main.appName)?", comment: "")
91 | alert.informativeText = NSLocalizedString("If you enjoy using \(Bundle.main.appName), we'd appreciate your feedback!", comment: "")
92 | alert.addButton(withTitle: NSLocalizedString("Yes. Rate \(Bundle.main.appName) now", comment: ""))
| `- 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
93 | alert.addButton(withTitle: NSLocalizedString("No. Thanks", comment: ""))
94 |
AppKit.NSAlert:8:26: note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
6 | open var informativeText: String { get set }
7 | open var icon: NSImage! { get set }
8 | @MainActor open func addButton(withTitle title: String) -> NSButton
| `- note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
9 | @available(swift, obsoleted: 3, renamed: "addButton(withTitle:)")
10 | open func addButtonWithTitle(_ title: String) -> NSButton
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:93:11: 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
86 |
87 | #elseif os(macOS)
88 | private func askForReview(withHandler handler: @escaping () -> Void) {
| `- note: add '@MainActor' to make instance method 'askForReview(withHandler:)' part of global actor 'MainActor'
89 | let alert = NSAlert()
90 | alert.messageText = NSLocalizedString("Do you enjoy \(Bundle.main.appName)?", comment: "")
91 | alert.informativeText = NSLocalizedString("If you enjoy using \(Bundle.main.appName), we'd appreciate your feedback!", comment: "")
92 | alert.addButton(withTitle: NSLocalizedString("Yes. Rate \(Bundle.main.appName) now", comment: ""))
93 | alert.addButton(withTitle: NSLocalizedString("No. Thanks", comment: ""))
| `- 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
94 |
95 | let modalResult = alert.runModal()
AppKit.NSAlert:8:26: note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
6 | open var informativeText: String { get set }
7 | open var icon: NSImage! { get set }
8 | @MainActor open func addButton(withTitle title: String) -> NSButton
| `- note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
9 | @available(swift, obsoleted: 3, renamed: "addButton(withTitle:)")
10 | open func addButtonWithTitle(_ title: String) -> NSButton
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:95:29: warning: call to main actor-isolated instance method 'runModal()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 |
87 | #elseif os(macOS)
88 | private func askForReview(withHandler handler: @escaping () -> Void) {
| `- note: add '@MainActor' to make instance method 'askForReview(withHandler:)' part of global actor 'MainActor'
89 | let alert = NSAlert()
90 | alert.messageText = NSLocalizedString("Do you enjoy \(Bundle.main.appName)?", comment: "")
:
93 | alert.addButton(withTitle: NSLocalizedString("No. Thanks", comment: ""))
94 |
95 | let modalResult = 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
96 | if modalResult == .alertFirstButtonReturn {
97 | handler()
AppKit.NSAlert:20:26: note: calls to instance method 'runModal()' from outside of its actor context are implicitly asynchronous
18 | @available(macOS 10.5, *)
19 | open func layout()
20 | @MainActor open func runModal() -> NSApplication.ModalResponse
| `- note: calls to instance method 'runModal()' from outside of its actor context are implicitly asynchronous
21 | @available(macOS 10.5, *)
22 | open var showsSuppressionButton: Bool { get set }
[4/6] Compiling SolicitReviewLibrary Bundle+Extensions.swift
[5/6] Compiling SolicitReviewLibrary Logger.swift
[6/6] Emitting module SolicitReviewLibrary
Build complete! (25.51s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SolicitReviewLibrary",
"name" : "SolicitReviewLibrary",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "SolicitReviewLibrary",
"targets" : [
"SolicitReviewLibrary"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SolicitReviewLibraryTests",
"module_type" : "SwiftTarget",
"name" : "SolicitReviewLibraryTests",
"path" : "Tests/SolicitReviewLibraryTests",
"sources" : [
"SolicitReviewLibraryTests.swift"
],
"target_dependencies" : [
"SolicitReviewLibrary"
],
"type" : "test"
},
{
"c99name" : "SolicitReviewLibrary",
"module_type" : "SwiftTarget",
"name" : "SolicitReviewLibrary",
"path" : "Sources",
"product_memberships" : [
"SolicitReviewLibrary"
],
"sources" : [
"SolicitReviewLibrary/Bundle+Extensions.swift",
"SolicitReviewLibrary/Logger.swift",
"SolicitReviewLibrary/SolicitReviewLibrary.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.