The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SMBClient, reference main (e636c2), with Swift 5.9 for macOS (SPM) on 9 Dec 2024 19:17:50 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.5
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 e636c2b Merge pull request #176 from kishikawakatsumi/anonymous
Cloned https://github.com/kishikawakatsumi/SMBClient.git
Revision (git rev-parse @):
e636c2b2458930770932a36d311ec9d478575b90
SUCCESS checkout https://github.com/kishikawakatsumi/SMBClient.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/kishikawakatsumi/SMBClient.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/73] Emitting module SMBClient
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:4:19: error: protocol 'Request' cannot be nested inside another declaration
  public protocol Request {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:9:19: error: protocol 'Response' cannot be nested inside another declaration
  public protocol Response {
                  ^
[2/81] Compiling SMBClient FileFsDeviceInformation.swift
[3/81] Compiling SMBClient FileFsLabelInformation.swift
[4/81] Compiling SMBClient FileFsSizeInformation.swift
[5/81] Compiling SMBClient FileFsVolumeInformation.swift
[6/81] Compiling SMBClient FileSystemInfoClass.swift
[7/81] Compiling SMBClient Header+CustomDebugStringConvertible.swift
[8/81] Compiling SMBClient Header.swift
[9/81] Compiling SMBClient IOCtl+CustomDebugStringConvertible.swift
[10/81] Compiling SMBClient Pathname.swift
[11/81] Compiling SMBClient Semaphore.swift
[12/81] Compiling SMBClient String.swift
[13/81] Compiling SMBClient UUID.swift
[14/81] Compiling SMBClient SMBClient.swift
[15/81] Compiling SMBClient Session.swift
[16/81] Compiling SMBClient Transport.swift
[17/81] Compiling SMBClient TreeAccessor.swift
[18/81] Compiling SMBClient FileAllInformation.swift
[19/81] Compiling SMBClient FileBasicInformation.swift
[20/81] Compiling SMBClient FileDirectoryInformation.swift
[21/81] Compiling SMBClient FileDispositionInformation.swift
[22/81] Compiling SMBClient FileEaInformation.swift
[23/81] Compiling SMBClient FileIdBothDirectoryInformation.swift
[24/81] Compiling SMBClient FileInfoClass.swift
[25/81] Compiling SMBClient FileInformationClass.swift
[26/81] Compiling SMBClient FileInternalInformation.swift
[27/81] Compiling SMBClient FileModeInformation.swift
[28/81] Compiling SMBClient FileNameInformation.swift
[29/81] Compiling SMBClient FilePositionInformation.swift
[30/81] Compiling SMBClient FileRenameInformation.swift
[31/81] Compiling SMBClient FileStandardInformation.swift
[32/81] Compiling SMBClient InfoType.swift
[33/81] Compiling SMBClient SecurityDescriptor.swift
[34/81] Compiling SMBClient IOCtl.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:4:19: error: protocol 'Request' cannot be nested inside another declaration
  public protocol Request {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:9:19: error: protocol 'Response' cannot be nested inside another declaration
  public protocol Response {
                  ^
[35/81] Compiling SMBClient Logoff+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:4:19: error: protocol 'Request' cannot be nested inside another declaration
  public protocol Request {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:9:19: error: protocol 'Response' cannot be nested inside another declaration
  public protocol Response {
                  ^
[36/81] Compiling SMBClient Logoff.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:4:19: error: protocol 'Request' cannot be nested inside another declaration
  public protocol Request {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:9:19: error: protocol 'Response' cannot be nested inside another declaration
  public protocol Response {
                  ^
[37/81] Compiling SMBClient Message.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:4:19: error: protocol 'Request' cannot be nested inside another declaration
  public protocol Request {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:9:19: error: protocol 'Response' cannot be nested inside another declaration
  public protocol Response {
                  ^
[38/81] Compiling SMBClient Negotiate+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:4:19: error: protocol 'Request' cannot be nested inside another declaration
  public protocol Request {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:9:19: error: protocol 'Response' cannot be nested inside another declaration
  public protocol Response {
                  ^
[39/81] Compiling SMBClient Negotiate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:4:19: error: protocol 'Request' cannot be nested inside another declaration
  public protocol Request {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:9:19: error: protocol 'Response' cannot be nested inside another declaration
  public protocol Response {
                  ^
[40/81] Compiling SMBClient QueryDirectory+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:4:19: error: protocol 'Request' cannot be nested inside another declaration
  public protocol Request {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:9:19: error: protocol 'Response' cannot be nested inside another declaration
  public protocol Response {
                  ^
[41/81] Compiling SMBClient QueryDirectory.swift
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:4:19: error: protocol 'Request' cannot be nested inside another declaration
  public protocol Request {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/SMBClient/Messages/Message.swift:9:19: error: protocol 'Response' cannot be nested inside another declaration
  public protocol Response {
                  ^
[42/81] Compiling SMBClient FileTime.swift
[43/81] Compiling SMBClient FileWriter.swift
[44/81] Compiling SMBClient AccessMask.swift
[45/81] Compiling SMBClient DirectoryAccessMask.swift
[46/81] Compiling SMBClient FilePipePrinterAccessMask.swift
[47/81] Compiling SMBClient Close+CustomDebugStringConvertible.swift
[48/81] Compiling SMBClient Close.swift
[49/81] Compiling SMBClient Create+CustomDebugStringConvertible.swift
[50/81] Compiling SMBClient QueryInfo+CustomDebugStringConvertible.swift
[51/81] Compiling SMBClient QueryInfo.swift
[52/81] Compiling SMBClient Read+CustomDebugStringConvertible.swift
[53/81] Compiling SMBClient Read.swift
[54/81] Compiling SMBClient SessionSetup+CustomDebugStringConvertible.swift
[55/81] Compiling SMBClient SessionSetup.swift
[56/81] Compiling SMBClient SetInfo+CustomDebugStringConvertible.swift
[57/81] Compiling SMBClient SetInfo.swift
[58/81] Compiling SMBClient TreeConnect+CustomDebugStringConvertible.swift
[59/81] Compiling SMBClient TreeConnect.swift
[60/81] Compiling SMBClient TreeDisconnect+CustomDebugStringConvertible.swift
[61/81] Compiling SMBClient TreeDisconnect.swift
[62/81] Compiling SMBClient Write+CustomDebugStringConvertible.swift
[63/81] Compiling SMBClient Write.swift
[64/81] Compiling SMBClient BinaryConvertible.swift
[65/81] Compiling SMBClient Data.swift
[66/81] Compiling SMBClient Create.swift
[67/81] Compiling SMBClient Echo+CustomDebugStringConvertible.swift
[68/81] Compiling SMBClient Echo.swift
[69/81] Compiling SMBClient ErrorResponse.swift
[70/81] Compiling SMBClient NTStatus.swift
[71/81] Compiling SMBClient FileAttributes.swift
[72/81] Compiling SMBClient FileAccessInformation.swift
[73/81] Compiling SMBClient FileAlignmentInformation.swift
[74/81] Compiling SMBClient Crypto.swift
[75/81] Compiling SMBClient NTLM.swift
[76/81] Compiling SMBClient ByteReader.swift
[77/81] Compiling SMBClient Connection.swift
[78/81] Compiling SMBClient DCERPC.swift
[79/81] Compiling SMBClient NetShareEnum.swift
[80/81] Compiling SMBClient FileProxy.swift
[81/81] Compiling SMBClient FileReader.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm