Build Information
Failed to build llbuild2, reference 0.23.0 (6f2de5
), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 18:52:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-llbuild2.git
Reference: 0.23.0
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/swift-llbuild2
* tag 0.23.0 -> FETCH_HEAD
HEAD is now at 6f2de58 InternalKey: calculate stableHashValue & cachePath once
Cloned https://github.com/apple/swift-llbuild2.git
Revision (git rev-parse @):
6f2de5894006d174d225710c06dacc4764744301
SUCCESS checkout https://github.com/apple/swift-llbuild2.git at 0.23.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/swift-llbuild2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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-tools-support-core.git
Fetching https://github.com/apple/swift-distributed-tracing
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift.git
[1/3836] Fetching swift-log
[1689/10691] Fetching swift-log, swift-tools-support-core
[2027/15684] Fetching swift-log, swift-tools-support-core, swift-distributed-tracing
[3929/66954] Fetching swift-log, swift-tools-support-core, swift-distributed-tracing, grpc-swift
Fetched https://github.com/apple/swift-log.git from cache (0.88s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.88s)
Fetched https://github.com/apple/swift-distributed-tracing from cache (0.88s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-llbuild.git
Fetching https://github.com/apple/swift-crypto.git
[10767/51270] Fetching grpc-swift
[24098/80309] Fetching grpc-swift, swift-llbuild
[24389/95579] Fetching grpc-swift, swift-llbuild, swift-crypto
[29942/135034] Fetching grpc-swift, swift-llbuild, swift-crypto, swift-protobuf
[41327/150414] Fetching grpc-swift, swift-llbuild, swift-crypto, swift-protobuf, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.86s)
[86395/135034] Fetching grpc-swift, swift-llbuild, swift-crypto, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (4.09s)
[81792/83764] Fetching swift-llbuild, swift-crypto, swift-protobuf
Fetched https://github.com/apple/swift-llbuild.git from cache (5.05s)
Fetched https://github.com/apple/swift-crypto.git from cache (5.63s)
Fetching https://github.com/apple/swift-tools-support-async.git
Fetched https://github.com/apple/swift-protobuf.git from cache (8.89s)
[1/775] Fetching swift-tools-support-async
Fetched https://github.com/apple/swift-tools-support-async.git from cache (0.34s)
Computing version for https://github.com/apple/swift-llbuild.git
Computed https://github.com/apple/swift-llbuild.git at 0.5.0 (10.08s)
Computing version for https://github.com/apple/swift-distributed-tracing
Computed https://github.com/apple/swift-distributed-tracing at 1.2.1 (0.52s)
Fetching https://github.com/apple/swift-service-context.git
[1/1081] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.39s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.95s)
Computing version for https://github.com/apple/swift-tools-support-async.git
Computed https://github.com/apple/swift-tools-support-async.git at 0.14.1 (1.01s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.58s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (6.03s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.49s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.84s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[1798/6225] Fetching swift-atomics, swift-system
[2507/22865] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.04s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.04s)
Fetched https://github.com/apple/swift-collections.git from cache (1.06s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.42s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.60s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (0.90s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2667] Fetching swift-nio-transport-services
[2668/8609] Fetching swift-nio-transport-services, swift-nio-extras
[5996/20141] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[9876/35031] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.58s)
[11012/32364] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.48s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.49s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.53s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (4.42s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.90s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (0.94s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
[1/1141] Fetching swift-http-structured-headers
[2/7100] Fetching swift-http-structured-headers, swift-algorithms
[107/9526] Fetching swift-http-structured-headers, swift-algorithms, swift-service-lifecycle
[1237/14511] Fetching swift-http-structured-headers, swift-algorithms, swift-service-lifecycle, swift-async-algorithms
[2968/16101] Fetching swift-http-structured-headers, swift-algorithms, swift-service-lifecycle, swift-async-algorithms, swift-asn1
[9177/22285] Fetching swift-http-structured-headers, swift-algorithms, swift-service-lifecycle, swift-async-algorithms, swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.61s)
[12644/21144] Fetching swift-algorithms, swift-service-lifecycle, swift-async-algorithms, swift-asn1, swift-certificates
Fetching https://github.com/apple/swift-http-types.git
[21145/22048] Fetching swift-algorithms, swift-service-lifecycle, swift-async-algorithms, swift-asn1, swift-certificates, swift-http-types
Fetched https://github.com/apple/swift-asn1.git from cache (1.99s)
[20196/20458] Fetching swift-algorithms, swift-service-lifecycle, swift-async-algorithms, swift-certificates, swift-http-types
Fetched https://github.com/apple/swift-certificates.git from cache (1.99s)
[14211/14274] Fetching swift-algorithms, swift-service-lifecycle, swift-async-algorithms, swift-http-types
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (2.00s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (2.01s)
Fetched https://github.com/apple/swift-algorithms.git from cache (2.01s)
Fetched https://github.com/apple/swift-http-types.git from cache (2.57s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (6.26s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.09s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.92s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.92s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (3.13s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.11s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.47s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (2.58s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (0.91s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.85s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.83s)
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.32.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.26.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.83.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-tools-support-async.git
Working copy of https://github.com/apple/swift-tools-support-async.git resolved at 0.14.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-distributed-tracing
Working copy of https://github.com/apple/swift-distributed-tracing resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.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.0
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/977] Write sources
[22/977] Compiling llbuildCore DependencyInfoParser.cpp
[23/977] Compiling llvmSupport Valgrind.cpp
[24/977] Compiling llvmSupport UnicodeCaseFold.cpp
[25/977] Compiling llbuildCore MakefileDepsParser.cpp
[26/977] Write swift-version-24593BA9C3E375BF.txt
[27/977] Compiling llvmSupport circular_raw_ostream.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/BuildEngine.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:26:10: fatal error: 'sys/cdefs.h' file not found
26 | #include <sys/cdefs.h>
| ^~~~~~~~~~~~~
1 error generated.
[28/977] Compiling llbuildCore BuildEngine.cpp
[28/977] Compiling llvmSupport Unicode.cpp
[28/977] Compiling llvmSupport Threading.cpp
[28/977] Compiling llvmSupport Twine.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/BuildEngineTrace.cpp:15:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:26:10: fatal error: 'sys/cdefs.h' file not found
26 | #include <sys/cdefs.h>
| ^~~~~~~~~~~~~
1 error generated.
[28/977] Compiling llbuildCore BuildEngineTrace.cpp
[28/977] Compiling llvmSupport raw_ostream.cpp
[28/977] Compiling llvmSupport YAMLParser.cpp
[28/977] Compiling llvmSupport Triple.cpp
BUILD FAILURE 6.2 wasm