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 SwiftySandboxFileAccess, reference 3.0.0 (46ed24), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 19:46:27 UTC.

Swift 6 data race errors: 11

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/ConfusedVorlon/SwiftySandboxFileAccess.git
Reference: 3.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ConfusedVorlon/SwiftySandboxFileAccess
 * tag               3.0.0      -> FETCH_HEAD
HEAD is now at 46ed249 podspec tweaks & deprecation
Cloned https://github.com/ConfusedVorlon/SwiftySandboxFileAccess.git
Revision (git rev-parse @):
46ed249cd688ee6b3d8733b90d19280125e42e87
SUCCESS checkout https://github.com/ConfusedVorlon/SwiftySandboxFileAccess.git at 3.0.0
========================================
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": "swiftysandboxfileaccess",
      "name": "SwiftySandboxFileAccess",
      "url": "https://github.com/ConfusedVorlon/SwiftySandboxFileAccess.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftySandboxFileAccess",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ConfusedVorlon/SwiftySandboxFileAccess.git
[14/685] Fetching swiftysandboxfileaccess
Fetched https://github.com/ConfusedVorlon/SwiftySandboxFileAccess.git from cache (1.08s)
Creating working copy for https://github.com/ConfusedVorlon/SwiftySandboxFileAccess.git
Working copy of https://github.com/ConfusedVorlon/SwiftySandboxFileAccess.git resolved at 3.0.0 (46ed249)
warning: '.resolve-product-dependencies': dependency 'swiftysandboxfileaccess' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ConfusedVorlon/SwiftySandboxFileAccess.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/9] Compiling SwiftySandboxFileAccess AccessInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/AccessInfo.swift:17:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'AccessInfo' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Info on what access was available to access the required file
11 | public struct AccessInfo {
   |               `- note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
12 |     //Note -this is the url of the bookmark actually used to access your file. It may be a parent of the file you want.
13 |     public let securityScopedURL:URL?
   :
15 |     public let permissions:Permissions
16 |
17 |     public static let empty = AccessInfo(securityScopedURL: nil,bookmarkData: nil,permissions: .none)
   |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'AccessInfo' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'empty' 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
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:18:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
   :
16 |     public static let powerboxReadWrite   = Permissions(rawValue: 1 << 2)
17 |
18 |     public static let none: Permissions = []
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' 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
19 |     public static let anyReadOnly: Permissions = [.bookmark, .powerboxReadOnly]
20 |     public static let anyReadWrite: Permissions = [.bookmark, .powerboxReadWrite]
[4/9] Compiling SwiftySandboxFileAccess SandboxFileAccessPersist.swift
[5/9] Emitting module SwiftySandboxFileAccess
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/AccessInfo.swift:17:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'AccessInfo' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Info on what access was available to access the required file
11 | public struct AccessInfo {
   |               `- note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
12 |     //Note -this is the url of the bookmark actually used to access your file. It may be a parent of the file you want.
13 |     public let securityScopedURL:URL?
   :
15 |     public let permissions:Permissions
16 |
17 |     public static let empty = AccessInfo(securityScopedURL: nil,bookmarkData: nil,permissions: .none)
   |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'AccessInfo' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'empty' 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
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:18:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
   :
16 |     public static let powerboxReadWrite   = Permissions(rawValue: 1 << 2)
17 |
18 |     public static let none: Permissions = []
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' 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
19 |     public static let anyReadOnly: Permissions = [.bookmark, .powerboxReadOnly]
20 |     public static let anyReadWrite: Permissions = [.bookmark, .powerboxReadWrite]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:14:23: warning: static property 'bookmark' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
14 |     public static let bookmark    = Permissions(rawValue: 1 << 0)
   |                       |- warning: static property 'bookmark' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bookmark' 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
15 |     public static let powerboxReadOnly  = Permissions(rawValue: 1 << 1)
16 |     public static let powerboxReadWrite   = Permissions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:15:23: warning: static property 'powerboxReadOnly' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
14 |     public static let bookmark    = Permissions(rawValue: 1 << 0)
15 |     public static let powerboxReadOnly  = Permissions(rawValue: 1 << 1)
   |                       |- warning: static property 'powerboxReadOnly' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'powerboxReadOnly' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static let powerboxReadWrite   = Permissions(rawValue: 1 << 2)
17 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:16:23: warning: static property 'powerboxReadWrite' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
14 |     public static let bookmark    = Permissions(rawValue: 1 << 0)
15 |     public static let powerboxReadOnly  = Permissions(rawValue: 1 << 1)
16 |     public static let powerboxReadWrite   = Permissions(rawValue: 1 << 2)
   |                       |- warning: static property 'powerboxReadWrite' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'powerboxReadWrite' 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
17 |
18 |     public static let none: Permissions = []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:19:23: warning: static property 'anyReadOnly' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
   :
17 |
18 |     public static let none: Permissions = []
19 |     public static let anyReadOnly: Permissions = [.bookmark, .powerboxReadOnly]
   |                       |- warning: static property 'anyReadOnly' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'anyReadOnly' 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
20 |     public static let anyReadWrite: Permissions = [.bookmark, .powerboxReadWrite]
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:20:23: warning: static property 'anyReadWrite' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
   :
18 |     public static let none: Permissions = []
19 |     public static let anyReadOnly: Permissions = [.bookmark, .powerboxReadOnly]
20 |     public static let anyReadWrite: Permissions = [.bookmark, .powerboxReadWrite]
   |                       |- warning: static property 'anyReadWrite' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'anyReadWrite' 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
21 |
22 |     public var canRead:Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:58:14: warning: associated value 'needToAskPermission' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 56 |
 57 |     public enum Fail:Error {
 58 |         case needToAskPermission(AccessInfo)
    |              `- warning: associated value 'needToAskPermission' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 59 |         case noWindowProvided(AccessInfo)
 60 |         case userDidntGrantPermission(AccessInfo)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/AccessInfo.swift:11:15: note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
 9 |
10 | /// Info on what access was available to access the required file
11 | public struct AccessInfo {
   |               `- note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
12 |     //Note -this is the url of the bookmark actually used to access your file. It may be a parent of the file you want.
13 |     public let securityScopedURL:URL?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:59:14: warning: associated value 'noWindowProvided' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 57 |     public enum Fail:Error {
 58 |         case needToAskPermission(AccessInfo)
 59 |         case noWindowProvided(AccessInfo)
    |              `- warning: associated value 'noWindowProvided' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 60 |         case userDidntGrantPermission(AccessInfo)
 61 |         case unexpectedlyUnableToAccessBookmark(AccessInfo)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/AccessInfo.swift:11:15: note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
 9 |
10 | /// Info on what access was available to access the required file
11 | public struct AccessInfo {
   |               `- note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
12 |     //Note -this is the url of the bookmark actually used to access your file. It may be a parent of the file you want.
13 |     public let securityScopedURL:URL?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:60:14: warning: associated value 'userDidntGrantPermission' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 58 |         case needToAskPermission(AccessInfo)
 59 |         case noWindowProvided(AccessInfo)
 60 |         case userDidntGrantPermission(AccessInfo)
    |              `- warning: associated value 'userDidntGrantPermission' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 61 |         case unexpectedlyUnableToAccessBookmark(AccessInfo)
 62 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/AccessInfo.swift:11:15: note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
 9 |
10 | /// Info on what access was available to access the required file
11 | public struct AccessInfo {
   |               `- note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
12 |     //Note -this is the url of the bookmark actually used to access your file. It may be a parent of the file you want.
13 |     public let securityScopedURL:URL?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:61:14: warning: associated value 'unexpectedlyUnableToAccessBookmark' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 59 |         case noWindowProvided(AccessInfo)
 60 |         case userDidntGrantPermission(AccessInfo)
 61 |         case unexpectedlyUnableToAccessBookmark(AccessInfo)
    |              `- warning: associated value 'unexpectedlyUnableToAccessBookmark' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 62 |     }
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/AccessInfo.swift:11:15: note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
 9 |
10 | /// Info on what access was available to access the required file
11 | public struct AccessInfo {
   |               `- note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
12 |     //Note -this is the url of the bookmark actually used to access your file. It may be a parent of the file you want.
13 |     public let securityScopedURL:URL?
[6/9] Compiling SwiftySandboxFileAccess PowerboxAccess.swift
[7/9] Compiling SwiftySandboxFileAccess Permissions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:14:23: warning: static property 'bookmark' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
14 |     public static let bookmark    = Permissions(rawValue: 1 << 0)
   |                       |- warning: static property 'bookmark' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bookmark' 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
15 |     public static let powerboxReadOnly  = Permissions(rawValue: 1 << 1)
16 |     public static let powerboxReadWrite   = Permissions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:15:23: warning: static property 'powerboxReadOnly' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
14 |     public static let bookmark    = Permissions(rawValue: 1 << 0)
15 |     public static let powerboxReadOnly  = Permissions(rawValue: 1 << 1)
   |                       |- warning: static property 'powerboxReadOnly' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'powerboxReadOnly' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static let powerboxReadWrite   = Permissions(rawValue: 1 << 2)
17 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:16:23: warning: static property 'powerboxReadWrite' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
14 |     public static let bookmark    = Permissions(rawValue: 1 << 0)
15 |     public static let powerboxReadOnly  = Permissions(rawValue: 1 << 1)
16 |     public static let powerboxReadWrite   = Permissions(rawValue: 1 << 2)
   |                       |- warning: static property 'powerboxReadWrite' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'powerboxReadWrite' 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
17 |
18 |     public static let none: Permissions = []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:18:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
   :
16 |     public static let powerboxReadWrite   = Permissions(rawValue: 1 << 2)
17 |
18 |     public static let none: Permissions = []
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' 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
19 |     public static let anyReadOnly: Permissions = [.bookmark, .powerboxReadOnly]
20 |     public static let anyReadWrite: Permissions = [.bookmark, .powerboxReadWrite]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:19:23: warning: static property 'anyReadOnly' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
   :
17 |
18 |     public static let none: Permissions = []
19 |     public static let anyReadOnly: Permissions = [.bookmark, .powerboxReadOnly]
   |                       |- warning: static property 'anyReadOnly' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'anyReadOnly' 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
20 |     public static let anyReadWrite: Permissions = [.bookmark, .powerboxReadWrite]
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:20:23: warning: static property 'anyReadWrite' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
   :
18 |     public static let none: Permissions = []
19 |     public static let anyReadOnly: Permissions = [.bookmark, .powerboxReadOnly]
20 |     public static let anyReadWrite: Permissions = [.bookmark, .powerboxReadWrite]
   |                       |- warning: static property 'anyReadWrite' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'anyReadWrite' 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
21 |
22 |     public var canRead:Bool {
[8/9] Compiling SwiftySandboxFileAccess SandboxFileAccessOpenSavePanelDelegate.swift
[9/9] Compiling SwiftySandboxFileAccess SandboxFileAccess.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:58:14: warning: associated value 'needToAskPermission' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 56 |
 57 |     public enum Fail:Error {
 58 |         case needToAskPermission(AccessInfo)
    |              `- warning: associated value 'needToAskPermission' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 59 |         case noWindowProvided(AccessInfo)
 60 |         case userDidntGrantPermission(AccessInfo)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/AccessInfo.swift:11:15: note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
 9 |
10 | /// Info on what access was available to access the required file
11 | public struct AccessInfo {
   |               `- note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
12 |     //Note -this is the url of the bookmark actually used to access your file. It may be a parent of the file you want.
13 |     public let securityScopedURL:URL?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:59:14: warning: associated value 'noWindowProvided' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 57 |     public enum Fail:Error {
 58 |         case needToAskPermission(AccessInfo)
 59 |         case noWindowProvided(AccessInfo)
    |              `- warning: associated value 'noWindowProvided' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 60 |         case userDidntGrantPermission(AccessInfo)
 61 |         case unexpectedlyUnableToAccessBookmark(AccessInfo)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/AccessInfo.swift:11:15: note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
 9 |
10 | /// Info on what access was available to access the required file
11 | public struct AccessInfo {
   |               `- note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
12 |     //Note -this is the url of the bookmark actually used to access your file. It may be a parent of the file you want.
13 |     public let securityScopedURL:URL?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:60:14: warning: associated value 'userDidntGrantPermission' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 58 |         case needToAskPermission(AccessInfo)
 59 |         case noWindowProvided(AccessInfo)
 60 |         case userDidntGrantPermission(AccessInfo)
    |              `- warning: associated value 'userDidntGrantPermission' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 61 |         case unexpectedlyUnableToAccessBookmark(AccessInfo)
 62 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/AccessInfo.swift:11:15: note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
 9 |
10 | /// Info on what access was available to access the required file
11 | public struct AccessInfo {
   |               `- note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
12 |     //Note -this is the url of the bookmark actually used to access your file. It may be a parent of the file you want.
13 |     public let securityScopedURL:URL?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:61:14: warning: associated value 'unexpectedlyUnableToAccessBookmark' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 59 |         case noWindowProvided(AccessInfo)
 60 |         case userDidntGrantPermission(AccessInfo)
 61 |         case unexpectedlyUnableToAccessBookmark(AccessInfo)
    |              `- warning: associated value 'unexpectedlyUnableToAccessBookmark' of 'Sendable'-conforming enum 'Fail' has non-sendable type 'AccessInfo'; this is an error in the Swift 6 language mode
 62 |     }
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/AccessInfo.swift:11:15: note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
 9 |
10 | /// Info on what access was available to access the required file
11 | public struct AccessInfo {
   |               `- note: consider making struct 'AccessInfo' conform to the 'Sendable' protocol
12 |     //Note -this is the url of the bookmark actually used to access your file. It may be a parent of the file you want.
13 |     public let securityScopedURL:URL?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:20:23: warning: static property 'anyReadWrite' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
   :
18 |     public static let none: Permissions = []
19 |     public static let anyReadOnly: Permissions = [.bookmark, .powerboxReadOnly]
20 |     public static let anyReadWrite: Permissions = [.bookmark, .powerboxReadWrite]
   |                       |- warning: static property 'anyReadWrite' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'anyReadWrite' 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
21 |
22 |     public var canRead:Bool {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:14:23: warning: static property 'bookmark' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
14 |     public static let bookmark    = Permissions(rawValue: 1 << 0)
   |                       |- warning: static property 'bookmark' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bookmark' 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
15 |     public static let powerboxReadOnly  = Permissions(rawValue: 1 << 1)
16 |     public static let powerboxReadWrite   = Permissions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:18:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
   :
16 |     public static let powerboxReadWrite   = Permissions(rawValue: 1 << 2)
17 |
18 |     public static let none: Permissions = []
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' 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
19 |     public static let anyReadOnly: Permissions = [.bookmark, .powerboxReadOnly]
20 |     public static let anyReadWrite: Permissions = [.bookmark, .powerboxReadWrite]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:15:23: warning: static property 'powerboxReadOnly' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
14 |     public static let bookmark    = Permissions(rawValue: 1 << 0)
15 |     public static let powerboxReadOnly  = Permissions(rawValue: 1 << 1)
   |                       |- warning: static property 'powerboxReadOnly' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'powerboxReadOnly' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static let powerboxReadWrite   = Permissions(rawValue: 1 << 2)
17 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/Permissions.swift:16:23: warning: static property 'powerboxReadWrite' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// Option set describing list of permissions required or available
11 | public struct Permissions: OptionSet {
   |               `- note: consider making struct 'Permissions' conform to the 'Sendable' protocol
12 |     public let rawValue: Int
13 |
14 |     public static let bookmark    = Permissions(rawValue: 1 << 0)
15 |     public static let powerboxReadOnly  = Permissions(rawValue: 1 << 1)
16 |     public static let powerboxReadWrite   = Permissions(rawValue: 1 << 2)
   |                       |- warning: static property 'powerboxReadWrite' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'powerboxReadWrite' 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
17 |
18 |     public static let none: Permissions = []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:317:25: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
306 |     }
307 |
308 |     private func openPanel(for url:URL) -> (NSOpenPanel,SandboxFileAccessOpenSavePanelDelegate) {
    |                  `- note: add '@MainActor' to make instance method 'openPanel(for:)' part of global actor 'MainActor'
309 |         // create delegate that will limit which files in the open panel can be selected, to ensure only a folder
310 |         // or file giving permission to the file requested can be selected
    :
315 |         FileManager.default.fileExists(atPath: existingURL.path, isDirectory: &isDirectory)
316 |
317 |         let openPanel = NSOpenPanel()
    |                         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
318 |         openPanel.message = self.message ?? defaultOpenPanelMessage(forFileURL: url)
319 |         openPanel.canCreateDirectories = false
AppKit.NSOpenPanel:29:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
27 |     @available(macOS 10.10, *)
28 |     public convenience init(contentViewController: NSViewController)
29 |     @MainActor public convenience init()
   |                                   `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
30 |     @available(macOS, introduced: 10.0, deprecated: 15.0, message: "This method should not be used.")
31 |     @available(macOS, introduced: 10.0, deprecated: 15.0, message: "This method should not be used.")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:318: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
306 |     }
307 |
308 |     private func openPanel(for url:URL) -> (NSOpenPanel,SandboxFileAccessOpenSavePanelDelegate) {
    |                  `- note: add '@MainActor' to make instance method 'openPanel(for:)' part of global actor 'MainActor'
309 |         // create delegate that will limit which files in the open panel can be selected, to ensure only a folder
310 |         // or file giving permission to the file requested can be selected
    :
316 |
317 |         let openPanel = NSOpenPanel()
318 |         openPanel.message = self.message ?? defaultOpenPanelMessage(forFileURL: url)
    |                   `- warning: main actor-isolated property 'message' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
319 |         openPanel.canCreateDirectories = false
320 |         openPanel.canChooseFiles = !isDirectory.boolValue
AppKit.NSSavePanel:33:25: note: mutation of this property is only permitted within the actor
31 |     @available(macOS 10.6, *)
32 |     open var nameFieldStringValue: String { get set }
33 |     @MainActor 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/SwiftySandboxFileAccess/SandboxFileAccess.swift:319: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
306 |     }
307 |
308 |     private func openPanel(for url:URL) -> (NSOpenPanel,SandboxFileAccessOpenSavePanelDelegate) {
    |                  `- note: add '@MainActor' to make instance method 'openPanel(for:)' part of global actor 'MainActor'
309 |         // create delegate that will limit which files in the open panel can be selected, to ensure only a folder
310 |         // or file giving permission to the file requested can be selected
    :
317 |         let openPanel = NSOpenPanel()
318 |         openPanel.message = self.message ?? defaultOpenPanelMessage(forFileURL: url)
319 |         openPanel.canCreateDirectories = false
    |                   `- warning: main actor-isolated property 'canCreateDirectories' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
320 |         openPanel.canChooseFiles = !isDirectory.boolValue
321 |         openPanel.canChooseDirectories = true
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/SwiftySandboxFileAccess/SandboxFileAccess.swift:320:19: warning: main actor-isolated property 'canChooseFiles' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
306 |     }
307 |
308 |     private func openPanel(for url:URL) -> (NSOpenPanel,SandboxFileAccessOpenSavePanelDelegate) {
    |                  `- note: add '@MainActor' to make instance method 'openPanel(for:)' part of global actor 'MainActor'
309 |         // create delegate that will limit which files in the open panel can be selected, to ensure only a folder
310 |         // or file giving permission to the file requested can be selected
    :
318 |         openPanel.message = self.message ?? defaultOpenPanelMessage(forFileURL: url)
319 |         openPanel.canCreateDirectories = false
320 |         openPanel.canChooseFiles = !isDirectory.boolValue
    |                   `- warning: main actor-isolated property 'canChooseFiles' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
321 |         openPanel.canChooseDirectories = true
322 |         openPanel.allowsMultipleSelection = false
AppKit.NSOpenPanel:12:14: note: mutation of this property is only permitted within the actor
10 |     open var canChooseDirectories: Bool { get set }
11 |     open var allowsMultipleSelection: Bool { get set }
12 |     open var canChooseFiles: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
13 |     @available(macOS 10.10, *)
14 |     open var canResolveUbiquitousConflicts: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:321:19: warning: main actor-isolated property 'canChooseDirectories' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
306 |     }
307 |
308 |     private func openPanel(for url:URL) -> (NSOpenPanel,SandboxFileAccessOpenSavePanelDelegate) {
    |                  `- note: add '@MainActor' to make instance method 'openPanel(for:)' part of global actor 'MainActor'
309 |         // create delegate that will limit which files in the open panel can be selected, to ensure only a folder
310 |         // or file giving permission to the file requested can be selected
    :
319 |         openPanel.canCreateDirectories = false
320 |         openPanel.canChooseFiles = !isDirectory.boolValue
321 |         openPanel.canChooseDirectories = true
    |                   `- warning: main actor-isolated property 'canChooseDirectories' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
322 |         openPanel.allowsMultipleSelection = false
323 |         openPanel.prompt = self.prompt
AppKit.NSOpenPanel:10:14: note: mutation of this property is only permitted within the actor
 8 |     open var URLs: [URL] { get }
 9 |     open var resolvesAliases: Bool { get set }
10 |     open var canChooseDirectories: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
11 |     open var allowsMultipleSelection: Bool { get set }
12 |     open var canChooseFiles: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:322:19: warning: main actor-isolated property 'allowsMultipleSelection' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
306 |     }
307 |
308 |     private func openPanel(for url:URL) -> (NSOpenPanel,SandboxFileAccessOpenSavePanelDelegate) {
    |                  `- note: add '@MainActor' to make instance method 'openPanel(for:)' part of global actor 'MainActor'
309 |         // create delegate that will limit which files in the open panel can be selected, to ensure only a folder
310 |         // or file giving permission to the file requested can be selected
    :
320 |         openPanel.canChooseFiles = !isDirectory.boolValue
321 |         openPanel.canChooseDirectories = true
322 |         openPanel.allowsMultipleSelection = false
    |                   `- warning: main actor-isolated property 'allowsMultipleSelection' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
323 |         openPanel.prompt = self.prompt
324 |         openPanel.title = self.title
AppKit.NSOpenPanel:11:14: note: mutation of this property is only permitted within the actor
 9 |     open var resolvesAliases: Bool { get set }
10 |     open var canChooseDirectories: Bool { get set }
11 |     open var allowsMultipleSelection: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
12 |     open var canChooseFiles: Bool { get set }
13 |     @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:323:19: warning: main actor-isolated property 'prompt' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
306 |     }
307 |
308 |     private func openPanel(for url:URL) -> (NSOpenPanel,SandboxFileAccessOpenSavePanelDelegate) {
    |                  `- note: add '@MainActor' to make instance method 'openPanel(for:)' part of global actor 'MainActor'
309 |         // create delegate that will limit which files in the open panel can be selected, to ensure only a folder
310 |         // or file giving permission to the file requested can be selected
    :
321 |         openPanel.canChooseDirectories = true
322 |         openPanel.allowsMultipleSelection = false
323 |         openPanel.prompt = self.prompt
    |                   `- warning: main actor-isolated property 'prompt' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
324 |         openPanel.title = self.title
325 |         openPanel.showsHiddenFiles = false
AppKit.NSSavePanel:28:14: note: mutation of this property is only permitted within the actor
26 |     open var extensionHidden: Bool { get set }
27 |     open var treatsFilePackagesAsDirectories: Bool { get set }
28 |     open var prompt: String! { get set }
   |              `- note: mutation of this property is only permitted within the actor
29 |     open var title: String! { get set }
30 |     open var nameFieldLabel: String! { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:324: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
306 |     }
307 |
308 |     private func openPanel(for url:URL) -> (NSOpenPanel,SandboxFileAccessOpenSavePanelDelegate) {
    |                  `- note: add '@MainActor' to make instance method 'openPanel(for:)' part of global actor 'MainActor'
309 |         // create delegate that will limit which files in the open panel can be selected, to ensure only a folder
310 |         // or file giving permission to the file requested can be selected
    :
322 |         openPanel.allowsMultipleSelection = false
323 |         openPanel.prompt = self.prompt
324 |         openPanel.title = self.title
    |                   `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
325 |         openPanel.showsHiddenFiles = false
326 |         openPanel.isExtensionHidden = false
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/SwiftySandboxFileAccess/SandboxFileAccess.swift:325:19: warning: main actor-isolated property 'showsHiddenFiles' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
306 |     }
307 |
308 |     private func openPanel(for url:URL) -> (NSOpenPanel,SandboxFileAccessOpenSavePanelDelegate) {
    |                  `- note: add '@MainActor' to make instance method 'openPanel(for:)' part of global actor 'MainActor'
309 |         // create delegate that will limit which files in the open panel can be selected, to ensure only a folder
310 |         // or file giving permission to the file requested can be selected
    :
323 |         openPanel.prompt = self.prompt
324 |         openPanel.title = self.title
325 |         openPanel.showsHiddenFiles = false
    |                   `- warning: main actor-isolated property 'showsHiddenFiles' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
326 |         openPanel.isExtensionHidden = false
327 |         openPanel.directoryURL = existingURL
AppKit.NSSavePanel:34:14: note: mutation of this property is only permitted within the actor
32 |     open var nameFieldStringValue: String { get set }
33 |     @MainActor open var message: String! { get set }
34 |     open var showsHiddenFiles: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
35 |     @available(macOS 10.9, *)
36 |     open var showsTagField: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:326:19: warning: main actor-isolated property 'isExtensionHidden' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
306 |     }
307 |
308 |     private func openPanel(for url:URL) -> (NSOpenPanel,SandboxFileAccessOpenSavePanelDelegate) {
    |                  `- note: add '@MainActor' to make instance method 'openPanel(for:)' part of global actor 'MainActor'
309 |         // create delegate that will limit which files in the open panel can be selected, to ensure only a folder
310 |         // or file giving permission to the file requested can be selected
    :
324 |         openPanel.title = self.title
325 |         openPanel.showsHiddenFiles = false
326 |         openPanel.isExtensionHidden = false
    |                   `- warning: main actor-isolated property 'isExtensionHidden' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
327 |         openPanel.directoryURL = existingURL
328 |         openPanel.delegate = openPanelDelegate
AppKit.NSSavePanel:24:14: note: mutation of this property is only permitted within the actor
22 |     open var canCreateDirectories: Bool { get set }
23 |     open var canSelectHiddenExtension: Bool { get set }
24 |     open var isExtensionHidden: Bool { get set }
   |              `- note: mutation of this property is only permitted within the actor
25 |     @available(swift, obsoleted: 3, renamed: "isExtensionHidden")
26 |     open var extensionHidden: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:327: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
306 |     }
307 |
308 |     private func openPanel(for url:URL) -> (NSOpenPanel,SandboxFileAccessOpenSavePanelDelegate) {
    |                  `- note: add '@MainActor' to make instance method 'openPanel(for:)' part of global actor 'MainActor'
309 |         // create delegate that will limit which files in the open panel can be selected, to ensure only a folder
310 |         // or file giving permission to the file requested can be selected
    :
325 |         openPanel.showsHiddenFiles = false
326 |         openPanel.isExtensionHidden = false
327 |         openPanel.directoryURL = existingURL
    |                   `- warning: main actor-isolated property 'directoryURL' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
328 |         openPanel.delegate = openPanelDelegate
329 |
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/SwiftySandboxFileAccess/SandboxFileAccess.swift:328:19: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
306 |     }
307 |
308 |     private func openPanel(for url:URL) -> (NSOpenPanel,SandboxFileAccessOpenSavePanelDelegate) {
    |                  `- note: add '@MainActor' to make instance method 'openPanel(for:)' part of global actor 'MainActor'
309 |         // create delegate that will limit which files in the open panel can be selected, to ensure only a folder
310 |         // or file giving permission to the file requested can be selected
    :
326 |         openPanel.isExtensionHidden = false
327 |         openPanel.directoryURL = existingURL
328 |         openPanel.delegate = openPanelDelegate
    |                   `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
329 |
330 |         return (openPanel,openPanelDelegate)
AppKit.NSSavePanel:18:19: note: mutation of this property is only permitted within the actor
16 |     open var currentContentType: UTType? { get set }
17 |     open var accessoryView: NSView? { get set }
18 |     weak open var delegate: (any NSOpenSavePanelDelegate)? { get set }
   |                   `- note: mutation of this property is only permitted within the actor
19 |     open var isExpanded: Bool { get }
20 |     @available(swift, obsoleted: 3, renamed: "isExpanded")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:360:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
358 |             displayOpenPanelBlock()
359 |         } else {
360 |             DispatchQueue.main.async(execute: displayOpenPanelBlock)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
361 |         }
362 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:342:34: warning: call to main actor-isolated instance method 'activate(ignoringOtherApps:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
340 |             let (openPanel,openPanelDelegate) = self.openPanel(for: requestedURL)
341 |
342 |             NSApplication.shared.activate(ignoringOtherApps: true)
    |                                  `- warning: call to main actor-isolated instance method 'activate(ignoringOtherApps:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
343 |
344 |             openPanel.beginSheetModal(for:fromWindow) { (result) in
AppKit.NSApplication:25:26: note: calls to instance method 'activate(ignoringOtherApps:)' from outside of its actor context are implicitly asynchronous
 23 |     open func deactivate()
 24 |     @available(macOS, introduced: 10.0, deprecated: 100000, message: "This method will be deprecated in a future release. Use NSApp.activate instead.")
 25 |     @MainActor open func activate(ignoringOtherApps ignoreOtherApps: Bool)
    |                          `- note: calls to instance method 'activate(ignoringOtherApps:)' from outside of its actor context are implicitly asynchronous
 26 |     @available(swift, obsoleted: 3, renamed: "activate(ignoringOtherApps:)")
 27 |     @available(macOS, introduced: 10.0, deprecated: 100000, message: "This method will be deprecated in a future release. Use NSApp.activate instead.")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:342:27: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
340 |             let (openPanel,openPanelDelegate) = self.openPanel(for: requestedURL)
341 |
342 |             NSApplication.shared.activate(ignoringOtherApps: true)
    |                           `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
343 |
344 |             openPanel.beginSheetModal(for:fromWindow) { (result) in
AppKit.NSApplication:2:20: note: class property declared here
  1 | @MainActor open class NSApplication : NSResponder, NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
  2 |     open class var shared: NSApplication { get }
    |                    `- note: class property declared here
  3 |     @available(swift, obsoleted: 3, renamed: "shared")
  4 |     open class var sharedApplication: NSApplication { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:344:23: warning: call to main actor-isolated instance method 'beginSheetModal(for:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
342 |             NSApplication.shared.activate(ignoringOtherApps: true)
343 |
344 |             openPanel.beginSheetModal(for:fromWindow) { (result) in
    |                       `- warning: call to main actor-isolated instance method 'beginSheetModal(for:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
345 |                 if result == NSApplication.ModalResponse.OK {
346 |                     block(openPanel.url)
AppKit.NSSavePanel:45:15: note: calls to instance method 'beginSheetModal(for:completionHandler:)' from outside of its actor context are implicitly asynchronous
43 |     @IBAction open func cancel(_ sender: Any?)
44 |     @available(macOS 10.6, *)
45 |     open func beginSheetModal(for window: NSWindow, completionHandler handler: @escaping (NSApplication.ModalResponse) -> Void)
   |               `- note: calls to instance method 'beginSheetModal(for:completionHandler:)' from outside of its actor context are implicitly asynchronous
46 |     @available(macOS 10.6, *)
47 |     open func beginSheetModal(for window: NSWindow) async -> NSApplication.ModalResponse
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:346:37: warning: main actor-isolated property 'url' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
344 |             openPanel.beginSheetModal(for:fromWindow) { (result) in
345 |                 if result == NSApplication.ModalResponse.OK {
346 |                     block(openPanel.url)
    |                                     `- warning: main actor-isolated property 'url' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
347 |                 }
348 |                 else {
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 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftySandboxFileAccess/SandboxFileAccess.swift:344:23: warning: sending task-isolated value of type '(NSApplication.ModalResponse) -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
342 |             NSApplication.shared.activate(ignoringOtherApps: true)
343 |
344 |             openPanel.beginSheetModal(for:fromWindow) { (result) in
    |                       `- warning: sending task-isolated value of type '(NSApplication.ModalResponse) -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
345 |                 if result == NSApplication.ModalResponse.OK {
346 |                     block(openPanel.url)
Build complete! (11.51s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftySandboxFileAccess",
  "name" : "SwiftySandboxFileAccess",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftySandboxFileAccess",
      "targets" : [
        "SwiftySandboxFileAccess"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftySandboxFileAccess",
      "module_type" : "SwiftTarget",
      "name" : "SwiftySandboxFileAccess",
      "path" : "Sources/SwiftySandboxFileAccess",
      "product_memberships" : [
        "SwiftySandboxFileAccess"
      ],
      "sources" : [
        "AccessInfo.swift",
        "Permissions.swift",
        "PowerboxAccess.swift",
        "SandboxFileAccess.swift",
        "SandboxFileAccessOpenSavePanelDelegate.swift",
        "SandboxFileAccessPersist.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.