Build Information
Successful build of SMBClient, reference main (66eafa), with Swift 6.1 for macOS (SPM) on 27 Apr 2026 21:23:36 UTC.
Swift 6 data race errors: 35
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
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: add '@MainActor' to make static property 'writeOnceMedia' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'remoteDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceIsMounted' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'virtualVolume' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceSecureOpen' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'characteristicTsDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'characteristicWebDavDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceAllowAppContainerTraversal' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'portableDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[24/84] Compiling SMBClient FileStandardInformation.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: add '@MainActor' to make static property 'removableMedia' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'readOnlyDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'floppyDiskette' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'writeOnceMedia' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'remoteDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceIsMounted' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'virtualVolume' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceSecureOpen' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'characteristicTsDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'characteristicWebDavDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceAllowAppContainerTraversal' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'portableDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[25/84] Compiling SMBClient InfoType.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: add '@MainActor' to make static property 'removableMedia' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'readOnlyDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'floppyDiskette' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'writeOnceMedia' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'remoteDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceIsMounted' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'virtualVolume' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceSecureOpen' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'characteristicTsDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'characteristicWebDavDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceAllowAppContainerTraversal' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'portableDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[26/84] Compiling SMBClient SecurityDescriptor.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: add '@MainActor' to make static property 'removableMedia' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'readOnlyDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'floppyDiskette' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'writeOnceMedia' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'remoteDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceIsMounted' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'virtualVolume' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceSecureOpen' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'characteristicTsDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'characteristicWebDavDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceAllowAppContainerTraversal' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'portableDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[27/84] Compiling SMBClient FileFsDeviceInformation.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: add '@MainActor' to make static property 'removableMedia' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'readOnlyDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'floppyDiskette' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'writeOnceMedia' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'remoteDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceIsMounted' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'virtualVolume' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceSecureOpen' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'characteristicTsDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'characteristicWebDavDevice' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'deviceAllowAppContainerTraversal' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'portableDevice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[28/84] Compiling SMBClient Echo+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[29/84] Compiling SMBClient Echo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[30/84] Compiling SMBClient ErrorResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[31/84] Compiling SMBClient NTStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[32/84] Compiling SMBClient FileAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[33/84] Compiling SMBClient FileAccessInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[34/84] Compiling SMBClient FileAlignmentInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[35/84] Compiling SMBClient FileAllInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[36/84] Compiling SMBClient IOCtl.swift
[37/84] Compiling SMBClient Logoff+CustomDebugStringConvertible.swift
[38/84] Compiling SMBClient Logoff.swift
[39/84] Compiling SMBClient Message.swift
[40/84] Compiling SMBClient Negotiate+CustomDebugStringConvertible.swift
[41/84] Compiling SMBClient Negotiate.swift
[42/84] Compiling SMBClient QueryDirectory+CustomDebugStringConvertible.swift
[43/84] Compiling SMBClient QueryDirectory.swift
[44/84] Compiling SMBClient TreeConnect+CustomDebugStringConvertible.swift
[45/84] Compiling SMBClient TreeConnect.swift
[46/84] Compiling SMBClient TreeDisconnect+CustomDebugStringConvertible.swift
[47/84] Compiling SMBClient TreeDisconnect.swift
[48/84] Compiling SMBClient Write+CustomDebugStringConvertible.swift
[49/84] Compiling SMBClient Write.swift
[50/84] Compiling SMBClient BinaryConvertible.swift
[51/84] Compiling SMBClient Data.swift
[52/84] Compiling SMBClient FileWriter.swift
[53/84] Compiling SMBClient AccessMask.swift
[54/84] Compiling SMBClient DirectoryAccessMask.swift
[55/84] Compiling SMBClient FilePipePrinterAccessMask.swift
[56/84] Compiling SMBClient Close+CustomDebugStringConvertible.swift
[57/84] Compiling SMBClient Close.swift
[58/84] Compiling SMBClient Create+CustomDebugStringConvertible.swift
[59/84] Compiling SMBClient Create.swift
[60/84] Compiling SMBClient FileFsLabelInformation.swift
[61/84] Compiling SMBClient FileFsSizeInformation.swift
[62/84] Compiling SMBClient FileFsVolumeInformation.swift
[63/84] Compiling SMBClient FileSystemInfoClass.swift
[64/84] Compiling SMBClient Flush.swift
[65/84] Compiling SMBClient Header+CustomDebugStringConvertible.swift
[66/84] Compiling SMBClient Header.swift
[67/84] Compiling SMBClient IOCtl+CustomDebugStringConvertible.swift
[68/84] Compiling SMBClient QueryInfo+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[69/84] Compiling SMBClient QueryInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[70/84] Compiling SMBClient Read+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[71/84] Compiling SMBClient Read.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[72/84] Compiling SMBClient SessionSetup+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[73/84] Compiling SMBClient SessionSetup.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[74/84] Compiling SMBClient SetInfo+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[75/84] Compiling SMBClient SetInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[76/84] Compiling SMBClient Crypto.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:49: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
:
47 | case .waiting(let error):
48 | continuation.resume(throwing: error)
49 | 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
50 | case .ready:
51 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:58:15: 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
:
56 | switch state {
57 | case .waiting(let error), .failed(let error):
58 | self?.onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
59 | case .setup, .preparing, .ready, .cancelled:
60 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:117:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
115 | }
116 |
117 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
118 | switch result {
119 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:138:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
136 | { (content, contentContext, isComplete, error) in
137 | if let error = error {
138 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
139 | return
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:146:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
144 | completion(.failure(ConnectionError.disconnected))
145 | } else {
146 | self.receive(completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
147 | }
148 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:156:11: 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
154 | switch headerResult {
155 | case .failure(let error):
156 | completion(.failure(error))
| |- 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'
157 | return
158 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:162:57: 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
:
160 | }
161 |
162 | let transportPacket = DirectTCPPacket(response: self.buffer)
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
163 | let length = Int(transportPacket.protocolLength)
164 | self.buffer = Data(transportPacket.smb2Message)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:169:29: 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
:
167 | switch result {
168 | case .success:
169 | 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
170 | self.buffer = Data(self.buffer.suffix(from: length))
171 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:193:46: 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
191 |
192 | if self.buffer.count < 4 + length {
193 | 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'
194 | return
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:244:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
242 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
243 | if let error = error {
244 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 | return
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:252:13: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
250 | completion(.failure(ConnectionError.disconnected))
251 | } else {
252 | self.receive(upTo: byteCount, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
253 | }
254 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:91: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
89 | public func send(_ data: Data) async throws -> Data {
90 | await semaphore.wait()
91 | 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
92 |
93 | switch connection.state {
[77/84] Compiling SMBClient NTLM.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:49: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
:
47 | case .waiting(let error):
48 | continuation.resume(throwing: error)
49 | 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
50 | case .ready:
51 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:58:15: 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
:
56 | switch state {
57 | case .waiting(let error), .failed(let error):
58 | self?.onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
59 | case .setup, .preparing, .ready, .cancelled:
60 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:117:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
115 | }
116 |
117 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
118 | switch result {
119 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:138:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
136 | { (content, contentContext, isComplete, error) in
137 | if let error = error {
138 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
139 | return
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:146:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
144 | completion(.failure(ConnectionError.disconnected))
145 | } else {
146 | self.receive(completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
147 | }
148 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:156:11: 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
154 | switch headerResult {
155 | case .failure(let error):
156 | completion(.failure(error))
| |- 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'
157 | return
158 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:162:57: 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
:
160 | }
161 |
162 | let transportPacket = DirectTCPPacket(response: self.buffer)
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
163 | let length = Int(transportPacket.protocolLength)
164 | self.buffer = Data(transportPacket.smb2Message)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:169:29: 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
:
167 | switch result {
168 | case .success:
169 | 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
170 | self.buffer = Data(self.buffer.suffix(from: length))
171 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:193:46: 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
191 |
192 | if self.buffer.count < 4 + length {
193 | 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'
194 | return
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:244:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
242 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
243 | if let error = error {
244 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 | return
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:252:13: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
250 | completion(.failure(ConnectionError.disconnected))
251 | } else {
252 | self.receive(upTo: byteCount, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
253 | }
254 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:91: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
89 | public func send(_ data: Data) async throws -> Data {
90 | await semaphore.wait()
91 | 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
92 |
93 | switch connection.state {
[78/84] Compiling SMBClient ByteReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:49: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
:
47 | case .waiting(let error):
48 | continuation.resume(throwing: error)
49 | 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
50 | case .ready:
51 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:58:15: 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
:
56 | switch state {
57 | case .waiting(let error), .failed(let error):
58 | self?.onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
59 | case .setup, .preparing, .ready, .cancelled:
60 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:117:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
115 | }
116 |
117 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
118 | switch result {
119 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:138:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
136 | { (content, contentContext, isComplete, error) in
137 | if let error = error {
138 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
139 | return
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:146:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
144 | completion(.failure(ConnectionError.disconnected))
145 | } else {
146 | self.receive(completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
147 | }
148 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:156:11: 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
154 | switch headerResult {
155 | case .failure(let error):
156 | completion(.failure(error))
| |- 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'
157 | return
158 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:162:57: 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
:
160 | }
161 |
162 | let transportPacket = DirectTCPPacket(response: self.buffer)
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
163 | let length = Int(transportPacket.protocolLength)
164 | self.buffer = Data(transportPacket.smb2Message)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:169:29: 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
:
167 | switch result {
168 | case .success:
169 | 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
170 | self.buffer = Data(self.buffer.suffix(from: length))
171 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:193:46: 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
191 |
192 | if self.buffer.count < 4 + length {
193 | 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'
194 | return
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:244:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
242 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
243 | if let error = error {
244 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 | return
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:252:13: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
250 | completion(.failure(ConnectionError.disconnected))
251 | } else {
252 | self.receive(upTo: byteCount, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
253 | }
254 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:91: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
89 | public func send(_ data: Data) async throws -> Data {
90 | await semaphore.wait()
91 | 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
92 |
93 | switch connection.state {
[79/84] Compiling SMBClient Connection.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:49: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
:
47 | case .waiting(let error):
48 | continuation.resume(throwing: error)
49 | 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
50 | case .ready:
51 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:58:15: 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
:
56 | switch state {
57 | case .waiting(let error), .failed(let error):
58 | self?.onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
59 | case .setup, .preparing, .ready, .cancelled:
60 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:117:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
115 | }
116 |
117 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
118 | switch result {
119 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:138:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
136 | { (content, contentContext, isComplete, error) in
137 | if let error = error {
138 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
139 | return
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:146:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
144 | completion(.failure(ConnectionError.disconnected))
145 | } else {
146 | self.receive(completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
147 | }
148 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:156:11: 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
154 | switch headerResult {
155 | case .failure(let error):
156 | completion(.failure(error))
| |- 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'
157 | return
158 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:162:57: 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
:
160 | }
161 |
162 | let transportPacket = DirectTCPPacket(response: self.buffer)
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
163 | let length = Int(transportPacket.protocolLength)
164 | self.buffer = Data(transportPacket.smb2Message)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:169:29: 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
:
167 | switch result {
168 | case .success:
169 | 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
170 | self.buffer = Data(self.buffer.suffix(from: length))
171 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:193:46: 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
191 |
192 | if self.buffer.count < 4 + length {
193 | 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'
194 | return
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:244:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
242 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
243 | if let error = error {
244 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 | return
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:252:13: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
250 | completion(.failure(ConnectionError.disconnected))
251 | } else {
252 | self.receive(upTo: byteCount, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
253 | }
254 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:91: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
89 | public func send(_ data: Data) async throws -> Data {
90 | await semaphore.wait()
91 | 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
92 |
93 | switch connection.state {
[80/84] Compiling SMBClient DCERPC.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:49: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
:
47 | case .waiting(let error):
48 | continuation.resume(throwing: error)
49 | 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
50 | case .ready:
51 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:58:15: 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
:
56 | switch state {
57 | case .waiting(let error), .failed(let error):
58 | self?.onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
59 | case .setup, .preparing, .ready, .cancelled:
60 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:117:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
115 | }
116 |
117 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
118 | switch result {
119 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:138:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
136 | { (content, contentContext, isComplete, error) in
137 | if let error = error {
138 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
139 | return
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:146:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
144 | completion(.failure(ConnectionError.disconnected))
145 | } else {
146 | self.receive(completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
147 | }
148 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:156:11: 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
154 | switch headerResult {
155 | case .failure(let error):
156 | completion(.failure(error))
| |- 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'
157 | return
158 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:162:57: 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
:
160 | }
161 |
162 | let transportPacket = DirectTCPPacket(response: self.buffer)
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
163 | let length = Int(transportPacket.protocolLength)
164 | self.buffer = Data(transportPacket.smb2Message)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:169:29: 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
:
167 | switch result {
168 | case .success:
169 | 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
170 | self.buffer = Data(self.buffer.suffix(from: length))
171 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:193:46: 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
191 |
192 | if self.buffer.count < 4 + length {
193 | 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'
194 | return
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:244:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
242 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
243 | if let error = error {
244 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 | return
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:252:13: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
250 | completion(.failure(ConnectionError.disconnected))
251 | } else {
252 | self.receive(upTo: byteCount, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
253 | }
254 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:91: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
89 | public func send(_ data: Data) async throws -> Data {
90 | await semaphore.wait()
91 | 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
92 |
93 | switch connection.state {
[81/84] Compiling SMBClient NetShareEnum.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:49: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
:
47 | case .waiting(let error):
48 | continuation.resume(throwing: error)
49 | 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
50 | case .ready:
51 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:58:15: 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
:
56 | switch state {
57 | case .waiting(let error), .failed(let error):
58 | self?.onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
59 | case .setup, .preparing, .ready, .cancelled:
60 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:117:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
115 | }
116 |
117 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
118 | switch result {
119 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:138:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
136 | { (content, contentContext, isComplete, error) in
137 | if let error = error {
138 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
139 | return
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:146:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
144 | completion(.failure(ConnectionError.disconnected))
145 | } else {
146 | self.receive(completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
147 | }
148 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:156:11: 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
154 | switch headerResult {
155 | case .failure(let error):
156 | completion(.failure(error))
| |- 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'
157 | return
158 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:162:57: 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
:
160 | }
161 |
162 | let transportPacket = DirectTCPPacket(response: self.buffer)
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
163 | let length = Int(transportPacket.protocolLength)
164 | self.buffer = Data(transportPacket.smb2Message)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:169:29: 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
:
167 | switch result {
168 | case .success:
169 | 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
170 | self.buffer = Data(self.buffer.suffix(from: length))
171 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:193:46: 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
191 |
192 | if self.buffer.count < 4 + length {
193 | 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'
194 | return
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:244:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
242 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
243 | if let error = error {
244 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 | return
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:252:13: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
250 | completion(.failure(ConnectionError.disconnected))
251 | } else {
252 | self.receive(upTo: byteCount, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
253 | }
254 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:91: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
89 | public func send(_ data: Data) async throws -> Data {
90 | await semaphore.wait()
91 | 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
92 |
93 | switch connection.state {
[82/84] Compiling SMBClient FileProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:49: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
:
47 | case .waiting(let error):
48 | continuation.resume(throwing: error)
49 | 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
50 | case .ready:
51 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:58:15: 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
:
56 | switch state {
57 | case .waiting(let error), .failed(let error):
58 | self?.onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
59 | case .setup, .preparing, .ready, .cancelled:
60 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:117:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
115 | }
116 |
117 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
118 | switch result {
119 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:138:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
136 | { (content, contentContext, isComplete, error) in
137 | if let error = error {
138 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
139 | return
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:146:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
144 | completion(.failure(ConnectionError.disconnected))
145 | } else {
146 | self.receive(completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
147 | }
148 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:156:11: 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
154 | switch headerResult {
155 | case .failure(let error):
156 | completion(.failure(error))
| |- 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'
157 | return
158 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:162:57: 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
:
160 | }
161 |
162 | let transportPacket = DirectTCPPacket(response: self.buffer)
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
163 | let length = Int(transportPacket.protocolLength)
164 | self.buffer = Data(transportPacket.smb2Message)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:169:29: 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
:
167 | switch result {
168 | case .success:
169 | 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
170 | self.buffer = Data(self.buffer.suffix(from: length))
171 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:193:46: 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
191 |
192 | if self.buffer.count < 4 + length {
193 | 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'
194 | return
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:244:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
242 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
243 | if let error = error {
244 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 | return
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:252:13: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
250 | completion(.failure(ConnectionError.disconnected))
251 | } else {
252 | self.receive(upTo: byteCount, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
253 | }
254 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:91: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
89 | public func send(_ data: Data) async throws -> Data {
90 | await semaphore.wait()
91 | 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
92 |
93 | switch connection.state {
[83/84] Compiling SMBClient FileReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:49: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
:
47 | case .waiting(let error):
48 | continuation.resume(throwing: error)
49 | 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
50 | case .ready:
51 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:58:15: 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
:
56 | switch state {
57 | case .waiting(let error), .failed(let error):
58 | self?.onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
59 | case .setup, .preparing, .ready, .cancelled:
60 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:117:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
115 | }
116 |
117 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
118 | switch result {
119 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:138:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
136 | { (content, contentContext, isComplete, error) in
137 | if let error = error {
138 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
139 | return
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:146:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
144 | completion(.failure(ConnectionError.disconnected))
145 | } else {
146 | self.receive(completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
147 | }
148 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:156:11: 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
154 | switch headerResult {
155 | case .failure(let error):
156 | completion(.failure(error))
| |- 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'
157 | return
158 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:162:57: 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
:
160 | }
161 |
162 | let transportPacket = DirectTCPPacket(response: self.buffer)
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
163 | let length = Int(transportPacket.protocolLength)
164 | self.buffer = Data(transportPacket.smb2Message)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:169:29: 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
:
167 | switch result {
168 | case .success:
169 | 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
170 | self.buffer = Data(self.buffer.suffix(from: length))
171 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:193:46: 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
191 |
192 | if self.buffer.count < 4 + length {
193 | 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'
194 | return
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:244:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
242 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
243 | if let error = error {
244 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 | return
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:252:13: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
250 | completion(.failure(ConnectionError.disconnected))
251 | } else {
252 | self.receive(upTo: byteCount, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
253 | }
254 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:91: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
89 | public func send(_ data: Data) async throws -> Data {
90 | await semaphore.wait()
91 | 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
92 |
93 | switch connection.state {
[84/84] Compiling SMBClient FileTime.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:49: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
:
47 | case .waiting(let error):
48 | continuation.resume(throwing: error)
49 | 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
50 | case .ready:
51 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:58:15: 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
:
56 | switch state {
57 | case .waiting(let error), .failed(let error):
58 | self?.onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
59 | case .setup, .preparing, .ready, .cancelled:
60 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:117:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
115 | }
116 |
117 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
118 | switch result {
119 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:138:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
136 | { (content, contentContext, isComplete, error) in
137 | if let error = error {
138 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
139 | return
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:146:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
144 | completion(.failure(ConnectionError.disconnected))
145 | } else {
146 | self.receive(completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
147 | }
148 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:156:11: 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
154 | switch headerResult {
155 | case .failure(let error):
156 | completion(.failure(error))
| |- 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'
157 | return
158 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:162:57: 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
:
160 | }
161 |
162 | let transportPacket = DirectTCPPacket(response: self.buffer)
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
163 | let length = Int(transportPacket.protocolLength)
164 | self.buffer = Data(transportPacket.smb2Message)
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:169:29: 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
:
167 | switch result {
168 | case .success:
169 | 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
170 | self.buffer = Data(self.buffer.suffix(from: length))
171 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:193:46: 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
191 |
192 | if self.buffer.count < 4 + length {
193 | 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'
194 | return
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:244:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
242 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
243 | if let error = error {
244 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 | return
246 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:252:13: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
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
:
250 | completion(.failure(ConnectionError.disconnected))
251 | } else {
252 | self.receive(upTo: byteCount, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
253 | }
254 | return
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:91: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
89 | public func send(_ data: Data) async throws -> Data {
90 | await semaphore.wait()
91 | 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
92 |
93 | switch connection.state {
Build complete! (6.01s)
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" : [
"ConnectionTests.swift",
"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/Flush.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.