Build Information
Failed to build PassBuilder, reference main (613853), with Swift 6.4 for Wasm on 23 Oct 2026 14:58:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/pass-builder.git
Reference: main
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/apple/pass-builder
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6138535 Fixed compilation error on Linux (#4)
Cloned https://github.com/apple/pass-builder.git
Revision (git rev-parse @):
6138535e09456652f7a98c167dbdca361672ae1a
SUCCESS checkout https://github.com/apple/pass-builder.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/apple/pass-builder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-certificates
Fetching https://github.com/apple/swift-protobuf
Fetching https://github.com/apple/swift-system
[1/16894] Fetching swift-nio-ssl
[677/24495] Fetching swift-nio-ssl, swift-certificates
[754/26840] Fetching swift-nio-ssl, swift-certificates, swift-docc-plugin
[2788/34213] Fetching swift-nio-ssl, swift-certificates, swift-docc-plugin, swift-system
[6601/53033] Fetching swift-nio-ssl, swift-certificates, swift-docc-plugin, swift-system, swift-crypto
Fetched https://github.com/apple/swift-system (0.74s)
[14626/45660] Fetching swift-nio-ssl, swift-certificates, swift-docc-plugin, swift-crypto
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/apple/swift-nio-ssl (1.31s)
Fetching https://github.com/swiftlang/swift-syntax
[1/19258] Fetching swift-argument-parser
[2120/74890] Fetching swift-argument-parser, swift-protobuf
Fetched https://github.com/apple/swift-certificates (1.56s)
Fetching https://github.com/swiftlang/swift-subprocess
Fetched https://github.com/apple/swift-crypto (1.58s)
Fetched https://github.com/apple/swift-argument-parser (0.92s)
[3338/55632] Fetching swift-protobuf
[23367/60630] Fetching swift-protobuf, swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess (0.64s)
[33936/55632] Fetching swift-protobuf
[55633/136688] Fetching swift-protobuf, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin (4.75s)
Fetched https://github.com/apple/swift-protobuf (4.78s)
Fetched https://github.com/swiftlang/swift-syntax (4.61s)
Computing version for https://github.com/swiftlang/swift-subprocess
Computed https://github.com/swiftlang/swift-subprocess at 0.5.0 (6.09s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (1.17s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.39.0 (0.17s)
Computing version for https://github.com/apple/swift-certificates
Computed https://github.com/apple/swift-certificates at 1.21.0 (0.88s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.46s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.37.5 (0.64s)
Fetching https://github.com/apple/swift-nio.git
[1/86643] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.07s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (3.25s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3847] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.56s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.75s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.24s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1889] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.53s)
[1/29301] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.91s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (2.06s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.16s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 4.5.2 (0.21s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.4 (0.21s)
Creating working copy for https://github.com/apple/swift-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 4.5.2
Creating working copy for https://github.com/swiftlang/swift-subprocess
Working copy of https://github.com/swiftlang/swift-subprocess resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-certificates
Working copy of https://github.com/apple/swift-certificates resolved at 1.21.0
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.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/604.0.0/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/604.0.0/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.16s)
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1606]
[Planning 1291 / 1606]
[Planning deferred tasks]
[Constructing 1154 / 4041]
[Starting]
warning: no rule to process file '/host/spi-builder-workspace/Sources/PassBuilder/Resources/Localizable.xcstrings' of type 'text.json.xcstrings' for architecture 'wasm32'
[224 / 1243]
[1m/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:31:10: [0m[0;1;31mfatal error: [0m[1m'grp.h' file not found[0m
31 | #include <grp.h>[0m
| [0;1;32m ^~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-subprocess.build/Debug-webassembly-wasm32/_SubprocessCShims-t.build/Objects-normal/wasm32/process_shims.o /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-subprocess.build/Debug-webassembly-wasm32/_SubprocessCShims-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-subprocess.build/Debug-webassembly-wasm32/_SubprocessCShims-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-subprocess.build/Debug-webassembly-wasm32/_SubprocessCShims-t.build/Objects-normal/wasm32/process_shims.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-subprocess.build/Debug-webassembly-wasm32/_SubprocessCShims-t.build/Objects-normal/wasm32/process_shims.dia -c /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-subprocess.build/Debug-webassembly-wasm32/_SubprocessCShims-t.build/Objects-normal/wasm32/process_shims.o
error: Build failed
BUILD FAILURE 6.4 wasm