The Swift Package Index logo.Swift Package Index

Build Information

Failed to build KpqC, reference main (bf8770), with Swift 6.1 for Wasm on 17 Oct 2026 15:23:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KpqC/kpqc-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/KpqC/kpqc-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bf87705 docs: pluralize KEM parameter size heading
Cloned https://github.com/KpqC/kpqc-swift.git
Revision (git rev-parse @):
bf877051fe6909a4534f5d6401d66d214b9c57ec
SUCCESS checkout https://github.com/KpqC/kpqc-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/KpqC/kpqc-swift.git
https://github.com/KpqC/kpqc-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/KpqCTests/__pycache__': File not found.
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/KpqCCore/Generated/aimer128s/08_randombytes.c:6:
/host/spi-builder-workspace/native/csrc/randombytes.c:16:2: error: "kpqc currently supports operating-system entropy on Windows, Linux, Android, macOS, and BSD"
   16 | #error "kpqc currently supports operating-system entropy on Windows, Linux, Android, macOS, and BSD"
      |  ^
/host/spi-builder-workspace/native/csrc/randombytes.c:37:9: error: unknown type name 'ssize_t'; did you mean 'size_t'?
   37 |         ssize_t count = getrandom(output, length, 0);
      |         ^~~~~~~
      |         size_t
/usr/lib/clang/17/include/__stddef_size_t.h:18:23: note: 'size_t' declared here
   18 | typedef __SIZE_TYPE__ size_t;
      |                       ^
In file included from /host/spi-builder-workspace/Sources/KpqCCore/Generated/aimer128s/08_randombytes.c:6:
/host/spi-builder-workspace/native/csrc/randombytes.c:37:25: error: call to undeclared function 'getrandom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   37 |         ssize_t count = getrandom(output, length, 0);
      |                         ^
/host/spi-builder-workspace/native/csrc/randombytes.c:39:17: error: use of undeclared identifier 'errno'
   39 |             if (errno == EINTR) continue;
      |                 ^
/host/spi-builder-workspace/native/csrc/randombytes.c:39:26: error: use of undeclared identifier 'EINTR'
   39 |             if (errno == EINTR) continue;
      |                          ^
5 errors generated.
[0/193] Compiling 08_randombytes.c
[0/193] Compiling 02_hash.c
[0/193] Compiling 07_signature.c
[0/193] Compiling 03_sign.c
[0/193] Compiling 07_signature.c
[0/193] Compiling 05_field128.c
[0/193] Compiling 04_tree.c
[0/193] Compiling 06_fips202.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/KpqCTests/__pycache__': File not found.
[0/1] Planning build
Building for debugging...
[0/193] Compiling secure_zero.c
[1/193] Compiling 12_verify.c
[2/193] Compiling 14_kem_wrapper.c
[3/193] Compiling 10_poly.c
[4/193] Compiling 09_packring.c
[5/193] Compiling 11_toomcook.c
[6/193] Compiling 13_fips202.c
[7/193] Compiling 07_key.c
[8/193] Compiling 08_pack.c
[9/193] Compiling 06_kem.c
[10/193] Compiling 04_hwt.c
[11/193] Compiling 03_hash.c
[12/193] Compiling 05_indcpa.c
[13/193] Compiling 01_ciphertext.c
[14/193] Compiling 00_cbd.c
[15/193] Compiling 02_dg.c
In file included from /host/spi-builder-workspace/Sources/KpqCCore/Generated/smaugt256/15_randombytes.c:6:
/host/spi-builder-workspace/native/csrc/randombytes.c:16:2: error: "kpqc currently supports operating-system entropy on Windows, Linux, Android, macOS, and BSD"
   16 | #error "kpqc currently supports operating-system entropy on Windows, Linux, Android, macOS, and BSD"
      |  ^
/host/spi-builder-workspace/native/csrc/randombytes.c:37:9: error: unknown type name 'ssize_t'; did you mean 'size_t'?
   37 |         ssize_t count = getrandom(output, length, 0);
      |         ^~~~~~~
      |         size_t
/usr/lib/clang/17/include/__stddef_size_t.h:18:23: note: 'size_t' declared here
   18 | typedef __SIZE_TYPE__ size_t;
      |                       ^
In file included from /host/spi-builder-workspace/Sources/KpqCCore/Generated/smaugt256/15_randombytes.c:6:
/host/spi-builder-workspace/native/csrc/randombytes.c:37:25: error: call to undeclared function 'getrandom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   37 |         ssize_t count = getrandom(output, length, 0);
      |                         ^
/host/spi-builder-workspace/native/csrc/randombytes.c:39:17: error: use of undeclared identifier 'errno'
   39 |             if (errno == EINTR) continue;
      |                 ^
/host/spi-builder-workspace/native/csrc/randombytes.c:39:26: error: use of undeclared identifier 'EINTR'
   39 |             if (errno == EINTR) continue;
      |                          ^
5 errors generated.
[16/193] Compiling 15_randombytes.c
[16/193] Compiling 11_toomcook.c
[16/193] Compiling 12_verify.c
[16/193] Compiling 14_kem_wrapper.c
[16/193] Compiling 13_fips202.c
[16/193] Compiling 10_poly.c
In file included from /host/spi-builder-workspace/Sources/KpqCCore/Generated/timer/15_randombytes.c:6:
/host/spi-builder-workspace/native/csrc/randombytes.c:16:2: error: "kpqc currently supports operating-system entropy on Windows, Linux, Android, macOS, and BSD"
   16 | #error "kpqc currently supports operating-system entropy on Windows, Linux, Android, macOS, and BSD"
      |  ^
/host/spi-builder-workspace/native/csrc/randombytes.c:37:9: error: unknown type name 'ssize_t'; did you mean 'size_t'?
   37 |         ssize_t count = getrandom(output, length, 0);
      |         ^~~~~~~
      |         size_t
/usr/lib/clang/17/include/__stddef_size_t.h:18:23: note: 'size_t' declared here
   18 | typedef __SIZE_TYPE__ size_t;
      |                       ^
In file included from /host/spi-builder-workspace/Sources/KpqCCore/Generated/timer/15_randombytes.c:6:
/host/spi-builder-workspace/native/csrc/randombytes.c:37:25: error: call to undeclared function 'getrandom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   37 |         ssize_t count = getrandom(output, length, 0);
      |                         ^
/host/spi-builder-workspace/native/csrc/randombytes.c:39:17: error: use of undeclared identifier 'errno'
   39 |             if (errno == EINTR) continue;
      |                 ^
/host/spi-builder-workspace/native/csrc/randombytes.c:39:26: error: use of undeclared identifier 'EINTR'
   39 |             if (errno == EINTR) continue;
      |                          ^
5 errors generated.
[16/193] Compiling 15_randombytes.c
[16/193] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm