Build Information
Failed to build FlatBuffers, reference master (48eccb
), with Swift 6.2 (beta) for Wasm on 11 Sep 2025 18:27:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/flatbuffers.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/google/flatbuffers
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 48eccb8 fix(idl_gen_ts): bool to number conversion in mutable API (#8677)
Cloned https://github.com/google/flatbuffers.git
Revision (git rev-parse @):
48eccb83dbd10168ea8bfbace3aaafcfdee67447
SUCCESS checkout https://github.com/google/flatbuffers.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/google/flatbuffers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/grpc/grpc-swift.git
[1/51297] Fetching grpc-swift
Fetched https://github.com/grpc/grpc-swift.git from cache (2.13s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (6.33s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-protobuf.git
[1/1814] Fetching swift-atomics
[600/16889] Fetching swift-atomics, swift-nio-ssl
[751/20792] Fetching swift-atomics, swift-nio-ssl, swift-log
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-atomics.git from cache (1.19s)
[7823/18978] Fetching swift-nio-ssl, swift-log
Fetching https://github.com/apple/swift-nio-transport-services.git
[11593/59149] Fetching swift-nio-ssl, swift-log, swift-protobuf
[13301/61867] Fetching swift-nio-ssl, swift-log, swift-protobuf, swift-nio-transport-services
[14648/67994] Fetching swift-nio-ssl, swift-log, swift-protobuf, swift-nio-transport-services, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.70s)
[23847/65276] Fetching swift-nio-ssl, swift-log, swift-protobuf, swift-nio-extras
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.94s)
Fetching https://github.com/apple/swift-nio.git
[19478/59149] Fetching swift-nio-ssl, swift-log, swift-protobuf
[20886/70810] Fetching swift-nio-ssl, swift-log, swift-protobuf, swift-nio-http2
[30966/148883] Fetching swift-nio-ssl, swift-log, swift-protobuf, swift-nio-http2, swift-nio
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-log.git from cache (5.08s)
[60497/144980] Fetching swift-nio-ssl, swift-protobuf, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.71s)
[69271/133319] Fetching swift-nio-ssl, swift-protobuf, swift-nio
[71235/150772] Fetching swift-nio-ssl, swift-protobuf, swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.01s)
[112906/133319] Fetching swift-nio-ssl, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (16.63s)
Fetched https://github.com/apple/swift-protobuf.git from cache (16.67s)
Fetched https://github.com/apple/swift-nio.git from cache (15.13s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (17.69s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (0.45s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.87s)
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.43s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (0.85s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.51s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.78s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
[1/1176] Fetching swift-http-structured-headers
[495/2805] Fetching swift-http-structured-headers, swift-asn1
[2334/8790] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms
[5141/15373] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-certificates
[6170/20726] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.36s)
[6864/19097] Fetching swift-http-structured-headers, swift-algorithms, swift-certificates, swift-async-algorithms
Fetching https://github.com/apple/swift-http-types.git
[19098/21567] Fetching swift-http-structured-headers, swift-algorithms, swift-certificates, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-algorithms.git from cache (0.56s)
[14866/15582] Fetching swift-http-structured-headers, swift-certificates, swift-async-algorithms, swift-service-lifecycle
[15583/16505] Fetching swift-http-structured-headers, swift-certificates, swift-async-algorithms, swift-service-lifecycle, swift-http-types
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.66s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.30s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.68s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.68s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.68s)
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 (1.31s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.53s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.45s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.41s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.04s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.42s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (0.57s)
Fetching https://github.com/apple/swift-crypto.git
[1/16864] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.73s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (4.21s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.41s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (0.61s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.66s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (1.27s)
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-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-collections.git
Working copy of https://github.com/apple/swift-collections.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.38.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.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.29.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
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.13.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.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.4.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.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.4.0
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.25.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.34.0
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[1369/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (1.49s)
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[2/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/10] Compiling Common padding.swift
/host/spi-builder-workspace/swift/Sources/Common/Int+extension.swift:17:8: error: no such module 'Foundation'
15 | */
16 |
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | extension Int {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/10] Emitting module Common
/host/spi-builder-workspace/swift/Sources/Common/Int+extension.swift:17:8: error: no such module 'Foundation'
15 | */
16 |
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | extension Int {
[9/10] Compiling Common Int+extension.swift
/host/spi-builder-workspace/swift/Sources/Common/Int+extension.swift:17:8: error: no such module 'Foundation'
15 | */
16 |
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | extension Int {
[10/10] Compiling Common Scalar.swift
/host/spi-builder-workspace/swift/Sources/Common/Int+extension.swift:17:8: error: no such module 'Foundation'
15 | */
16 |
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | extension Int {
BUILD FAILURE 6.2 wasm