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 SMBClient, reference main (e636c2), with Swift 6.0 for macOS (SPM) on 9 Dec 2024 19:18:32 UTC.

Swift 6 data race errors: 33

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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:27:23: warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
   |                       |- warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicTsDevice' 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
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:28:23: warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
   |                       |- warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicWebDavDevice' 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
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:29:23: warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
   |                       |- warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceAllowAppContainerTraversal' 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
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:30:23: warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
   |                       |- warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'portableDevice' 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
31 |   }
32 |
[45/83] Compiling SMBClient FileFsLabelInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:19:23: warning: static property 'removableMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
17 |     }
18 |
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
   |                       |- warning: static property 'removableMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'removableMedia' 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 readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:20:23: warning: static property 'readOnlyDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
18 |
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
   |                       |- warning: static property 'readOnlyDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'readOnlyDevice' 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 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:21:23: warning: static property 'floppyDiskette' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
   |                       |- warning: static property 'floppyDiskette' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'floppyDiskette' 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
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:22:23: warning: static property 'writeOnceMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
   |                       |- warning: static property 'writeOnceMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'writeOnceMedia' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:23:23: warning: static property 'remoteDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
   |                       |- warning: static property 'remoteDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'remoteDevice' 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
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:24:23: warning: static property 'deviceIsMounted' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
   |                       |- warning: static property 'deviceIsMounted' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceIsMounted' 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
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:25:23: warning: static property 'virtualVolume' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
   |                       |- warning: static property 'virtualVolume' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'virtualVolume' 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
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:26:23: warning: static property 'deviceSecureOpen' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
   |                       |- warning: static property 'deviceSecureOpen' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceSecureOpen' 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
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:27:23: warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
   |                       |- warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicTsDevice' 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
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:28:23: warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
   |                       |- warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicWebDavDevice' 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
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:29:23: warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
   |                       |- warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceAllowAppContainerTraversal' 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
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:30:23: warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
   |                       |- warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'portableDevice' 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
31 |   }
32 |
[46/83] Compiling SMBClient FileFsSizeInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:19:23: warning: static property 'removableMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
17 |     }
18 |
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
   |                       |- warning: static property 'removableMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'removableMedia' 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 readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:20:23: warning: static property 'readOnlyDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
18 |
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
   |                       |- warning: static property 'readOnlyDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'readOnlyDevice' 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 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:21:23: warning: static property 'floppyDiskette' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
   |                       |- warning: static property 'floppyDiskette' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'floppyDiskette' 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
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:22:23: warning: static property 'writeOnceMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
   |                       |- warning: static property 'writeOnceMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'writeOnceMedia' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:23:23: warning: static property 'remoteDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
   |                       |- warning: static property 'remoteDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'remoteDevice' 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
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:24:23: warning: static property 'deviceIsMounted' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
   |                       |- warning: static property 'deviceIsMounted' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceIsMounted' 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
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:25:23: warning: static property 'virtualVolume' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
   |                       |- warning: static property 'virtualVolume' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'virtualVolume' 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
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:26:23: warning: static property 'deviceSecureOpen' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
   |                       |- warning: static property 'deviceSecureOpen' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceSecureOpen' 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
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:27:23: warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
   |                       |- warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicTsDevice' 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
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:28:23: warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
   |                       |- warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicWebDavDevice' 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
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:29:23: warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
   |                       |- warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceAllowAppContainerTraversal' 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
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:30:23: warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
   |                       |- warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'portableDevice' 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
31 |   }
32 |
[47/83] Compiling SMBClient FileFsVolumeInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:19:23: warning: static property 'removableMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
17 |     }
18 |
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
   |                       |- warning: static property 'removableMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'removableMedia' 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 readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:20:23: warning: static property 'readOnlyDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
