The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SMBClient, reference main (b0aa0d), with Swift 6.1 for macOS (SPM) on 30 Nov 2025 17:45:39 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

  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
[55/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
[56/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
[57/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
[58/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
[59/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
[60/84] Compiling SMBClient FileBasicInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:52:14: warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 50 |   case fileValidDataLengthInformation = 0x27
 51 |
 52 |   static let fileFsVolumeInformation = fileDirectoryInformation
    |              |- warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsVolumeInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 53 |   static let fileFsLabelInformation = fileFullDirectoryInformation
 54 |   static let fileFsSizeInformation = fileBothDirectoryInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:53:14: warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 51 |
 52 |   static let fileFsVolumeInformation = fileDirectoryInformation
 53 |   static let fileFsLabelInformation = fileFullDirectoryInformation
    |              |- warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsLabelInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |   static let fileFsSizeInformation = fileBothDirectoryInformation
 55 |   static let fileFsDeviceInformation = fileBasicInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:54:14: warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 52 |   static let fileFsVolumeInformation = fileDirectoryInformation
 53 |   static let fileFsLabelInformation = fileFullDirectoryInformation
 54 |   static let fileFsSizeInformation = fileBothDirectoryInformation
    |              |- warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsSizeInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |   static let fileFsDeviceInformation = fileBasicInformation
 56 |   static let fileFsAttributeInformation = fileStandardInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:55:14: warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 53 |   static let fileFsLabelInformation = fileFullDirectoryInformation
 54 |   static let fileFsSizeInformation = fileBothDirectoryInformation
 55 |   static let fileFsDeviceInformation = fileBasicInformation
    |              |- warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsDeviceInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |   static let fileFsAttributeInformation = fileStandardInformation
 57 |   static let fileFsControlInformation = fileInternalInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:56:14: warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 54 |   static let fileFsSizeInformation = fileBothDirectoryInformation
 55 |   static let fileFsDeviceInformation = fileBasicInformation
 56 |   static let fileFsAttributeInformation = fileStandardInformation
    |              |- warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsAttributeInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |   static let fileFsControlInformation = fileInternalInformation
 58 |   static let fileFsFullSizeInformation = fileEaInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:57:14: warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 55 |   static let fileFsDeviceInformation = fileBasicInformation
 56 |   static let fileFsAttributeInformation = fileStandardInformation
 57 |   static let fileFsControlInformation = fileInternalInformation
    |              |- warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsControlInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |   static let fileFsFullSizeInformation = fileEaInformation
 59 |   static let fileFsObjectIdInformation = fileAccessInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:58:14: warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 56 |   static let fileFsAttributeInformation = fileStandardInformation
 57 |   static let fileFsControlInformation = fileInternalInformation
 58 |   static let fileFsFullSizeInformation = fileEaInformation
    |              |- warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsFullSizeInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |   static let fileFsObjectIdInformation = fileAccessInformation
 60 |   static let fileFsDriverPathInformation = fileNameInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:59:14: warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 57 |   static let fileFsControlInformation = fileInternalInformation
 58 |   static let fileFsFullSizeInformation = fileEaInformation
 59 |   static let fileFsObjectIdInformation = fileAccessInformation
    |              |- warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsObjectIdInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |   static let fileFsDriverPathInformation = fileNameInformation
 61 |   static let fileFsVolumeFlagsInformation = fileModeInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:60:14: warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 58 |   static let fileFsFullSizeInformation = fileEaInformation
 59 |   static let fileFsObjectIdInformation = fileAccessInformation
 60 |   static let fileFsDriverPathInformation = fileNameInformation
    |              |- warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsDriverPathInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |   static let fileFsVolumeFlagsInformation = fileModeInformation
 62 |   static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:61:14: warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 59 |   static let fileFsObjectIdInformation = fileAccessInformation
 60 |   static let fileFsDriverPathInformation = fileNameInformation
 61 |   static let fileFsVolumeFlagsInformation = fileModeInformation
    |              |- warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsVolumeFlagsInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |   static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
 63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:62:14: warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 60 |   static let fileFsDriverPathInformation = fileNameInformation
 61 |   static let fileFsVolumeFlagsInformation = fileModeInformation
 62 |   static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
    |              |- warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsSectorSizeInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 | }
 64 |
[61/84] Compiling SMBClient FileDirectoryInformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:52:14: warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 50 |   case fileValidDataLengthInformation = 0x27
 51 |
 52 |   static let fileFsVolumeInformation = fileDirectoryInformation
    |              |- warning: static property 'fileFsVolumeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsVolumeInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 53 |   static let fileFsLabelInformation = fileFullDirectoryInformation
 54 |   static let fileFsSizeInformation = fileBothDirectoryInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:53:14: warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 51 |
 52 |   static let fileFsVolumeInformation = fileDirectoryInformation
 53 |   static let fileFsLabelInformation = fileFullDirectoryInformation
    |              |- warning: static property 'fileFsLabelInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsLabelInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |   static let fileFsSizeInformation = fileBothDirectoryInformation
 55 |   static let fileFsDeviceInformation = fileBasicInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:54:14: warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 52 |   static let fileFsVolumeInformation = fileDirectoryInformation
 53 |   static let fileFsLabelInformation = fileFullDirectoryInformation
 54 |   static let fileFsSizeInformation = fileBothDirectoryInformation
    |              |- warning: static property 'fileFsSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsSizeInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |   static let fileFsDeviceInformation = fileBasicInformation
 56 |   static let fileFsAttributeInformation = fileStandardInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:55:14: warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 53 |   static let fileFsLabelInformation = fileFullDirectoryInformation
 54 |   static let fileFsSizeInformation = fileBothDirectoryInformation
 55 |   static let fileFsDeviceInformation = fileBasicInformation
    |              |- warning: static property 'fileFsDeviceInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsDeviceInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |   static let fileFsAttributeInformation = fileStandardInformation
 57 |   static let fileFsControlInformation = fileInternalInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:56:14: warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 54 |   static let fileFsSizeInformation = fileBothDirectoryInformation
 55 |   static let fileFsDeviceInformation = fileBasicInformation
 56 |   static let fileFsAttributeInformation = fileStandardInformation
    |              |- warning: static property 'fileFsAttributeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsAttributeInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |   static let fileFsControlInformation = fileInternalInformation
 58 |   static let fileFsFullSizeInformation = fileEaInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:57:14: warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 55 |   static let fileFsDeviceInformation = fileBasicInformation
 56 |   static let fileFsAttributeInformation = fileStandardInformation
 57 |   static let fileFsControlInformation = fileInternalInformation
    |              |- warning: static property 'fileFsControlInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsControlInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |   static let fileFsFullSizeInformation = fileEaInformation
 59 |   static let fileFsObjectIdInformation = fileAccessInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:58:14: warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 56 |   static let fileFsAttributeInformation = fileStandardInformation
 57 |   static let fileFsControlInformation = fileInternalInformation
 58 |   static let fileFsFullSizeInformation = fileEaInformation
    |              |- warning: static property 'fileFsFullSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsFullSizeInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |   static let fileFsObjectIdInformation = fileAccessInformation
 60 |   static let fileFsDriverPathInformation = fileNameInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:59:14: warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 57 |   static let fileFsControlInformation = fileInternalInformation
 58 |   static let fileFsFullSizeInformation = fileEaInformation
 59 |   static let fileFsObjectIdInformation = fileAccessInformation
    |              |- warning: static property 'fileFsObjectIdInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsObjectIdInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |   static let fileFsDriverPathInformation = fileNameInformation
 61 |   static let fileFsVolumeFlagsInformation = fileModeInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:60:14: warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 58 |   static let fileFsFullSizeInformation = fileEaInformation
 59 |   static let fileFsObjectIdInformation = fileAccessInformation
 60 |   static let fileFsDriverPathInformation = fileNameInformation
    |              |- warning: static property 'fileFsDriverPathInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsDriverPathInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |   static let fileFsVolumeFlagsInformation = fileModeInformation
 62 |   static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:61:14: warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 59 |   static let fileFsObjectIdInformation = fileAccessInformation
 60 |   static let fileFsDriverPathInformation = fileNameInformation
 61 |   static let fileFsVolumeFlagsInformation = fileModeInformation
    |              |- warning: static property 'fileFsVolumeFlagsInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsVolumeFlagsInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |   static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
 63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/FileInformationClasses/FileInfoClass.swift:62:14: warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum FileInfoClass: UInt8 {
    |             `- note: consider making enum 'FileInfoClass' conform to the 'Sendable' protocol
  4 |   case fileAccessInformation = 0x08
  5 |   case fileAlignmentInformation = 0x11
    :
 60 |   static let fileFsDriverPathInformation = fileNameInformation
 61 |   static let fileFsVolumeFlagsInformation = fileModeInformation
 62 |   static let fileFsSectorSizeInformation: FileInfoClass = fileAlignmentInformation
    |              |- warning: static property 'fileFsSectorSizeInformation' is not concurrency-safe because non-'Sendable' type 'FileInfoClass' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'fileFsSectorSizeInformation' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 | }
 64 |
[62/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 |
[63/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 |
[64/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 |
[65/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 |
[66/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 |
[67/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 |
[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:142: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
    :
140 |       }
141 |
142 |       self.buffer.append(Data(content))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
143 |       let transportPacket = DirectTCPPacket(response: self.buffer)
144 |       let length = Int(transportPacket.protocolLength)
/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:142: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
    :
140 |       }
141 |
142 |       self.buffer.append(Data(content))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
143 |       let transportPacket = DirectTCPPacket(response: self.buffer)
144 |       let length = Int(transportPacket.protocolLength)
/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:142: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
    :
140 |       }
141 |
142 |       self.buffer.append(Data(content))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
143 |       let transportPacket = DirectTCPPacket(response: self.buffer)
144 |       let length = Int(transportPacket.protocolLength)
/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:142: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
    :
140 |       }
141 |
142 |       self.buffer.append(Data(content))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
143 |       let transportPacket = DirectTCPPacket(response: self.buffer)
144 |       let length = Int(transportPacket.protocolLength)
/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:142: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
    :
140 |       }
141 |
142 |       self.buffer.append(Data(content))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
143 |       let transportPacket = DirectTCPPacket(response: self.buffer)
144 |       let length = Int(transportPacket.protocolLength)
/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:142: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
    :
140 |       }
141 |
142 |       self.buffer.append(Data(content))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
143 |       let transportPacket = DirectTCPPacket(response: self.buffer)
144 |       let length = Int(transportPacket.protocolLength)
/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:142: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
    :
140 |       }
141 |
142 |       self.buffer.append(Data(content))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
143 |       let transportPacket = DirectTCPPacket(response: self.buffer)
144 |       let length = Int(transportPacket.protocolLength)
/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:142: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
    :
140 |       }
141 |
142 |       self.buffer.append(Data(content))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
143 |       let transportPacket = DirectTCPPacket(response: self.buffer)
144 |       let length = Int(transportPacket.protocolLength)
/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:142: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
    :
140 |       }
141 |
142 |       self.buffer.append(Data(content))
    |       `- warning: capture of 'self' with non-sendable type 'Connection' in a '@Sendable' closure
143 |       let transportPacket = DirectTCPPacket(response: self.buffer)
144 |       let length = Int(transportPacket.protocolLength)
/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 TreeConnect+CustomDebugStringConvertible.swift
[78/84] Compiling SMBClient TreeConnect.swift
[79/84] Compiling SMBClient TreeDisconnect+CustomDebugStringConvertible.swift
[80/84] Compiling SMBClient TreeDisconnect.swift
[81/84] Compiling SMBClient Write+CustomDebugStringConvertible.swift
[82/84] Compiling SMBClient Write.swift
[83/84] Compiling SMBClient BinaryConvertible.swift
[84/84] Compiling SMBClient Data.swift
Build complete! (7.06s)
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.