Build Information
Failed to build Random, reference master (bec3e7
), with Swift 6.1 for Wasm on 29 May 2025 02:53:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/random.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/vapor-community/random
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at bec3e75 Merge pull request #14 from vapor/cci2
Cloned https://github.com/vapor-community/random.git
Revision (git rev-parse @):
bec3e7506c0702940a63761cc673b8dd87f112fe
SUCCESS checkout https://github.com/vapor-community/random.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vapor-community/random.git
https://github.com/vapor-community/random.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "core",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/core.git"
}
],
"manifest_display_name" : "Random",
"name" : "Random",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Random",
"targets" : [
"Random"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RandomTests",
"module_type" : "SwiftTarget",
"name" : "RandomTests",
"path" : "Tests/RandomTests",
"sources" : [
"RandomTests.swift"
],
"target_dependencies" : [
"Random"
],
"type" : "test"
},
{
"c99name" : "Random",
"module_type" : "SwiftTarget",
"name" : "Random",
"path" : "Sources/Random",
"product_dependencies" : [
"Core"
],
"product_memberships" : [
"Random"
],
"sources" : [
"Array+Random.swift",
"EmptyInitializable.swift",
"Exports.swift",
"OSRandom.swift",
"RandomProtocol.swift",
"URandom.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (1.19s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (1.70s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git from cache (0.28s)
Fetched https://github.com/vapor/debugging.git from cache (0.28s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (2.38s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (1.05s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/28] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
[8/28] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
[9/28] Compiling Debugging Debuggable.swift
[10/28] Emitting module Debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/23] Compiling libc libc.swift
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/23] Emitting module libc
/host/spi-builder-workspace/.build/checkouts/core/Sources/libc/libc.swift:4:20: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
[4/23] Emitting module Debugging
BUILD FAILURE 6.1 wasm