18 |
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
   |                       |- warning: static property 'readOnlyDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'readOnlyDevice' 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 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:21:23: warning: static property 'floppyDiskette' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
   |                       |- warning: static property 'floppyDiskette' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'floppyDiskette' 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
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:22:23: warning: static property 'writeOnceMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
   |                       |- warning: static property 'writeOnceMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'writeOnceMedia' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:23:23: warning: static property 'remoteDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
   |                       |- warning: static property 'remoteDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'remoteDevice' 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
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:24:23: warning: static property 'deviceIsMounted' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
   |                       |- warning: static property 'deviceIsMounted' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceIsMounted' 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
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:25:23: warning: static property 'virtualVolume' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
   |                       |- warning: static property 'virtualVolume' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'virtualVolume' 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
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:26:23: warning: static property 'deviceSecureOpen' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
   |                       |- warning: static property 'deviceSecureOpen' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceSecureOpen' 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
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:27:23: warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
   |                       |- warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicTsDevice' 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
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:28:23: warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
   |                       |- warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicWebDavDevice' 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
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:29:23: warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
   |                       |- warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceAllowAppContainerTraversal' 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
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:30:23: warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
   |                       |- warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'portableDevice' 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
31 |   }
32 |
[48/83] Compiling SMBClient FileSystemInfoClass.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:19:23: warning: static property 'removableMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
17 |     }
18 |
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
   |                       |- warning: static property 'removableMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'removableMedia' 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 readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:20:23: warning: static property 'readOnlyDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
18 |
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
   |                       |- warning: static property 'readOnlyDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'readOnlyDevice' 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 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:21:23: warning: static property 'floppyDiskette' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
   |                       |- warning: static property 'floppyDiskette' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'floppyDiskette' 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
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:22:23: warning: static property 'writeOnceMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
   |                       |- warning: static property 'writeOnceMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'writeOnceMedia' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:23:23: warning: static property 'remoteDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
   |                       |- warning: static property 'remoteDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'remoteDevice' 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
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:24:23: warning: static property 'deviceIsMounted' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
   |                       |- warning: static property 'deviceIsMounted' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceIsMounted' 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
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:25:23: warning: static property 'virtualVolume' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
   |                       |- warning: static property 'virtualVolume' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'virtualVolume' 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
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:26:23: warning: static property 'deviceSecureOpen' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
   |                       |- warning: static property 'deviceSecureOpen' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceSecureOpen' 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
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:27:23: warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
   |                       |- warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicTsDevice' 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
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:28:23: warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
   |                       |- warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicWebDavDevice' 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
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:29:23: warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
   |                       |- warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceAllowAppContainerTraversal' 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
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:30:23: warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
   |                       |- warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'portableDevice' 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
31 |   }
32 |
[49/83] Compiling SMBClient Header+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:19:23: warning: static property 'removableMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
17 |     }
18 |
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
   |                       |- warning: static property 'removableMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'removableMedia' 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 readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:20:23: warning: static property 'readOnlyDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
18 |
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
   |                       |- warning: static property 'readOnlyDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'readOnlyDevice' 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 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:21:23: warning: static property 'floppyDiskette' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
   |                       |- warning: static property 'floppyDiskette' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'floppyDiskette' 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
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:22:23: warning: static property 'writeOnceMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
   |                       |- warning: static property 'writeOnceMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'writeOnceMedia' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:23:23: warning: static property 'remoteDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
   |                       |- warning: static property 'remoteDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'remoteDevice' 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
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:24:23: warning: static property 'deviceIsMounted' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
   |                       |- warning: static property 'deviceIsMounted' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceIsMounted' 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
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:25:23: warning: static property 'virtualVolume' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
   |                       |- warning: static property 'virtualVolume' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'virtualVolume' 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
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:26:23: warning: static property 'deviceSecureOpen' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
   |                       |- warning: static property 'deviceSecureOpen' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceSecureOpen' 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
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:27:23: warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
   |                       |- warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicTsDevice' 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
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:28:23: warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
   |                       |- warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicWebDavDevice' 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
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:29:23: warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
   |                       |- warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceAllowAppContainerTraversal' 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
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:30:23: warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
   |                       |- warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'portableDevice' 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
31 |   }
32 |
[50/83] Compiling SMBClient Header.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:19:23: warning: static property 'removableMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
17 |     }
18 |
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
   |                       |- warning: static property 'removableMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'removableMedia' 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 readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:20:23: warning: static property 'readOnlyDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
