Build Information
Successful build of SMBClient, reference 0.3.1 (e636c2
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 02:28:10 UTC.
Swift 6 data race errors: 33
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 InferSendableFromCaptures
Build Log
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 |
[44/83] Compiling SMBClient Create.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
[45/83] 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
[46/83] 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
[47/83] 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
[48/83] 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
[49/83] 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
[50/83] 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
[51/83] 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
[52/83] Compiling SMBClient FileAllInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:52:14: warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
50 | case fileValidDataLengthInformation = 0x27
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
| |- warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:53:14: warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
| |- warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsLabelInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:54:14: warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
| |- warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:55:14: warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
| |- warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDeviceInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:56:14: warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
| |- warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsAttributeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:57:14: warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
| |- warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsControlInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:58:14: warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
| |- warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsFullSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:59:14: warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
| |- warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsObjectIdInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:60:14: warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
| |- warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDriverPathInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:61:14: warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
| |- warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeFlagsInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:62:14: warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
| |- warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSectorSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[53/83] Compiling SMBClient FileBasicInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:52:14: warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
50 | case fileValidDataLengthInformation = 0x27
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
| |- warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:53:14: warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
| |- warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsLabelInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:54:14: warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
| |- warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:55:14: warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
| |- warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDeviceInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:56:14: warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
| |- warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsAttributeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:57:14: warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
| |- warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsControlInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:58:14: warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
| |- warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsFullSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:59:14: warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
| |- warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsObjectIdInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:60:14: warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
| |- warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDriverPathInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:61:14: warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
| |- warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeFlagsInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:62:14: warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
| |- warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSectorSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[54/83] Compiling SMBClient FileDirectoryInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:52:14: warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
50 | case fileValidDataLengthInformation = 0x27
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
| |- warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:53:14: warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
| |- warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsLabelInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:54:14: warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
| |- warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:55:14: warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
| |- warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDeviceInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:56:14: warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
| |- warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsAttributeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:57:14: warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
| |- warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsControlInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:58:14: warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
| |- warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsFullSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:59:14: warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
| |- warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsObjectIdInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:60:14: warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
| |- warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDriverPathInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:61:14: warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
| |- warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeFlagsInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:62:14: warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
| |- warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSectorSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[55/83] Compiling SMBClient FileDispositionInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:52:14: warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
50 | case fileValidDataLengthInformation = 0x27
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
| |- warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:53:14: warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
| |- warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsLabelInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:54:14: warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
| |- warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:55:14: warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
| |- warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDeviceInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:56:14: warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
| |- warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsAttributeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:57:14: warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
| |- warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsControlInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:58:14: warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
| |- warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsFullSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:59:14: warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
| |- warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsObjectIdInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:60:14: warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
| |- warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDriverPathInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:61:14: warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
| |- warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeFlagsInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:62:14: warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
| |- warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSectorSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[56/83] Compiling SMBClient FileEaInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:52:14: warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
50 | case fileValidDataLengthInformation = 0x27
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
| |- warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:53:14: warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
| |- warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsLabelInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:54:14: warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
| |- warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:55:14: warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
| |- warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDeviceInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:56:14: warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
| |- warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsAttributeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:57:14: warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
| |- warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsControlInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:58:14: warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
| |- warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsFullSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:59:14: warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
| |- warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsObjectIdInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:60:14: warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
| |- warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDriverPathInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:61:14: warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
| |- warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeFlagsInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:62:14: warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
| |- warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSectorSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[57/83] Compiling SMBClient FileIdBothDirectoryInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:52:14: warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
50 | case fileValidDataLengthInformation = 0x27
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
| |- warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:53:14: warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
| |- warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsLabelInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:54:14: warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
| |- warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:55:14: warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
| |- warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDeviceInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:56:14: warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
| |- warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsAttributeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:57:14: warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
| |- warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsControlInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:58:14: warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
| |- warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsFullSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:59:14: warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
| |- warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsObjectIdInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:60:14: warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
| |- warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDriverPathInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:61:14: warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
| |- warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeFlagsInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:62:14: warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
| |- warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSectorSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[58/83] Compiling SMBClient FileInfoClass.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:52:14: warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
50 | case fileValidDataLengthInformation = 0x27
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
| |- warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:53:14: warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
| |- warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsLabelInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:54:14: warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
| |- warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:55:14: warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
| |- warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDeviceInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:56:14: warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
| |- warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsAttributeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:57:14: warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
| |- warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsControlInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:58:14: warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
| |- warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsFullSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:59:14: warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
| |- warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsObjectIdInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:60:14: warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
| |- warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDriverPathInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:61:14: warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
| |- warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeFlagsInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:62:14: warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
| |- warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSectorSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[59/83] Compiling SMBClient FileInformationClass.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:52:14: warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
50 | case fileValidDataLengthInformation = 0x27
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
| |- warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:53:14: warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
51 |
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
| |- warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsLabelInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:54:14: warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
52 | static let fileFsVolumeInformation = fileDirectoryInformation
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
| |- warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:55:14: warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
53 | static let fileFsLabelInformation = fileFullDirectoryInformation
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
| |- warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDeviceInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:56:14: warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
54 | static let fileFsSizeInformation = fileBothDirectoryInformation
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
| |- warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsAttributeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:57:14: warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
55 | static let fileFsDeviceInformation = fileBasicInformation
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
| |- warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsControlInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:58:14: warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
56 | static let fileFsAttributeInformation = fileStandardInformation
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
| |- warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsFullSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:59:14: warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
57 | static let fileFsControlInformation = fileInternalInformation
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
| |- warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsObjectIdInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:60:14: warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
58 | static let fileFsFullSizeInformation = fileEaInformation
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
| |- warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsDriverPathInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:61:14: warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
59 | static let fileFsObjectIdInformation = fileAccessInformation
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
| |- warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsVolumeFlagsInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:62:14: warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum FileInfoClass: UInt8 {
| `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
4 | case fileAccessInformation = 0x08
5 | case fileAlignmentInformation = 0x11
:
60 | static let fileFsDriverPathInformation = fileNameInformation
61 | static let fileFsVolumeFlagsInformation = fileModeInformation
62 | static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
| |- warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileFsSectorSizeInformation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[60/83] Compiling SMBClient IOCtl.swift
[61/83] Compiling SMBClient Logoff+CustomDebugStringConvertible.swift
[62/83] Compiling SMBClient Logoff.swift
[63/83] Compiling SMBClient Message.swift
[64/83] Compiling SMBClient Negotiate+CustomDebugStringConvertible.swift
[65/83] Compiling SMBClient Negotiate.swift
[66/83] Compiling SMBClient QueryDirectory+CustomDebugStringConvertible.swift
[67/83] Compiling SMBClient QueryDirectory.swift
[68/83] Compiling SMBClient Crypto.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
43 | case .waiting(let error):
44 | continuation.resume(throwing: error)
45 | self.connection.stateUpdateHandler = nil
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 | case .ready:
47 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
65 | switch state {
66 | case .waiting(let error), .failed(let error):
67 | onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
68 | case .setup, .preparing, .ready, .cancelled:
69 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
106 | }
107 |
108 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
109 | switch result {
110 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
127 | { (content, contentContext, isComplete, error) in
128 | if let error = error {
129 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | return
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
143 | let length = Int(transportPacket.protocolLength)
144 |
145 | self.buffer.append(Data(transportPacket.smb2Message))
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
146 |
147 | self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
148 | switch result {
149 | case .success:
150 | let data = Data(self.buffer.prefix(length))
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 | self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 | if self.buffer.count < length {
174 | self.receive(completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | return
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
222 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 | if let error = error {
224 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 | return
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
235 | }
236 |
237 | self.buffer.append(data)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
238 | self.receive(upTo: byteCount, completion: completion)
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | public func send(_ data: Data) async throws -> Data {
81 | await semaphore.wait()
82 | defer { Task { await semaphore.signal() } }
| | `- note: closure captures 'self' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 |
84 | switch connection.state {
[69/83] Compiling SMBClient NTLM.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
43 | case .waiting(let error):
44 | continuation.resume(throwing: error)
45 | self.connection.stateUpdateHandler = nil
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 | case .ready:
47 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
65 | switch state {
66 | case .waiting(let error), .failed(let error):
67 | onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
68 | case .setup, .preparing, .ready, .cancelled:
69 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
106 | }
107 |
108 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
109 | switch result {
110 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
127 | { (content, contentContext, isComplete, error) in
128 | if let error = error {
129 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | return
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
143 | let length = Int(transportPacket.protocolLength)
144 |
145 | self.buffer.append(Data(transportPacket.smb2Message))
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
146 |
147 | self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
148 | switch result {
149 | case .success:
150 | let data = Data(self.buffer.prefix(length))
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 | self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 | if self.buffer.count < length {
174 | self.receive(completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | return
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
222 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 | if let error = error {
224 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 | return
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
235 | }
236 |
237 | self.buffer.append(data)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
238 | self.receive(upTo: byteCount, completion: completion)
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | public func send(_ data: Data) async throws -> Data {
81 | await semaphore.wait()
82 | defer { Task { await semaphore.signal() } }
| | `- note: closure captures 'self' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 |
84 | switch connection.state {
[70/83] Compiling SMBClient ByteReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
43 | case .waiting(let error):
44 | continuation.resume(throwing: error)
45 | self.connection.stateUpdateHandler = nil
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 | case .ready:
47 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
65 | switch state {
66 | case .waiting(let error), .failed(let error):
67 | onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
68 | case .setup, .preparing, .ready, .cancelled:
69 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
106 | }
107 |
108 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
109 | switch result {
110 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
127 | { (content, contentContext, isComplete, error) in
128 | if let error = error {
129 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | return
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
143 | let length = Int(transportPacket.protocolLength)
144 |
145 | self.buffer.append(Data(transportPacket.smb2Message))
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
146 |
147 | self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
148 | switch result {
149 | case .success:
150 | let data = Data(self.buffer.prefix(length))
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 | self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 | if self.buffer.count < length {
174 | self.receive(completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | return
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
222 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 | if let error = error {
224 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 | return
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
235 | }
236 |
237 | self.buffer.append(data)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
238 | self.receive(upTo: byteCount, completion: completion)
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | public func send(_ data: Data) async throws -> Data {
81 | await semaphore.wait()
82 | defer { Task { await semaphore.signal() } }
| | `- note: closure captures 'self' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 |
84 | switch connection.state {
[71/83] Compiling SMBClient Connection.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
43 | case .waiting(let error):
44 | continuation.resume(throwing: error)
45 | self.connection.stateUpdateHandler = nil
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 | case .ready:
47 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
65 | switch state {
66 | case .waiting(let error), .failed(let error):
67 | onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
68 | case .setup, .preparing, .ready, .cancelled:
69 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
106 | }
107 |
108 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
109 | switch result {
110 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
127 | { (content, contentContext, isComplete, error) in
128 | if let error = error {
129 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | return
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
143 | let length = Int(transportPacket.protocolLength)
144 |
145 | self.buffer.append(Data(transportPacket.smb2Message))
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
146 |
147 | self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
148 | switch result {
149 | case .success:
150 | let data = Data(self.buffer.prefix(length))
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 | self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 | if self.buffer.count < length {
174 | self.receive(completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | return
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
222 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 | if let error = error {
224 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 | return
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
235 | }
236 |
237 | self.buffer.append(data)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
238 | self.receive(upTo: byteCount, completion: completion)
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | public func send(_ data: Data) async throws -> Data {
81 | await semaphore.wait()
82 | defer { Task { await semaphore.signal() } }
| | `- note: closure captures 'self' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 |
84 | switch connection.state {
[72/83] Compiling SMBClient DCERPC.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
43 | case .waiting(let error):
44 | continuation.resume(throwing: error)
45 | self.connection.stateUpdateHandler = nil
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 | case .ready:
47 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
65 | switch state {
66 | case .waiting(let error), .failed(let error):
67 | onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
68 | case .setup, .preparing, .ready, .cancelled:
69 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
106 | }
107 |
108 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
109 | switch result {
110 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
127 | { (content, contentContext, isComplete, error) in
128 | if let error = error {
129 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | return
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
143 | let length = Int(transportPacket.protocolLength)
144 |
145 | self.buffer.append(Data(transportPacket.smb2Message))
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
146 |
147 | self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
148 | switch result {
149 | case .success:
150 | let data = Data(self.buffer.prefix(length))
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 | self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 | if self.buffer.count < length {
174 | self.receive(completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | return
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
222 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 | if let error = error {
224 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 | return
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
235 | }
236 |
237 | self.buffer.append(data)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
238 | self.receive(upTo: byteCount, completion: completion)
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | public func send(_ data: Data) async throws -> Data {
81 | await semaphore.wait()
82 | defer { Task { await semaphore.signal() } }
| | `- note: closure captures 'self' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 |
84 | switch connection.state {
[73/83] Compiling SMBClient NetShareEnum.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
43 | case .waiting(let error):
44 | continuation.resume(throwing: error)
45 | self.connection.stateUpdateHandler = nil
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 | case .ready:
47 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
65 | switch state {
66 | case .waiting(let error), .failed(let error):
67 | onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
68 | case .setup, .preparing, .ready, .cancelled:
69 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
106 | }
107 |
108 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
109 | switch result {
110 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
127 | { (content, contentContext, isComplete, error) in
128 | if let error = error {
129 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | return
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
143 | let length = Int(transportPacket.protocolLength)
144 |
145 | self.buffer.append(Data(transportPacket.smb2Message))
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
146 |
147 | self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
148 | switch result {
149 | case .success:
150 | let data = Data(self.buffer.prefix(length))
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 | self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 | if self.buffer.count < length {
174 | self.receive(completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | return
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
222 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 | if let error = error {
224 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 | return
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
235 | }
236 |
237 | self.buffer.append(data)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
238 | self.receive(upTo: byteCount, completion: completion)
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | public func send(_ data: Data) async throws -> Data {
81 | await semaphore.wait()
82 | defer { Task { await semaphore.signal() } }
| | `- note: closure captures 'self' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 |
84 | switch connection.state {
[74/83] Compiling SMBClient FileProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
43 | case .waiting(let error):
44 | continuation.resume(throwing: error)
45 | self.connection.stateUpdateHandler = nil
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 | case .ready:
47 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
65 | switch state {
66 | case .waiting(let error), .failed(let error):
67 | onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
68 | case .setup, .preparing, .ready, .cancelled:
69 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
106 | }
107 |
108 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
109 | switch result {
110 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
127 | { (content, contentContext, isComplete, error) in
128 | if let error = error {
129 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | return
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
143 | let length = Int(transportPacket.protocolLength)
144 |
145 | self.buffer.append(Data(transportPacket.smb2Message))
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
146 |
147 | self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
148 | switch result {
149 | case .success:
150 | let data = Data(self.buffer.prefix(length))
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 | self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 | if self.buffer.count < length {
174 | self.receive(completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | return
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
222 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 | if let error = error {
224 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 | return
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
235 | }
236 |
237 | self.buffer.append(data)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
238 | self.receive(upTo: byteCount, completion: completion)
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | public func send(_ data: Data) async throws -> Data {
81 | await semaphore.wait()
82 | defer { Task { await semaphore.signal() } }
| | `- note: closure captures 'self' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 |
84 | switch connection.state {
[75/83] Compiling SMBClient FileReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:45:11: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
43 | case .waiting(let error):
44 | continuation.resume(throwing: error)
45 | self.connection.stateUpdateHandler = nil
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 | case .ready:
47 | continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:67:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
65 | switch state {
66 | case .waiting(let error), .failed(let error):
67 | onDisconnected(error)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' local function; this is an error in the Swift 6 language mode
68 | case .setup, .preparing, .ready, .cancelled:
69 | break
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:108:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
106 | }
107 |
108 | self.receive() { (result) in
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
109 | switch result {
110 | case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:129:9: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
127 | { (content, contentContext, isComplete, error) in
128 | if let error = error {
129 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | return
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:145:7: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
143 | let length = Int(transportPacket.protocolLength)
144 |
145 | self.buffer.append(Data(transportPacket.smb2Message))
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
146 |
147 | self.receive(upTo: length) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:150:27: warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
148 | switch result {
149 | case .success:
150 | let data = Data(self.buffer.prefix(length))
| `- warning: capture of 'self' with non-sendable type 'Connection' in an isolated closure; this is an error in the Swift 6 language mode
151 | self.buffer = Data(self.buffer.suffix(from: length))
152 |
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:174:44: warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
172 |
173 | if self.buffer.count < length {
174 | self.receive(completion: completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<Data, any Error>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
175 | return
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:224:11: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
222 | self.connection.receive(minimumIncompleteLength: minimumIncompleteLength, maximumLength: maximumLength) { (data, _, isComplete, error) in
223 | if let error = error {
224 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 | return
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:237:9: warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
2 | import Network
3 |
4 | public class Connection {
| `- note: class 'Connection' does not conform to the 'Sendable' protocol
5 | let host: String
6 | var onDisconnected: (Error) -> Void
:
235 | }
236 |
237 | self.buffer.append(data)
| `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
238 | self.receive(upTo: byteCount, completion: completion)
239 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Connection.swift:82:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 | public func send(_ data: Data) async throws -> Data {
81 | await semaphore.wait()
82 | defer { Task { await semaphore.signal() } }
| | `- note: closure captures 'self' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 |
84 | switch connection.state {
[76/83] Compiling SMBClient QueryInfo+CustomDebugStringConvertible.swift
[77/83] Compiling SMBClient QueryInfo.swift
[78/83] Compiling SMBClient Read+CustomDebugStringConvertible.swift
[79/83] Compiling SMBClient Read.swift
[80/83] Compiling SMBClient SessionSetup+CustomDebugStringConvertible.swift
[81/83] Compiling SMBClient SessionSetup.swift
[82/83] Compiling SMBClient SetInfo+CustomDebugStringConvertible.swift
[83/83] Compiling SMBClient SetInfo.swift
Build complete! (6.28s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SMBClient",
"name" : "SMBClient",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SMBClient",
"targets" : [
"SMBClient"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SMBClientTests",
"module_type" : "SwiftTarget",
"name" : "SMBClientTests",
"path" : "Tests/SMBClientTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SMBClientTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CryptoTests.swift",
"SMBClientTests.swift",
"SessionTests.swift"
],
"target_dependencies" : [
"SMBClient"
],
"type" : "test"
},
{
"c99name" : "SMBClient",
"module_type" : "SwiftTarget",
"name" : "SMBClient",
"path" : "Sources/SMBClient",
"product_memberships" : [
"SMBClient"
],
"sources" : [
"Auth/Crypto.swift",
"Auth/NTLM.swift",
"ByteReader.swift",
"Connection.swift",
"DCERPC/DCERPC.swift",
"DCERPC/NetShareEnum.swift",
"FileProxy.swift",
"FileReader.swift",
"FileTime.swift",
"FileWriter.swift",
"Messages/AccessMask/AccessMask.swift",
"Messages/AccessMask/DirectoryAccessMask.swift",
"Messages/AccessMask/FilePipePrinterAccessMask.swift",
"Messages/Close+CustomDebugStringConvertible.swift",
"Messages/Close.swift",
"Messages/Create+CustomDebugStringConvertible.swift",
"Messages/Create.swift",
"Messages/Echo+CustomDebugStringConvertible.swift",
"Messages/Echo.swift",
"Messages/Errors/ErrorResponse.swift",
"Messages/Errors/NTStatus.swift",
"Messages/FileAttributes.swift",
"Messages/FileInformationClasses/FileAccessInformation.swift",
"Messages/FileInformationClasses/FileAlignmentInformation.swift",
"Messages/FileInformationClasses/FileAllInformation.swift",
"Messages/FileInformationClasses/FileBasicInformation.swift",
"Messages/FileInformationClasses/FileDirectoryInformation.swift",
"Messages/FileInformationClasses/FileDispositionInformation.swift",
"Messages/FileInformationClasses/FileEaInformation.swift",
"Messages/FileInformationClasses/FileIdBothDirectoryInformation.swift",
"Messages/FileInformationClasses/FileInfoClass.swift",
"Messages/FileInformationClasses/FileInformationClass.swift",
"Messages/FileInformationClasses/FileInternalInformation.swift",
"Messages/FileInformationClasses/FileModeInformation.swift",
"Messages/FileInformationClasses/FileNameInformation.swift",
"Messages/FileInformationClasses/FilePositionInformation.swift",
"Messages/FileInformationClasses/FileRenameInformation.swift",
"Messages/FileInformationClasses/FileStandardInformation.swift",
"Messages/FileInformationClasses/InfoType.swift",
"Messages/FileInformationClasses/SecurityDescriptor.swift",
"Messages/FileSystemInformationClasses/FileFsDeviceInformation.swift",
"Messages/FileSystemInformationClasses/FileFsLabelInformation.swift",
"Messages/FileSystemInformationClasses/FileFsSizeInformation.swift",
"Messages/FileSystemInformationClasses/FileFsVolumeInformation.swift",
"Messages/FileSystemInformationClasses/FileSystemInfoClass.swift",
"Messages/Header+CustomDebugStringConvertible.swift",
"Messages/Header.swift",
"Messages/IOCtl+CustomDebugStringConvertible.swift",
"Messages/IOCtl.swift",
"Messages/Logoff+CustomDebugStringConvertible.swift",
"Messages/Logoff.swift",
"Messages/Message.swift",
"Messages/Negotiate+CustomDebugStringConvertible.swift",
"Messages/Negotiate.swift",
"Messages/QueryDirectory+CustomDebugStringConvertible.swift",
"Messages/QueryDirectory.swift",
"Messages/QueryInfo+CustomDebugStringConvertible.swift",
"Messages/QueryInfo.swift",
"Messages/Read+CustomDebugStringConvertible.swift",
"Messages/Read.swift",
"Messages/SessionSetup+CustomDebugStringConvertible.swift",
"Messages/SessionSetup.swift",
"Messages/SetInfo+CustomDebugStringConvertible.swift",
"Messages/SetInfo.swift",
"Messages/TreeConnect+CustomDebugStringConvertible.swift",
"Messages/TreeConnect.swift",
"Messages/TreeDisconnect+CustomDebugStringConvertible.swift",
"Messages/TreeDisconnect.swift",
"Messages/Write+CustomDebugStringConvertible.swift",
"Messages/Write.swift",
"Misc/BinaryConvertible.swift",
"Misc/Data.swift",
"Misc/Pathname.swift",
"Misc/Semaphore.swift",
"Misc/String.swift",
"Misc/UUID.swift",
"SMBClient.swift",
"Session.swift",
"Transport.swift",
"TreeAccessor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.