Build Information
Failed to build AMSMB2, reference master (2efc6a
), with Swift 6.0 for Linux on 1 Nov 2024 18:48:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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 2efc6a8 Merge branch 'master' of github.com:amosavian/AMSMB2
Submodule path 'Dependencies/libsmb2': checked out '5d9abb7bb8832fbfee6c5f7f80c5861260b4c5f9'
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 @):
2efc6a8247f63a9dcf2bd5b07cc2c2d2b578a234
SUCCESS checkout https://github.com/amosavian/AMSMB2.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/amosavian/AMSMB2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.20s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.44s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/58] Compiling aes128ccm.c
[1/58] Compiling asn1-ber.c
[2/58] Compiling dcerpc-lsa.c
[3/58] Compiling dcerpc-srvsvc.c
[4/58] Compiling alloc.c
[5/58] Compiling usha.c
[6/58] Compiling timestamps.c
[7/58] Compiling unicode.c
[8/58] Compiling dcerpc.c
[9/58] Compiling sync.c
[10/58] Compiling spnego-wrapper.c
[11/58] Compiling smb3-seal.c
[12/58] Compiling smb2-share-enum.c
[13/58] Write swift-version-24593BA9C3E375BF.txt
[14/58] Compiling compat.c
[15/58] Compiling smb2-signing.c
[16/58] Compiling smb2-data-reparse-point.c
[16/58] Compiling smb2-data-security-descriptor.c
[17/58] Compiling socket.c
[19/58] Compiling smb2-data-filesystem-info.c
[20/58] Compiling smb2-cmd-tree-disconnect.c
[20/58] Compiling smb2-data-file-info.c
[22/58] Compiling smb2-cmd-write.c
[23/58] Compiling smb2-cmd-tree-connect.c
[24/58] Compiling smb2-cmd-set-info.c
[25/58] Compiling smb2-cmd-session-setup.c
[26/58] Compiling smb2-cmd-read.c
[27/58] Compiling smb2-cmd-notify-change.c
[28/58] Compiling smb2-cmd-logoff.c
[29/58] Compiling smb2-cmd-oplock-break.c
[30/58] Compiling smb2-cmd-negotiate.c
[30/58] Compiling smb2-cmd-query-info.c
[32/58] Compiling smb2-cmd-query-directory.c
[33/58] Compiling smb2-cmd-lock.c
[34/58] Compiling smb2-cmd-flush.c
[35/58] Compiling smb2-cmd-echo.c
[36/58] Compiling sha224-256.c
[37/58] Compiling smb2-cmd-create.c
[38/58] Compiling smb2-cmd-error.c
[39/58] Compiling sha384-512.c
[39/58] Compiling sha1.c
[39/58] Compiling smb2-cmd-close.c
[40/58] Compiling smb2-cmd-ioctl.c
[43/58] Compiling krb5-wrapper.c
[44/58] Compiling md4c.c
[45/58] Compiling md5.c
[46/58] Compiling hmac.c
[46/58] Compiling hmac-md5.c
[48/58] Write sources
[49/58] Compiling pdu.c
[50/58] Compiling ntlmssp.c
[51/58] Compiling aes.c
[52/58] Compiling init.c
[53/58] Compiling errors.c
[54/58] Compiling libsmb2.c
[56/69] Compiling AMSMB2 ObjCCompat.swift
[57/70] Compiling AMSMB2 Stream.swift
[58/70] Compiling AMSMB2 MSRPC.swift
[59/70] Compiling AMSMB2 Parsers.swift
[60/70] Compiling AMSMB2 FileHandle.swift
[61/70] Compiling AMSMB2 FileMonitoring.swift
[62/70] Compiling AMSMB2 Fsctl.swift
[63/70] Compiling AMSMB2 Directory.swift
[64/70] Compiling AMSMB2 Extensions.swift
[65/70] Emitting module AMSMB2
[66/70] Compiling AMSMB2 AMSMB2.swift
/host/spi-builder-workspace/AMSMB2/Context.swift:352:31: error: type 'POSIXError.Code' (aka 'POSIXErrorCode') has no member 'EFTYPE'
350 | switch type {
351 | case .directory:
352 | throw POSIXError(.EFTYPE, description: "Use rmdir() to delete a directory.")
| `- error: type 'POSIXError.Code' (aka 'POSIXErrorCode') has no member 'EFTYPE'
353 | case .file:
354 | try unlink(path)
[67/70] Compiling AMSMB2 Context.swift
/host/spi-builder-workspace/AMSMB2/Context.swift:352:31: error: type 'POSIXError.Code' (aka 'POSIXErrorCode') has no member 'EFTYPE'
350 | switch type {
351 | case .directory:
352 | throw POSIXError(.EFTYPE, description: "Use rmdir() to delete a directory.")
| `- error: type 'POSIXError.Code' (aka 'POSIXErrorCode') has no member 'EFTYPE'
353 | case .file:
354 | try unlink(path)
BUILD FAILURE 6.0 linux