18 |
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
   |                       |- warning: static property 'readOnlyDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'readOnlyDevice' 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 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:21:23: warning: static property 'floppyDiskette' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
   |                       |- warning: static property 'floppyDiskette' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'floppyDiskette' 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
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:22:23: warning: static property 'writeOnceMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
   |                       |- warning: static property 'writeOnceMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'writeOnceMedia' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:23:23: warning: static property 'remoteDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
   |                       |- warning: static property 'remoteDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'remoteDevice' 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
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:24:23: warning: static property 'deviceIsMounted' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
   |                       |- warning: static property 'deviceIsMounted' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceIsMounted' 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
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:25:23: warning: static property 'virtualVolume' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
   |                       |- warning: static property 'virtualVolume' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'virtualVolume' 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
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:26:23: warning: static property 'deviceSecureOpen' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
   |                       |- warning: static property 'deviceSecureOpen' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceSecureOpen' 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
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:27:23: warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
   |                       |- warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicTsDevice' 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
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:28:23: warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
   |                       |- warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicWebDavDevice' 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
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:29:23: warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
   |                       |- warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceAllowAppContainerTraversal' 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
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:30:23: warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
   |                       |- warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'portableDevice' 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
31 |   }
32 |
[51/83] Compiling SMBClient IOCtl+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:19:23: warning: static property 'removableMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
17 |     }
18 |
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
   |                       |- warning: static property 'removableMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'removableMedia' 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 readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:20:23: warning: static property 'readOnlyDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
18 |
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
   |                       |- warning: static property 'readOnlyDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'readOnlyDevice' 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 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:21:23: warning: static property 'floppyDiskette' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
19 |     public static let removableMedia = Characteristics(rawValue: 0x00000001)
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
   |                       |- warning: static property 'floppyDiskette' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'floppyDiskette' 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
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:22:23: warning: static property 'writeOnceMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
20 |     public static let readOnlyDevice = Characteristics(rawValue: 0x00000002)
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
   |                       |- warning: static property 'writeOnceMedia' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'writeOnceMedia' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:23:23: warning: static property 'remoteDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
