Build Information
Failed to build AMSMB2, reference master (1726aa
), with Swift 6.2 (beta) for Wasm on 13 Aug 2025 18:21:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 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: wasm
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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.37s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.78s)
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 aes_apple.c
[1/60] Compiling usha.c
[2/60] Compiling aes128ccm.c
/host/spi-builder-workspace/Dependencies/libsmb2/lib/alloc.c:51:10: fatal error: 'sys/unistd.h' file not found
51 | #include <sys/unistd.h>
| ^~~~~~~~~~~~~~
1 error generated.
[3/60] Compiling alloc.c
[3/60] Compiling sync.c
/host/spi-builder-workspace/Dependencies/libsmb2/lib/dcerpc-srvsvc.c:55:10: fatal error: 'sys/unistd.h' file not found
55 | #include <sys/unistd.h>
| ^~~~~~~~~~~~~~
1 error generated.
[3/60] Compiling dcerpc-srvsvc.c
[3/60] Compiling timestamps.c
[3/60] Compiling aes_reference.c
[3/60] Compiling unicode.c
/host/spi-builder-workspace/Dependencies/libsmb2/lib/dcerpc-lsa.c:55:10: fatal error: 'sys/unistd.h' file not found
55 | #include <sys/unistd.h>
| ^~~~~~~~~~~~~~
1 error generated.
[3/60] Compiling dcerpc-lsa.c
[3/60] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm