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

Failed to build AMSMB2, reference master (1726aa), with Swift 6.2 (beta) for Linux on 13 Aug 2025 18:20:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.66.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amosavian/AMSMB2.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/amosavian/AMSMB2
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1726aaa fix: Update libsmb2
Submodule path 'Dependencies/libsmb2': checked out 'aff9fa6ba9f41cfd3c15d184554601ec3f6d8d03'
Submodule 'Dependencies/libsmb2' (https://github.com/sahlberg/libsmb2) registered for path 'Dependencies/libsmb2'
Cloning into '/host/spi-builder-workspace/Dependencies/libsmb2'...
Cloned https://github.com/amosavian/AMSMB2.git
Revision (git rev-parse @):
1726aaaf7adf63d7d1d2a0c5d1b0e635028215c0
SUCCESS checkout https://github.com/amosavian/AMSMB2.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/amosavian/AMSMB2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-atomics.git
[1/1808] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.93s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Building for debugging...
[0/60] Compiling hmac-md5.c
[1/60] Compiling aes.c
[1/60] Compiling usha.c
[3/60] Compiling aes_apple.c
[4/60] Compiling timestamps.c
[5/60] Compiling unicode.c
[6/60] Compiling aes128ccm.c
[7/60] Write swift-version-24593BA9C3E375BF.txt
[8/60] Compiling smb3-seal.c
[9/60] Compiling spnego-wrapper.c
[10/60] Compiling smb2-data-security-descriptor.c
[11/60] Compiling sync.c
[11/60] Compiling smb2-share-enum.c
[13/60] Compiling smb2-data-reparse-point.c
[14/60] Compiling smb2-signing.c
[15/60] Compiling smb2-cmd-tree-disconnect.c
[16/60] Compiling socket.c
[17/60] Compiling smb2-cmd-write.c
[18/60] Compiling smb2-data-filesystem-info.c
[18/60] Compiling smb2-data-file-info.c
[20/60] Compiling smb2-cmd-set-info.c
[21/60] Compiling smb2-cmd-tree-connect.c
[22/60] Compiling smb2-cmd-session-setup.c
[23/60] Compiling smb2-cmd-read.c
[24/60] Compiling smb2-cmd-query-directory.c
[25/60] Compiling smb2-cmd-notify-change.c
[26/60] Compiling smb2-cmd-oplock-break.c
[27/60] Compiling smb2-cmd-logoff.c
[28/60] Compiling smb2-cmd-query-info.c
[29/60] Compiling smb2-cmd-negotiate.c
[30/60] Compiling smb2-cmd-ioctl.c
[30/60] Compiling smb2-cmd-lock.c
[32/60] Compiling smb2-cmd-error.c
[33/60] Compiling smb2-cmd-flush.c
[34/60] Compiling smb2-cmd-echo.c
[35/60] Compiling smb2-cmd-close.c
[36/60] Compiling sha1.c
[37/60] Compiling smb2-cmd-create.c
[38/60] Compiling sha384-512.c
[39/60] Compiling sha224-256.c
[40/60] Compiling krb5-wrapper.c
[41/60] Compiling md5.c
[42/60] Compiling md4c.c
[43/60] Compiling hmac.c
[44/60] Compiling ntlmssp.c
[45/60] Compiling pdu.c
[46/60] Compiling errors.c
[47/60] Compiling dcerpc-lsa.c
[48/60] Compiling compat.c
[48/60] Write sources
[50/60] Compiling init.c
[51/60] Compiling dcerpc-srvsvc.c
[52/60] Compiling dcerpc.c
[53/60] Compiling alloc.c
[54/60] Compiling aes_reference.c
[55/60] Compiling asn1-ber.c
[56/60] Compiling libsmb2.c
[58/71] Compiling AMSMB2 ObjCCompat.swift
[59/71] Compiling AMSMB2 Parsers.swift
[60/72] Compiling AMSMB2 MSRPC.swift
[61/72] Compiling AMSMB2 Stream.swift
/host/spi-builder-workspace/AMSMB2/Stream.swift:105:61: warning: conformance of 'AsyncInputStream<Seq>' to protocol 'Sendable' is already unavailable
103 | }
104 |
105 | public class AsyncInputStream<Seq>: InputStream, @unchecked Sendable where Seq: AsyncSequence, Seq.Element: DataProtocol, Seq: SendableMetatype, Seq.Element: SendableMetatype, Seq.AsyncIterator: SendableMetatype {
    |              |                                              `- warning: conformance of 'AsyncInputStream<Seq>' to protocol 'Sendable' is already unavailable
    |              `- note: 'AsyncInputStream<Seq>' inherits conformance to protocol 'Sendable' from superclass here
106 |     private var stream: Seq
107 |     private var iterator: Seq.AsyncIterator
/host/spi-builder-workspace/AMSMB2/Stream.swift:176:44: error: capture of 'self' with non-Sendable type 'AsyncInputStream<Seq>' in a '@Sendable' closure [#SendableClosureCaptures]
103 | }
104 |
105 | public class AsyncInputStream<Seq>: InputStream, @unchecked Sendable where Seq: AsyncSequence, Seq.Element: DataProtocol, Seq: SendableMetatype, Seq.Element: SendableMetatype, Seq.AsyncIterator: SendableMetatype {
    |              `- note: generic class 'AsyncInputStream' does not conform to the 'Sendable' protocol
106 |     private var stream: Seq
107 |     private var iterator: Seq.AsyncIterator
    :
174 |         Task { @Sendable in
175 |             do {
176 |                 while let data = try await iterator.next() {
    |                                            `- error: capture of 'self' with non-Sendable type 'AsyncInputStream<Seq>' in a '@Sendable' closure [#SendableClosureCaptures]
177 |                     bufferLock.withLock {
178 |                         if self.buffer == nil {
/host/spi-builder-workspace/AMSMB2/Stream.swift:178:28: error: capture of 'self' with non-Sendable type 'AsyncInputStream<Seq>' in an isolated closure
103 | }
104 |
105 | public class AsyncInputStream<Seq>: InputStream, @unchecked Sendable where Seq: AsyncSequence, Seq.Element: DataProtocol, Seq: SendableMetatype, Seq.Element: SendableMetatype, Seq.AsyncIterator: SendableMetatype {
    |              `- note: generic class 'AsyncInputStream' does not conform to the 'Sendable' protocol
106 |     private var stream: Seq
107 |     private var iterator: Seq.AsyncIterator
    :
176 |                 while let data = try await iterator.next() {
177 |                     bufferLock.withLock {
178 |                         if self.buffer == nil {
    |                            `- error: capture of 'self' with non-Sendable type 'AsyncInputStream<Seq>' in an isolated closure
179 |                             self.buffer = Data(data)
180 |                         } else {
/host/spi-builder-workspace/AMSMB2/Stream.swift:187:21: error: capture of 'self' with non-Sendable type 'AsyncInputStream<Seq>' in an isolated closure
103 | }
104 |
105 | public class AsyncInputStream<Seq>: InputStream, @unchecked Sendable where Seq: AsyncSequence, Seq.Element: DataProtocol, Seq: SendableMetatype, Seq.Element: SendableMetatype, Seq.AsyncIterator: SendableMetatype {
    |              `- note: generic class 'AsyncInputStream' does not conform to the 'Sendable' protocol
106 |     private var stream: Seq
107 |     private var iterator: Seq.AsyncIterator
    :
185 |             } catch {
186 |                 bufferLock.withLock {
187 |                     _streamStatus = .error
    |                     `- error: capture of 'self' with non-Sendable type 'AsyncInputStream<Seq>' in an isolated closure
188 |                 }
189 |             }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[62/72] Compiling AMSMB2 AMSMB2.swift
[63/72] Compiling AMSMB2 Context.swift
[64/72] Compiling AMSMB2 FileHandle.swift
[65/72] Compiling AMSMB2 FileMonitoring.swift
[66/72] Compiling AMSMB2 Fsctl.swift
[67/72] Compiling AMSMB2 Directory.swift
[68/72] Compiling AMSMB2 Extensions.swift
[69/72] Emitting module AMSMB2
/host/spi-builder-workspace/AMSMB2/Stream.swift:105:61: warning: conformance of 'AsyncInputStream<Seq>' to protocol 'Sendable' is already unavailable
103 | }
104 |
105 | public class AsyncInputStream<Seq>: InputStream, @unchecked Sendable where Seq: AsyncSequence, Seq.Element: DataProtocol, Seq: SendableMetatype, Seq.Element: SendableMetatype, Seq.AsyncIterator: SendableMetatype {
    |              |                                              `- warning: conformance of 'AsyncInputStream<Seq>' to protocol 'Sendable' is already unavailable
    |              `- note: 'AsyncInputStream<Seq>' inherits conformance to protocol 'Sendable' from superclass here
106 |     private var stream: Seq
107 |     private var iterator: Seq.AsyncIterator
BUILD FAILURE 6.2 linux