Build Information
Successful build of SMBClient, reference main (39bbf9
), with Swift 6.1 for macOS (SPM) on 12 Jun 2025 02:15:23 UTC.
Swift 6 data race errors: 35
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| |- 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 |
[22/84] 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 |
[23/84] 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 |
[24/84] 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 |
[25/84] 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 |
[26/84] 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 |
[27/84] Compiling SMBClient FileInternalInformation.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 |
[28/84] Compiling SMBClient TreeConnect+CustomDebugStringConvertible.swift
[29/84] Compiling SMBClient TreeConnect.swift
[30/84] Compiling SMBClient TreeDisconnect+CustomDebugStringConvertible.swift
[31/84] Compiling SMBClient TreeDisconnect.swift
[32/84] Compiling SMBClient Write+CustomDebugStringConvertible.swift
[33/84] Compiling SMBClient Write.swift
[34/84] Compiling SMBClient BinaryConvertible.swift
[35/84] Compiling SMBClient Data.swift
[36/84] Compiling SMBClient FileWriter.swift
[37/84] Compiling SMBClient AccessMask.swift
[38/84] Compiling SMBClient DirectoryAccessMask.swift
[39/84] Compiling SMBClient FilePipePrinterAccessMask.swift
[40/84] Compiling SMBClient Close+CustomDebugStringConvertible.swift
[41/84] Compiling SMBClient Close.swift
[42/84] Compiling SMBClient Create+CustomDebugStringConvertible.swift
[43/84] Compiling SMBClient Create.swift
[44/84] Compiling SMBClient IOCtl.swift
[45/84] Compiling SMBClient Logoff+CustomDebugStringConvertible.swift
[46/84] Compiling SMBClient Logoff.swift
[47/84] Compiling SMBClient Message.swift
[48/84] Compiling SMBClient Negotiate+CustomDebugStringConvertible.swift
[49/84] Compiling SMBClient Negotiate.swift
[50/84] Compiling SMBClient QueryDirectory+CustomDebugStringConvertible.swift
[51/84] Compiling SMBClient QueryDirectory.swift
[52/84] Compiling SMBClient QueryInfo+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[53/84] Compiling SMBClient QueryInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[54/84] Compiling SMBClient Read+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[55/84] Compiling SMBClient Read.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[56/84] Compiling SMBClient SessionSetup+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[57/84] Compiling SMBClient SessionSetup.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[58/84] Compiling SMBClient SetInfo+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[59/84] Compiling SMBClient SetInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:25:25: warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
23 | }
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
| |- warning: static property 'replaceIfExists' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'replaceIfExists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/SetInfo.swift:26:25: warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public let buffer: Data
17 |
18 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
19 | public let rawValue: UInt32
20 |
:
24 |
25 | public static let replaceIfExists = Flags(rawValue: 0x00000001)
26 | public static let advanceOnly = Flags(rawValue: 0x00000002)
| |- warning: static property 'advanceOnly' is not concurrency-safe because non-'Sendable' type 'SetInfo.Request.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'advanceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[60/84] Compiling SMBClient FileFsLabelInformation.swift
[61/84] Compiling SMBClient FileFsSizeInformation.swift
[62/84] Compiling SMBClient FileFsVolumeInformation.swift
[63/84] Compiling SMBClient FileSystemInfoClass.swift
[64/84] Compiling SMBClient Flush.swift
[65/84] Compiling SMBClient Header+CustomDebugStringConvertible.swift
[66/84] Compiling SMBClient Header.swift
[67/84] Compiling SMBClient IOCtl+CustomDebugStringConvertible.swift
[68/84] Compiling SMBClient 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/84] 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/84] 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/84] 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/84] 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/84] 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/84] 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/84] 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/84] Compiling SMBClient FileTime.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 {
[77/84] Compiling SMBClient Echo+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[78/84] Compiling SMBClient Echo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[79/84] Compiling SMBClient ErrorResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[80/84] Compiling SMBClient NTStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[81/84] Compiling SMBClient FileAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[82/84] Compiling SMBClient FileAccessInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[83/84] Compiling SMBClient FileAlignmentInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
[84/84] Compiling SMBClient FileAllInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Errors/ErrorResponse.swift:4:14: warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
2 |
3 | public struct ErrorResponse: Error {
4 | public let header: Header
| `- warning: stored property 'header' of 'Sendable'-conforming struct 'ErrorResponse' has non-sendable type 'Header'; this is an error in the Swift 6 language mode
5 | public let structureSize: UInt16
6 | public let errorContextCount: UInt8
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Header.swift:3:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Header {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
4 | public let protocolId: UInt32
5 | public let structureSize: UInt16
Build complete! (6.79s)
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/Flush.swift",
"Messages/Header+CustomDebugStringConvertible.swift",
"Messages/Header.swift",
"Messages/IOCtl+CustomDebugStringConvertible.swift",
"Messages/IOCtl.swift",
"Messages/Logoff+CustomDebugStringConvertible.swift",
"Messages/Logoff.swift",
"Messages/Message.swift",
"Messages/Negotiate+CustomDebugStringConvertible.swift",
"Messages/Negotiate.swift",
"Messages/QueryDirectory+CustomDebugStringConvertible.swift",
"Messages/QueryDirectory.swift",
"Messages/QueryInfo+CustomDebugStringConvertible.swift",
"Messages/QueryInfo.swift",
"Messages/Read+CustomDebugStringConvertible.swift",
"Messages/Read.swift",
"Messages/SessionSetup+CustomDebugStringConvertible.swift",
"Messages/SessionSetup.swift",
"Messages/SetInfo+CustomDebugStringConvertible.swift",
"Messages/SetInfo.swift",
"Messages/TreeConnect+CustomDebugStringConvertible.swift",
"Messages/TreeConnect.swift",
"Messages/TreeDisconnect+CustomDebugStringConvertible.swift",
"Messages/TreeDisconnect.swift",
"Messages/Write+CustomDebugStringConvertible.swift",
"Messages/Write.swift",
"Misc/BinaryConvertible.swift",
"Misc/Data.swift",
"Misc/Pathname.swift",
"Misc/Semaphore.swift",
"Misc/String.swift",
"Misc/UUID.swift",
"SMBClient.swift",
"Session.swift",
"Transport.swift",
"TreeAccessor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.