Build Information
Failed to build automerge-repo, reference main (cdeb80
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 10:23:06 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/automerge/automerge-repo-swift.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/automerge/automerge-repo-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cdeb805 cleaning up documentation - resolving warnings, tweaking a few abstracts, matching code updates (#123)
Cloned https://github.com/automerge/automerge-repo-swift.git
Revision (git rev-parse @):
cdeb8053c3aa2510189429d717ab09e70f134716
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/automerge/automerge-repo-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/automerge/automerge-repo-swift.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-async-algorithms
Fetching https://github.com/heckj/Base58Swift
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/outfoxx/PotentCodables
Fetching https://github.com/automerge/automerge-swift
Fetching https://github.com/apple/swift-distributed-tracing
[1/485] Fetching base58swift
[103/5470] Fetching base58swift, swift-async-algorithms
[303/10463] Fetching base58swift, swift-async-algorithms, swift-distributed-tracing
[1735/12545] Fetching base58swift, swift-async-algorithms, swift-distributed-tracing, swift-docc-plugin
[4059/18485] Fetching base58swift, swift-async-algorithms, swift-distributed-tracing, swift-docc-plugin, automerge-swift
Fetched https://github.com/apple/swift-async-algorithms from cache (0.45s)
[9690/13500] Fetching base58swift, swift-distributed-tracing, swift-docc-plugin, automerge-swift
Fetched https://github.com/heckj/Base58Swift from cache (0.47s)
[10461/13015] Fetching swift-distributed-tracing, swift-docc-plugin, automerge-swift
Fetched https://github.com/apple/swift-distributed-tracing from cache (0.47s)
[5706/8022] Fetching swift-docc-plugin, automerge-swift
[6241/114307] Fetching swift-docc-plugin, automerge-swift, potentcodables
Fetched https://github.com/automerge/automerge-swift from cache (1.97s)
[55225/108367] Fetching swift-docc-plugin, potentcodables
Fetched https://github.com/apple/swift-docc-plugin from cache (5.14s)
Fetched https://github.com/outfoxx/PotentCodables from cache (5.21s)
Computing version for https://github.com/heckj/Base58Swift
Computed https://github.com/heckj/Base58Swift at 2.1.15 (5.66s)
Fetching https://github.com/attaswift/BigInt.git
[1/4807] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (0.48s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (1.05s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.21s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.10s)
Computing version for https://github.com/apple/swift-distributed-tracing
Computed https://github.com/apple/swift-distributed-tracing at 1.2.1 (1.02s)
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.30s)
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.79s)
Computing version for https://github.com/outfoxx/PotentCodables
Computed https://github.com/outfoxx/PotentCodables at 3.5.2 (0.82s)
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/sharplet/Regex.git
[1/310] Fetching float16
[311/1564] Fetching float16, regex
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.81s)
Fetched https://github.com/sharplet/Regex.git from cache (0.83s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (3.55s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.95s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.57s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.31s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (0.45s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3414] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.46s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.18s)
Computing version for https://github.com/automerge/automerge-swift
Computed https://github.com/automerge/automerge-swift at 0.6.1 (0.56s)
Creating working copy for https://github.com/automerge/automerge-swift
Working copy of https://github.com/automerge/automerge-swift resolved at 0.6.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/outfoxx/PotentCodables
Working copy of https://github.com/outfoxx/PotentCodables resolved at 3.5.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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.4
Creating working copy for https://github.com/heckj/Base58Swift
Working copy of https://github.com/heckj/Base58Swift resolved at 2.1.15
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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.6.0
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Downloading binary artifact https://github.com/automerge/automerge-swift/releases/download/0.6.1/automergeFFI.xcframework.zip
[2742/46544488] Downloading https://github.com/automerge/automerge-swift/releases/download/0.6.1/automergeFFI.xcframework.zip
Downloaded https://github.com/automerge/automerge-swift/releases/download/0.6.1/automergeFFI.xcframework.zip (5.62s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/49] Write sources
[12/49] Copying PotentCodables.docc
[13/49] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-diag.c:25:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[19/49] Compiling fy-diag.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-atom.c:24:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[19/49] Compiling fy-atom.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-docstate.c:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
1 error generated.
[19/49] Compiling fy-docstate.c
[19/49] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-doc.c:23:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[19/49] Compiling fy-doc.c
[19/49] Compiling xxhash.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-dump.c:14:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-dump.c:27:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[19/49] Compiling fy-dump.c
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-composer.c:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-parse.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-ctype.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utf8.h:20:
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/util/fy-utils.h:19:10: fatal error: 'termios.h' file not found
19 | #include <termios.h>
| ^~~~~~~~~~~
[19/49] Compiling fy-composer.c
BUILD FAILURE 6.2 wasm