Build Information
Successful build of FilePicker, reference main (6a4d56
), with Swift 5.10 for macOS (SPM) on 6 Mar 2025 23:58:18 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/FilePicker.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/FilePicker
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6a4d568 Fix typo in readme
Cloned https://github.com/0xWDG/FilePicker.git
Revision (git rev-parse @):
6a4d568640fab419952eb903ddc42b2eff52ef38
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/FilePicker.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/0xWDG/FilePicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/5] Compiling FilePicker FilePickerUIRepresentable.swift
[4/5] Emitting module FilePicker
[5/5] Compiling FilePicker View+filePicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:72:21: warning: capture of 'files' with non-sendable type 'Binding<[URL]>' in a `@Sendable` closure
files.wrappedValue = await withCheckedContinuation { continuation in
^
SwiftUI.Binding:2:61: note: generic struct 'Binding' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:85:29: warning: capture of 'isPresented' with non-sendable type 'Binding<Bool>' in a `@Sendable` closure
isPresented.wrappedValue = false
^
SwiftUI.Binding:2:61: note: generic struct 'Binding' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:85:29: warning: capture of 'isPresented' with non-sendable type 'Binding<Bool>' in a `@Sendable` closure
isPresented.wrappedValue = false
^
SwiftUI.Binding:2:61: note: generic struct 'Binding' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:73:37: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in Swift 6
let panel = NSOpenPanel()
^
AppKit.NSOpenPanel:29:24: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
public convenience init()
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:74:31: warning: main actor-isolated property 'allowsMultipleSelection' can not be mutated from a non-isolated context; this is an error in Swift 6
panel.allowsMultipleSelection = allowMultiple
^
AppKit.NSOpenPanel:11:14: note: mutation of this property is only permitted within the actor
open var allowsMultipleSelection: Bool { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:75:31: warning: main actor-isolated property 'canChooseDirectories' can not be mutated from a non-isolated context; this is an error in Swift 6
panel.canChooseDirectories = false
^
AppKit.NSOpenPanel:10:14: note: mutation of this property is only permitted within the actor
open var canChooseDirectories: Bool { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:76:31: warning: main actor-isolated property 'canChooseFiles' can not be mutated from a non-isolated context; this is an error in Swift 6
panel.canChooseFiles = true
^
AppKit.NSOpenPanel:12:14: note: mutation of this property is only permitted within the actor
open var canChooseFiles: Bool { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:77:31: warning: main actor-isolated property 'allowedContentTypes' can not be mutated from a non-isolated context; this is an error in Swift 6
panel.allowedContentTypes = types
^
AppKit.NSSavePanel:13:14: note: mutation of this property is only permitted within the actor
open var allowedContentTypes: [UTType] { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:78:31: warning: call to main actor-isolated instance method 'begin(completionHandler:)' in a synchronous nonisolated context; this is an error in Swift 6
panel.begin { reponse in
^
AppKit.NSSavePanel:48:15: note: calls to instance method 'begin(completionHandler:)' from outside of its actor context are implicitly asynchronous
open func begin(completionHandler handler: @escaping (NSApplication.ModalResponse) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:85:29: warning: capture of 'isPresented' with non-sendable type 'Binding<Bool>' in a `@Sendable` closure
isPresented.wrappedValue = false
^
SwiftUI.Binding:2:61: note: generic struct 'Binding' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:80:70: warning: main actor-isolated property 'urls' can not be referenced from a non-isolated context; this is an error in Swift 6
continuation.resume(returning: panel.urls)
^
AppKit.NSOpenPanel:6:14: note: property declared here
open var urls: [URL] { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:171:29: warning: capture of 'isPresented' with non-sendable type 'Binding<Bool>' in a `@Sendable` closure
isPresented.wrappedValue = false
^
SwiftUI.Binding:2:61: note: generic struct 'Binding' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:171:29: warning: capture of 'isPresented' with non-sendable type 'Binding<Bool>' in a `@Sendable` closure
isPresented.wrappedValue = false
^
SwiftUI.Binding:2:61: note: generic struct 'Binding' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:151:37: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in Swift 6
let panel = NSSavePanel()
^
AppKit.NSSavePanel:62:24: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
public convenience init()
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:152:31: warning: main actor-isolated property 'nameFieldStringValue' can not be mutated from a non-isolated context; this is an error in Swift 6
panel.nameFieldStringValue = fileName
^
AppKit.NSSavePanel:30:14: note: mutation of this property is only permitted within the actor
open var nameFieldStringValue: String { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:153:31: warning: main actor-isolated property 'allowedContentTypes' can not be mutated from a non-isolated context; this is an error in Swift 6
panel.allowedContentTypes = types
^
AppKit.NSSavePanel:13:14: note: mutation of this property is only permitted within the actor
open var allowedContentTypes: [UTType] { get set }
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:154:31: warning: call to main actor-isolated instance method 'begin(completionHandler:)' in a synchronous nonisolated context; this is an error in Swift 6
panel.begin { reponse in
^
AppKit.NSSavePanel:48:15: note: calls to instance method 'begin(completionHandler:)' from outside of its actor context are implicitly asynchronous
open func begin(completionHandler handler: @escaping (NSApplication.ModalResponse) -> Void)
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:171:29: warning: capture of 'isPresented' with non-sendable type 'Binding<Bool>' in a `@Sendable` closure
isPresented.wrappedValue = false
^
SwiftUI.Binding:2:61: note: generic struct 'Binding' does not conform to the 'Sendable' protocol
@frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
^
/Users/admin/builder/spi-builder-workspace/Sources/FilePicker/View+filePicker.swift:156:52: warning: main actor-isolated property 'url' can not be referenced from a non-isolated context; this is an error in Swift 6
if let url = panel.url {
^
AppKit.NSSavePanel:6:14: note: property declared here
open var url: URL? { get }
^
Build complete! (6.87s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FilePicker",
"name" : "FilePicker",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "FilePicker",
"targets" : [
"FilePicker"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FilePickerTests",
"module_type" : "SwiftTarget",
"name" : "FilePickerTests",
"path" : "Tests/FilePickerTests",
"sources" : [
"FilePickerTests.swift"
],
"target_dependencies" : [
"FilePicker"
],
"type" : "test"
},
{
"c99name" : "FilePicker",
"module_type" : "SwiftTarget",
"name" : "FilePicker",
"path" : "Sources/FilePicker",
"product_memberships" : [
"FilePicker"
],
"sources" : [
"FilePickerUIRepresentable.swift",
"View+filePicker.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.