The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Tuist, reference main (34bc52), with Swift 6.2 (beta) for Wasm on 12 Sep 2025 21:59:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/21-DOT-DEV/swift-plugin-tuist.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/21-DOT-DEV/swift-plugin-tuist
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 34bc52d Updating tuist to 4.71.0
Cloned https://github.com/21-DOT-DEV/swift-plugin-tuist.git
Revision (git rev-parse @):
34bc52df9044ed4e0959db74cbeb41c81d90f784
SUCCESS checkout https://github.com/21-DOT-DEV/swift-plugin-tuist.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/21-DOT-DEV/swift-plugin-tuist.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/21-DOT-DEV/swift-artifact-parser
[1/28] Fetching swift-artifact-parser
Fetched https://github.com/21-DOT-DEV/swift-artifact-parser from cache (0.67s)
Computing version for https://github.com/21-DOT-DEV/swift-artifact-parser
Computed https://github.com/21-DOT-DEV/swift-artifact-parser at 0.0.1 (1.60s)
Creating working copy for https://github.com/21-DOT-DEV/swift-artifact-parser
Working copy of https://github.com/21-DOT-DEV/swift-artifact-parser resolved at 0.0.1
Downloading binary artifact https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.71.0/tuist.artifactbundle.zip
[1397/39000008] Downloading https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.71.0/tuist.artifactbundle.zip
Downloaded https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.71.0/tuist.artifactbundle.zip (6.12s)
[1/1] Compiling plugin TuistPlugin
Building for debugging...
[1/8] Write sources
[3/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/13] Emitting module ArtifactParser
/host/spi-builder-workspace/.build/checkouts/swift-artifact-parser/Sources/ArtifactParser/ArtifactBundle.swift:11:8: error: no such module 'Foundation'
 9 | //
10 |
11 | import Foundation
   |        `- error: no such module 'Foundation'
12 |
13 | /// A structure representing the root object of the info.json file in the artifact bundle.
[6/13] Compiling ArtifactParser FileSystem.swift
/host/spi-builder-workspace/.build/checkouts/swift-artifact-parser/Sources/ArtifactParser/ArtifactBundle.swift:11:8: error: no such module 'Foundation'
 9 | //
10 |
11 | import Foundation
   |        `- error: no such module 'Foundation'
12 |
13 | /// A structure representing the root object of the info.json file in the artifact bundle.
[7/13] Compiling ArtifactParser ArtifactBundle.swift
/host/spi-builder-workspace/.build/checkouts/swift-artifact-parser/Sources/ArtifactParser/ArtifactBundle.swift:11:8: error: no such module 'Foundation'
 9 | //
10 |
11 | import Foundation
   |        `- error: no such module 'Foundation'
12 |
13 | /// A structure representing the root object of the info.json file in the artifact bundle.
[8/13] Compiling ArtifactParser ArtifactParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-artifact-parser/Sources/ArtifactParser/ArtifactBundle.swift:11:8: error: no such module 'Foundation'
 9 | //
10 |
11 | import Foundation
   |        `- error: no such module 'Foundation'
12 |
13 | /// A structure representing the root object of the info.json file in the artifact bundle.
[9/13] Compiling ArtifactParser OS.swift
/host/spi-builder-workspace/.build/checkouts/swift-artifact-parser/Sources/ArtifactParser/ArtifactBundle.swift:11:8: error: no such module 'Foundation'
 9 | //
10 |
11 | import Foundation
   |        `- error: no such module 'Foundation'
12 |
13 | /// A structure representing the root object of the info.json file in the artifact bundle.
swift-build: /home/build-user/llbuild/lib/Core/SQLiteBuildDB.cpp:703: virtual void (anonymous namespace)::SQLiteBuildDB::buildComplete(): Assertion `result == SQLITE_OK' failed.
*** Signal 6: Backtracing from 0x7f56b56dd9fc... done ***
*** Program crashed: Aborted at 0x0000000000000001 ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-build":
  0  0x00007f56b568980a <unknown> in libc.so.6
...
Thread 1 crashed:
  0  0x00007f56b56dd9fc <unknown> in libc.so.6
...
Thread 2:
  0  0x00007f56b576ce2e <unknown> in libc.so.6
...
Thread 3:
  0  0x00007f56b56d8117 <unknown> in libc.so.6
...
Registers:
rax 0x0000000000000000  0
rdx 0x00007f56b0266640  40 66 26 b0 56 7f 00 00 f0 16 9a 1b bc 55 00 00  @f&°V···ð···¼U··
rcx 0x00007f56b56dd9fc  41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00  A·ÅA÷Ý=·ðÿÿ¸····
rbx 0x0000000000000006  6
rsi 0x0000000000000001  1
rdi 0x0000000000000008  8
rbp 0x0000000000000008  8
rsp 0x00007f56b0265290  dc da 12 a8 56 7f 00 00 b0 d9 12 a8 56 7f 00 00  ÜÚ·¨V···°Ù·¨V···
 r8 0x00007f56b0265360  20 00 00 00 00 00 00 00 a0 26 86 b5 56 7f 00 00   ······· &·µV···
 r9 0x0000000000000000  0
r10 0x0000000000000008  8
r11 0x0000000000000246  582
r12 0x0000000000000006  6
r13 0x0000000000000016  22
r14 0x000055bc1ac9db63  72 65 73 75 6c 74 20 3d 3d 20 53 51 4c 49 54 45  result == SQLITE
r15 0x00007f56a80bdd10  78 52 b3 1a bc 55 00 00 58 f2 0b a8 56 7f 00 00  xR³·¼U··Xò·¨V···
rip 0x00007f56b56dd9fc  41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00  A·ÅA÷Ý=·ðÿÿ¸····
rflags 0x0000000000000246  ZF PF
cs 0x0033  fs 0x0000  gs 0x0000
Images (72 omitted):
0x00007f56b5647000–0x00007f56b5803341 d5197096f709801829b118af1b7cf6631efa2dcd libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.01s
BUILD FAILURE 6.2 wasm