Build Information
Failed to build SwiftCheck, reference 0.13.1 (8ce569), with Swift 6.2 for Wasm on 19 Oct 2025 09:51:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/toastersocks/SwiftCheck.git
Reference: 0.13.1
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/toastersocks/SwiftCheck
* tag 0.13.1 -> FETCH_HEAD
HEAD is now at 8ce569a Fix compatibility with older Swift compiler versions
Submodule path 'Carthage/Checkouts/FileCheck': checked out 'bd9cb30ceee1f21c02f51a7168f58471449807d8'
Submodule 'Carthage/Checkouts/FileCheck' (https://github.com/trill-lang/FileCheck.git) registered for path 'Carthage/Checkouts/FileCheck'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/FileCheck'...
Cloned https://github.com/toastersocks/SwiftCheck.git
Revision (git rev-parse @):
8ce569ae88b7fef2f4e22bf99ec27a9412124ee3
SUCCESS checkout https://github.com/toastersocks/SwiftCheck.git at 0.13.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/toastersocks/SwiftCheck.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/llvm-swift/FileCheck.git
[1/479] Fetching filecheck
Fetched https://github.com/llvm-swift/FileCheck.git from cache (0.23s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.2.6 (2.50s)
Fetching https://github.com/mxcl/Chalk.git
Fetching https://github.com/apple/swift-argument-parser
[1/81] Fetching chalk
Fetched https://github.com/mxcl/Chalk.git from cache (0.24s)
[1/16682] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.74s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (1.19s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.39s)
Creating working copy for https://github.com/mxcl/Chalk.git
Working copy of https://github.com/mxcl/Chalk.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Creating working copy for https://github.com/llvm-swift/FileCheck.git
Working copy of https://github.com/llvm-swift/FileCheck.git resolved at 0.2.6
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module SwiftCheck
/host/spi-builder-workspace/Sources/SwiftCheck/Arbitrary.swift:376:9: error: no such module 'Darwin'
374 | import Glibc
375 | #else
376 | import Darwin
| `- error: no such module 'Darwin'
377 | #endif
378 |
[6/6] Compiling SwiftCheck Arbitrary.swift
/host/spi-builder-workspace/Sources/SwiftCheck/Arbitrary.swift:376:9: error: no such module 'Darwin'
374 | import Glibc
375 | #else
376 | import Darwin
| `- error: no such module 'Darwin'
377 | #endif
378 |
BUILD FAILURE 6.2 wasm