21 |     public static let floppyDiskette = Characteristics(rawValue: 0x00000004)
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
   |                       |- warning: static property 'remoteDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'remoteDevice' 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
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:24:23: warning: static property 'deviceIsMounted' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
22 |     public static let writeOnceMedia = Characteristics(rawValue: 0x00000008)
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
   |                       |- warning: static property 'deviceIsMounted' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceIsMounted' 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
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:25:23: warning: static property 'virtualVolume' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
23 |     public static let remoteDevice = Characteristics(rawValue: 0x00000010)
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
   |                       |- warning: static property 'virtualVolume' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'virtualVolume' 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
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:26:23: warning: static property 'deviceSecureOpen' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
24 |     public static let deviceIsMounted = Characteristics(rawValue: 0x00000020)
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
   |                       |- warning: static property 'deviceSecureOpen' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceSecureOpen' 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
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:27:23: warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
25 |     public static let virtualVolume = Characteristics(rawValue: 0x00000040)
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
   |                       |- warning: static property 'characteristicTsDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicTsDevice' 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
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:28:23: warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
26 |     public static let deviceSecureOpen = Characteristics(rawValue: 0x00000100)
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
   |                       |- warning: static property 'characteristicWebDavDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'characteristicWebDavDevice' 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
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:29:23: warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
27 |     public static let characteristicTsDevice = Characteristics(rawValue: 0x00001000)
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
   |                       |- warning: static property 'deviceAllowAppContainerTraversal' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'deviceAllowAppContainerTraversal' 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
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift:30:23: warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
10 |   }
11 |
12 |   public struct Characteristics: OptionSet {
   |                 `- note: consider making struct 'Characteristics' conform to the 'Sendable' protocol
13 |     public let rawValue: UInt32
14 |
   :
28 |     public static let characteristicWebDavDevice = Characteristics(rawValue: 0x00002000)
29 |     public static let deviceAllowAppContainerTraversal = Characteristics(rawValue: 0x00020000)
30 |     public static let portableDevice = Characteristics(rawValue: 0x00004000)
   |                       |- warning: static property 'portableDevice' is not concurrency-safe because non-'Sendable' type 'FileFsDeviceInformation.Characteristics' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'portableDevice' 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
31 |   }
32 |
[52/83] Compiling SMBClient TreeConnect+CustomDebugStringConvertible.swift
[53/83] Compiling SMBClient TreeConnect.swift
[54/83] Compiling SMBClient TreeDisconnect+CustomDebugStringConvertible.swift
[55/83] Compiling SMBClient TreeDisconnect.swift
[56/83] Compiling SMBClient Write+CustomDebugStringConvertible.swift
[57/83] Compiling SMBClient Write.swift
[58/83] Compiling SMBClient BinaryConvertible.swift
[59/83] Compiling SMBClient Data.swift
[60/83] Compiling SMBClient FileInternalInformation.swift
[61/83] Compiling SMBClient FileModeInformation.swift
[62/83] Compiling SMBClient FileNameInformation.swift
[63/83] Compiling SMBClient FilePositionInformation.swift
[64/83] Compiling SMBClient FileRenameInformation.swift
[65/83] Compiling SMBClient FileStandardInformation.swift
[66/83] Compiling SMBClient InfoType.swift
[67/83] Compiling SMBClient SecurityDescriptor.swift
[68/83] Compiling SMBClient IOCtl.swift
[69/83] Compiling SMBClient Logoff+CustomDebugStringConvertible.swift
[70/83] Compiling SMBClient Logoff.swift
[71/83] Compiling SMBClient Message.swift
[72/83] Compiling SMBClient Negotiate+CustomDebugStringConvertible.swift
[73/83] Compiling SMBClient Negotiate.swift
[74/83] Compiling SMBClient QueryDirectory+CustomDebugStringConvertible.swift
[75/83] Compiling SMBClient QueryDirectory.swift
[76/83] Compiling SMBClient Crypto.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 43 |         case .waiting(let error):
 44 |           continuation.resume(throwing: error)
 45 |           self.connection.stateUpdateHandler = nil
    |           `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |         case .ready:
 47 |           continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 65 |       switch state {
 66 |       case .waiting(let error), .failed(let error):
 67 |         onDisconnected(error)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
 68 |       case .setup, .preparing, .ready, .cancelled:
 69 |         break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
106 |         }
107 |
108 |         self.receive() { (result) in
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 |           switch result {
110 |           case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |     { (content, contentContext, isComplete, error) in
128 |       if let error = error {
129 |         completion(.failure(error))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 |         return
131 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
143 |       let length = Int(transportPacket.protocolLength)
144 |
145 |       self.buffer.append(Data(transportPacket.smb2Message))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 |
147 |       self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
148 |         switch result {
149 |         case .success:
150 |           let data = Data(self.buffer.prefix(length))
    |                           `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 |           self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 |                 if self.buffer.count < length {
174 |                   self.receive(completion: completion)
    |                                            |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
    |                                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 |                   return
176 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 |       self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 |         if let error = error {
224 |           completion(.failure(error))
    |           |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |           return
226 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
235 |         }
236 |
237 |         self.buffer.append(data)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |         self.receive(upTo: byteCount, completion: completion)
239 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 80 |   public func send(_ data: Data) async throws -> Data {
 81 |     await semaphore.wait()
 82 |     defer { Task { await semaphore.signal() } }
    |                  |       `- note: closure captures 'self' which is accessible to code in the current task
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 83 |
 84 |     switch connection.state {
[77/83] Compiling SMBClient NTLM.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 43 |         case .waiting(let error):
 44 |           continuation.resume(throwing: error)
 45 |           self.connection.stateUpdateHandler = nil
    |           `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |         case .ready:
 47 |           continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 65 |       switch state {
 66 |       case .waiting(let error), .failed(let error):
 67 |         onDisconnected(error)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
 68 |       case .setup, .preparing, .ready, .cancelled:
 69 |         break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
106 |         }
107 |
108 |         self.receive() { (result) in
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 |           switch result {
110 |           case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |     { (content, contentContext, isComplete, error) in
128 |       if let error = error {
129 |         completion(.failure(error))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 |         return
131 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
143 |       let length = Int(transportPacket.protocolLength)
144 |
145 |       self.buffer.append(Data(transportPacket.smb2Message))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 |
147 |       self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
148 |         switch result {
149 |         case .success:
150 |           let data = Data(self.buffer.prefix(length))
    |                           `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 |           self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 |                 if self.buffer.count < length {
174 |                   self.receive(completion: completion)
    |                                            |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
    |                                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 |                   return
176 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 |       self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 |         if let error = error {
224 |           completion(.failure(error))
    |           |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |           return
226 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
235 |         }
236 |
237 |         self.buffer.append(data)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |         self.receive(upTo: byteCount, completion: completion)
239 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 80 |   public func send(_ data: Data) async throws -> Data {
 81 |     await semaphore.wait()
 82 |     defer { Task { await semaphore.signal() } }
    |                  |       `- note: closure captures 'self' which is accessible to code in the current task
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 83 |
 84 |     switch connection.state {
[78/83] Compiling SMBClient ByteReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 43 |         case .waiting(let error):
 44 |           continuation.resume(throwing: error)
 45 |           self.connection.stateUpdateHandler = nil
    |           `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |         case .ready:
 47 |           continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 65 |       switch state {
 66 |       case .waiting(let error), .failed(let error):
 67 |         onDisconnected(error)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
 68 |       case .setup, .preparing, .ready, .cancelled:
 69 |         break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
106 |         }
107 |
108 |         self.receive() { (result) in
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 |           switch result {
110 |           case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |     { (content, contentContext, isComplete, error) in
128 |       if let error = error {
129 |         completion(.failure(error))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 |         return
131 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
143 |       let length = Int(transportPacket.protocolLength)
144 |
145 |       self.buffer.append(Data(transportPacket.smb2Message))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 |
147 |       self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
148 |         switch result {
149 |         case .success:
150 |           let data = Data(self.buffer.prefix(length))
    |                           `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 |           self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 |                 if self.buffer.count < length {
174 |                   self.receive(completion: completion)
    |                                            |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
    |                                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 |                   return
176 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 |       self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 |         if let error = error {
224 |           completion(.failure(error))
    |           |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |           return
226 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
235 |         }
236 |
237 |         self.buffer.append(data)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |         self.receive(upTo: byteCount, completion: completion)
239 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 80 |   public func send(_ data: Data) async throws -> Data {
 81 |     await semaphore.wait()
 82 |     defer { Task { await semaphore.signal() } }
    |                  |       `- note: closure captures 'self' which is accessible to code in the current task
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 83 |
 84 |     switch connection.state {
[79/83] Compiling SMBClient Connection.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 43 |         case .waiting(let error):
 44 |           continuation.resume(throwing: error)
 45 |           self.connection.stateUpdateHandler = nil
    |           `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |         case .ready:
 47 |           continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 65 |       switch state {
 66 |       case .waiting(let error), .failed(let error):
 67 |         onDisconnected(error)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
 68 |       case .setup, .preparing, .ready, .cancelled:
 69 |         break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
106 |         }
107 |
108 |         self.receive() { (result) in
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 |           switch result {
110 |           case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |     { (content, contentContext, isComplete, error) in
128 |       if let error = error {
129 |         completion(.failure(error))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 |         return
131 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
143 |       let length = Int(transportPacket.protocolLength)
144 |
145 |       self.buffer.append(Data(transportPacket.smb2Message))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 |
147 |       self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
148 |         switch result {
149 |         case .success:
150 |           let data = Data(self.buffer.prefix(length))
    |                           `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 |           self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 |                 if self.buffer.count < length {
174 |                   self.receive(completion: completion)
    |                                            |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
    |                                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 |                   return
176 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 |       self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 |         if let error = error {
224 |           completion(.failure(error))
    |           |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |           return
226 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
235 |         }
236 |
237 |         self.buffer.append(data)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |         self.receive(upTo: byteCount, completion: completion)
239 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 80 |   public func send(_ data: Data) async throws -> Data {
 81 |     await semaphore.wait()
 82 |     defer { Task { await semaphore.signal() } }
    |                  |       `- note: closure captures 'self' which is accessible to code in the current task
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 83 |
 84 |     switch connection.state {
[80/83] Compiling SMBClient DCERPC.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 43 |         case .waiting(let error):
 44 |           continuation.resume(throwing: error)
 45 |           self.connection.stateUpdateHandler = nil
    |           `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |         case .ready:
 47 |           continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 65 |       switch state {
 66 |       case .waiting(let error), .failed(let error):
 67 |         onDisconnected(error)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
 68 |       case .setup, .preparing, .ready, .cancelled:
 69 |         break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
106 |         }
107 |
108 |         self.receive() { (result) in
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 |           switch result {
110 |           case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |     { (content, contentContext, isComplete, error) in
128 |       if let error = error {
129 |         completion(.failure(error))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 |         return
131 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
143 |       let length = Int(transportPacket.protocolLength)
144 |
145 |       self.buffer.append(Data(transportPacket.smb2Message))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 |
147 |       self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
148 |         switch result {
149 |         case .success:
150 |           let data = Data(self.buffer.prefix(length))
    |                           `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 |           self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 |                 if self.buffer.count < length {
174 |                   self.receive(completion: completion)
    |                                            |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
    |                                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 |                   return
176 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 |       self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 |         if let error = error {
224 |           completion(.failure(error))
    |           |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |           return
226 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
235 |         }
236 |
237 |         self.buffer.append(data)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |         self.receive(upTo: byteCount, completion: completion)
239 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 80 |   public func send(_ data: Data) async throws -> Data {
 81 |     await semaphore.wait()
 82 |     defer { Task { await semaphore.signal() } }
    |                  |       `- note: closure captures 'self' which is accessible to code in the current task
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 83 |
 84 |     switch connection.state {
[81/83] Compiling SMBClient NetShareEnum.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 43 |         case .waiting(let error):
 44 |           continuation.resume(throwing: error)
 45 |           self.connection.stateUpdateHandler = nil
    |           `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |         case .ready:
 47 |           continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 65 |       switch state {
 66 |       case .waiting(let error), .failed(let error):
 67 |         onDisconnected(error)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
 68 |       case .setup, .preparing, .ready, .cancelled:
 69 |         break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
106 |         }
107 |
108 |         self.receive() { (result) in
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 |           switch result {
110 |           case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |     { (content, contentContext, isComplete, error) in
128 |       if let error = error {
129 |         completion(.failure(error))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 |         return
131 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
143 |       let length = Int(transportPacket.protocolLength)
144 |
145 |       self.buffer.append(Data(transportPacket.smb2Message))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 |
147 |       self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
148 |         switch result {
149 |         case .success:
150 |           let data = Data(self.buffer.prefix(length))
    |                           `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 |           self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 |                 if self.buffer.count < length {
174 |                   self.receive(completion: completion)
    |                                            |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
    |                                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 |                   return
176 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 |       self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 |         if let error = error {
224 |           completion(.failure(error))
    |           |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |           return
226 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
235 |         }
236 |
237 |         self.buffer.append(data)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |         self.receive(upTo: byteCount, completion: completion)
239 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 80 |   public func send(_ data: Data) async throws -> Data {
 81 |     await semaphore.wait()
 82 |     defer { Task { await semaphore.signal() } }
    |                  |       `- note: closure captures 'self' which is accessible to code in the current task
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 83 |
 84 |     switch connection.state {
[82/83] Compiling SMBClient FileProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 43 |         case .waiting(let error):
 44 |           continuation.resume(throwing: error)
 45 |           self.connection.stateUpdateHandler = nil
    |           `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |         case .ready:
 47 |           continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 65 |       switch state {
 66 |       case .waiting(let error), .failed(let error):
 67 |         onDisconnected(error)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
 68 |       case .setup, .preparing, .ready, .cancelled:
 69 |         break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
106 |         }
107 |
108 |         self.receive() { (result) in
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 |           switch result {
110 |           case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |     { (content, contentContext, isComplete, error) in
128 |       if let error = error {
129 |         completion(.failure(error))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 |         return
131 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
143 |       let length = Int(transportPacket.protocolLength)
144 |
145 |       self.buffer.append(Data(transportPacket.smb2Message))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 |
147 |       self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
148 |         switch result {
149 |         case .success:
150 |           let data = Data(self.buffer.prefix(length))
    |                           `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 |           self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 |                 if self.buffer.count < length {
174 |                   self.receive(completion: completion)
    |                                            |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
    |                                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 |                   return
176 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 |       self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 |         if let error = error {
224 |           completion(.failure(error))
    |           |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |           return
226 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
235 |         }
236 |
237 |         self.buffer.append(data)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |         self.receive(upTo: byteCount, completion: completion)
239 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 80 |   public func send(_ data: Data) async throws -> Data {
 81 |     await semaphore.wait()
 82 |     defer { Task { await semaphore.signal() } }
    |                  |       `- note: closure captures 'self' which is accessible to code in the current task
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 83 |
 84 |     switch connection.state {
[83/83] Compiling SMBClient FileReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 43 |         case .waiting(let error):
 44 |           continuation.resume(throwing: error)
 45 |           self.connection.stateUpdateHandler = nil
    |           `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |         case .ready:
 47 |           continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
 65 |       switch state {
 66 |       case .waiting(let error), .failed(let error):
 67 |         onDisconnected(error)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` local function; this is an error in the Swift 6 language mode
 68 |       case .setup, .preparing, .ready, .cancelled:
 69 |         break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
106 |         }
107 |
108 |         self.receive() { (result) in
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 |           switch result {
110 |           case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 |     { (content, contentContext, isComplete, error) in
128 |       if let error = error {
129 |         completion(.failure(error))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 |         return
131 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
143 |       let length = Int(transportPacket.protocolLength)
144 |
145 |       self.buffer.append(Data(transportPacket.smb2Message))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 |
147 |       self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
148 |         switch result {
149 |         case .success:
150 |           let data = Data(self.buffer.prefix(length))
    |                           `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 |           self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 |                 if self.buffer.count < length {
174 |                   self.receive(completion: completion)
    |                                            |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
    |                                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 |                   return
176 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 |       self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 |         if let error = error {
224 |           completion(.failure(error))
    |           |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |           return
226 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 | import Network
  3 |
  4 | public class Connection {
    |              `- note: class 'Connection' does not conform to the 'Sendable' protocol
  5 |   let host: String
  6 |   var onDisconnected: (Error) -> Void
    :
235 |         }
236 |
237 |         self.buffer.append(data)
    |         `- warning: capture of 'self' with non-sendable type 'Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
238 |         self.receive(upTo: byteCount, completion: completion)
239 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 80 |   public func send(_ data: Data) async throws -> Data {
 81 |     await semaphore.wait()
 82 |     defer { Task { await semaphore.signal() } }
    |                  |       `- note: closure captures 'self' which is accessible to code in the current task
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 83 |
 84 |     switch connection.state {
Build complete! (17.11s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SMBClient",
  "name" : "SMBClient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SMBClient",
      "targets" : [
        "SMBClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SMBClientTests",
      "module_type" : "SwiftTarget",
      "name" : "SMBClientTests",
      "path" : "Tests/SMBClientTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SMBClientTests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CryptoTests.swift",
        "SMBClientTests.swift",
        "SessionTests.swift"
      ],
      "target_dependencies" : [
        "SMBClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SMBClient",
      "module_type" : "SwiftTarget",
      "name" : "SMBClient",
      "path" : "Sources/SMBClient",
      "product_memberships" : [
        "SMBClient"
      ],
      "sources" : [
        "Auth/Crypto.swift",
        "Auth/NTLM.swift",
        "ByteReader.swift",
        "Connection.swift",
        "DCERPC/DCERPC.swift",
        "DCERPC/NetShareEnum.swift",
        "FileProxy.swift",
        "FileReader.swift",
        "FileTime.swift",
        "FileWriter.swift",
        "Messages/AccessMask/AccessMask.swift",
        "Messages/AccessMask/DirectoryAccessMask.swift",
        "Messages/AccessMask/FilePipePrinterAccessMask.swift",
        "Messages/Close+CustomDebugStringConvertible.swift",
        "Messages/Close.swift",
        "Messages/Create+CustomDebugStringConvertible.swift",
        "Messages/Create.swift",
        "Messages/Echo+CustomDebugStringConvertible.swift",
        "Messages/Echo.swift",
        "Messages/Errors/ErrorResponse.swift",
        "Messages/Errors/NTStatus.swift",
        "Messages/FileAttributes.swift",
        "Messages/FileInformationClasses/FileAccessInformation.swift",
        "Messages/FileInformationClasses/FileAlignmentInformation.swift",
        "Messages/FileInformationClasses/FileAllInformation.swift",
        "Messages/FileInformationClasses/FileBasicInformation.swift",
        "Messages/FileInformationClasses/FileDirectoryInformation.swift",
        "Messages/FileInformationClasses/FileDispositionInformation.swift",
        "Messages/FileInformationClasses/FileEaInformation.swift",
        "Messages/FileInformationClasses/FileIdBothDirectoryInformation.swift",
        "Messages/FileInformationClasses/FileInfoClass.swift",
        "Messages/FileInformationClasses/FileInformationClass.swift",
        "Messages/FileInformationClasses/FileInternalInformation.swift",
        "Messages/FileInformationClasses/FileModeInformation.swift",
        "Messages/FileInformationClasses/FileNameInformation.swift",
        "Messages/FileInformationClasses/FilePositionInformation.swift",
        "Messages/FileInformationClasses/FileRenameInformation.swift",
        "Messages/FileInformationClasses/FileStandardInformation.swift",
        "Messages/FileInformationClasses/InfoType.swift",
        "Messages/FileInformationClasses/SecurityDescriptor.swift",
        "Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift",
        "Messages/FileSystemInformationClasses/FileFsLabelInformation.swift",
        "Messages/FileSystemInformationClasses/FileFsSizeInformation.swift",
        "Messages/FileSystemInformationClasses/FileFsVolumeInformation.swift",
        "Messages/FileSystemInformationClasses/FileSystemInfoClass.swift",
        "Messages/Header+CustomDebugStringConvertible.swift",
        "Messages/Header.swift",
        "Messages/IOCtl+CustomDebugStringConvertible.swift",
        "Messages/IOCtl.swift",
        "Messages/Logoff+CustomDebugStringConvertible.swift",
        "Messages/Logoff.swift",
        "Messages/Message.swift",
        "Messages/Negotiate+CustomDebugStringConvertible.swift",
        "Messages/Negotiate.swift",
        "Messages/QueryDirectory+CustomDebugStringConvertible.swift",
        "Messages/QueryDirectory.swift",
        "Messages/QueryInfo+CustomDebugStringConvertible.swift",
        "Messages/QueryInfo.swift",
        "Messages/Read+CustomDebugStringConvertible.swift",
        "Messages/Read.swift",
        "Messages/SessionSetup+CustomDebugStringConvertible.swift",
        "Messages/SessionSetup.swift",
        "Messages/SetInfo+CustomDebugStringConvertible.swift",
        "Messages/SetInfo.swift",
        "Messages/TreeConnect+CustomDebugStringConvertible.swift",
        "Messages/TreeConnect.swift",
        "Messages/TreeDisconnect+CustomDebugStringConvertible.swift",
        "Messages/TreeDisconnect.swift",
        "Messages/Write+CustomDebugStringConvertible.swift",
        "Messages/Write.swift",
        "Misc/BinaryConvertible.swift",
        "Misc/Data.swift",
        "Misc/Pathname.swift",
        "Misc/Semaphore.swift",
        "Misc/String.swift",
        "Misc/UUID.swift",
        "SMBClient.swift",
        "Session.swift",
        "Transport.swift",
        "TreeAccessor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.