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 (39bbf9), with Swift 6.0 for macOS (SPM) on 12 Jun 2025 02:15:15 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kishikawakatsumi/SMBClient.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kishikawakatsumi/SMBClient
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 39bbf97 Merge pull request #194 from kishikawakatsumi/kishikawakatsumi-patch-1
Cloned https://github.com/kishikawakatsumi/SMBClient.git
Revision (git rev-parse @):
39bbf970b6752ff3b9a146777c37d951ad6e4fa3
SUCCESS checkout https://github.com/kishikawakatsumi/SMBClient.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kishikawakatsumi/SMBClient.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/76] Emitting module SMBClient
[4/84] Compiling SMBClient Pathname.swift
[5/84] Compiling SMBClient Semaphore.swift
[6/84] Compiling SMBClient String.swift
[7/84] Compiling SMBClient UUID.swift
[8/84] Compiling SMBClient SMBClient.swift
[9/84] Compiling SMBClient Session.swift
[10/84] Compiling SMBClient Transport.swift
[11/84] Compiling SMBClient TreeAccessor.swift
[12/84] Compiling SMBClient FileBasicInformation.swift
[13/84] Compiling SMBClient FileDirectoryInformation.swift
[14/84] Compiling SMBClient FileDispositionInformation.swift
[15/84] Compiling SMBClient FileEaInformation.swift
[16/84] Compiling SMBClient FileIdBothDirectoryInformation.swift
[17/84] Compiling SMBClient FileInfoClass.swift
[18/84] Compiling SMBClient FileInformationClass.swift
[19/84] Compiling SMBClient FileInternalInformation.swift
[20/84] Compiling SMBClient IOCtl.swift
[21/84] Compiling SMBClient Logoff+CustomDebugStringConvertible.swift
[22/84] Compiling SMBClient Logoff.swift
[23/84] Compiling SMBClient Message.swift
[24/84] Compiling SMBClient Negotiate+CustomDebugStringConvertible.swift
[25/84] Compiling SMBClient Negotiate.swift
[26/84] Compiling SMBClient QueryDirectory+CustomDebugStringConvertible.swift
[27/84] Compiling SMBClient QueryDirectory.swift
[28/84] Compiling SMBClient FileModeInformation.swift
[29/84] Compiling SMBClient FileNameInformation.swift
[30/84] Compiling SMBClient FilePositionInformation.swift
[31/84] Compiling SMBClient FileRenameInformation.swift
[32/84] Compiling SMBClient FileStandardInformation.swift
[33/84] Compiling SMBClient InfoType.swift
[34/84] Compiling SMBClient SecurityDescriptor.swift
[35/84] Compiling SMBClient FileFsDeviceInformation.swift
[36/84] Compiling SMBClient FileWriter.swift
[37/84] Compiling SMBClient AccessMask.swift
[38/84] Compiling SMBClient DirectoryAccessMask.swift
[39/84] Compiling SMBClient FilePipePrinterAccessMask.swift
[40/84] Compiling SMBClient Close+CustomDebugStringConvertible.swift
[41/84] Compiling SMBClient Close.swift
[42/84] Compiling SMBClient Create+CustomDebugStringConvertible.swift
[43/84] Compiling SMBClient Create.swift
[44/84] Compiling SMBClient FileFsLabelInformation.swift
[45/84] Compiling SMBClient FileFsSizeInformation.swift
[46/84] Compiling SMBClient FileFsVolumeInformation.swift
[47/84] Compiling SMBClient FileSystemInfoClass.swift
[48/84] Compiling SMBClient Flush.swift
[49/84] Compiling SMBClient Header+CustomDebugStringConvertible.swift
[50/84] Compiling SMBClient Header.swift
[51/84] Compiling SMBClient IOCtl+CustomDebugStringConvertible.swift
[52/84] Compiling SMBClient TreeConnect+CustomDebugStringConvertible.swift
[53/84] Compiling SMBClient TreeConnect.swift
[54/84] Compiling SMBClient TreeDisconnect+CustomDebugStringConvertible.swift
[55/84] Compiling SMBClient TreeDisconnect.swift
[56/84] Compiling SMBClient Write+CustomDebugStringConvertible.swift
[57/84] Compiling SMBClient Write.swift
[58/84] Compiling SMBClient BinaryConvertible.swift
[59/84] Compiling SMBClient Data.swift
[60/84] Compiling SMBClient Crypto.swift
/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):
[61/84] Compiling SMBClient NTLM.swift
/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):
[62/84] Compiling SMBClient ByteReader.swift
/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):
[63/84] Compiling SMBClient Connection.swift
/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):
[64/84] Compiling SMBClient DCERPC.swift
/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):
[65/84] Compiling SMBClient NetShareEnum.swift
/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):
[66/84] Compiling SMBClient FileProxy.swift
/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):
[67/84] Compiling SMBClient FileReader.swift
/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):
[68/84] Compiling SMBClient FileTime.swift
/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):
[69/84] Compiling SMBClient Echo+CustomDebugStringConvertible.swift
[70/84] Compiling SMBClient Echo.swift
[71/84] Compiling SMBClient ErrorResponse.swift
[72/84] Compiling SMBClient NTStatus.swift
[73/84] Compiling SMBClient FileAttributes.swift
[74/84] Compiling SMBClient FileAccessInformation.swift
[75/84] Compiling SMBClient FileAlignmentInformation.swift
[76/84] Compiling SMBClient FileAllInformation.swift
[77/84] Compiling SMBClient QueryInfo+CustomDebugStringConvertible.swift
[78/84] Compiling SMBClient QueryInfo.swift
[79/84] Compiling SMBClient Read+CustomDebugStringConvertible.swift
[80/84] Compiling SMBClient Read.swift
[81/84] Compiling SMBClient SessionSetup+CustomDebugStringConvertible.swift
[82/84] Compiling SMBClient SessionSetup.swift
[83/84] Compiling SMBClient SetInfo+CustomDebugStringConvertible.swift
[84/84] Compiling SMBClient SetInfo.swift
Build complete! (6.15s)
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.