Build Information
Failed to build emu, reference 0.0.2 (d72c8b), with Swift 6.1 for Wasm on 27 May 2025 07:47:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/limethaw/emu.git
Reference: 0.0.2
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/limethaw/emu
* tag 0.0.2 -> FETCH_HEAD
HEAD is now at d72c8bd Added FordFulkerson test cases
Cloned https://github.com/limethaw/emu.git
Revision (git rev-parse @):
d72c8bd640cdda076fc2ffab0c0e02feeef2a004
SUCCESS checkout https://github.com/limethaw/emu.git at 0.0.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/limethaw/emu.git
https://github.com/limethaw/emu.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
}
],
"manifest_display_name" : "emu",
"name" : "emu",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "emu",
"targets" : [
"emu"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "threadsafe",
"module_type" : "SwiftTarget",
"name" : "threadsafe",
"path" : "Sources/threadsafe",
"product_memberships" : [
"emu"
],
"sources" : [
"algorithms/Atomic.swift",
"datastructures/Lock.swift"
],
"type" : "library"
},
{
"c99name" : "functionalTests",
"module_type" : "SwiftTarget",
"name" : "functionalTests",
"path" : "Tests/functionalTests",
"sources" : [
"datastructures/AVLTreeTest.swift"
],
"target_dependencies" : [
"functional"
],
"type" : "test"
},
{
"c99name" : "functional",
"module_type" : "SwiftTarget",
"name" : "functional",
"path" : "Sources/functional",
"product_memberships" : [
"emu"
],
"sources" : [
"algorithms/Atomic.swift",
"datastructures/AVLTree.swift"
],
"type" : "library"
},
{
"c99name" : "emuTests",
"module_type" : "SwiftTarget",
"name" : "emuTests",
"path" : "Tests/emuTests",
"sources" : [
"algorithms/BFSTests.swift",
"algorithms/FordFulkersonTests.swift",
"algorithms/InsertionSortTests.swift",
"algorithms/QuicksortTests.swift",
"datastructures/MatrixTests.swift",
"datastructures/QueueTests.swift"
],
"target_dependencies" : [
"emu"
],
"type" : "test"
},
{
"c99name" : "emu",
"module_type" : "SwiftTarget",
"name" : "emu",
"path" : "Sources/emu",
"product_dependencies" : [
"Rainbow"
],
"product_memberships" : [
"emu"
],
"sources" : [
"Util.swift",
"algorithms/BFS.swift",
"algorithms/FordFulkerson.swift",
"algorithms/InsertionSort.swift",
"algorithms/Quicksort.swift",
"datastructures/Matrix.swift",
"datastructures/Queue.swift"
],
"target_dependencies" : [
"functional",
"threadsafe"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.29s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (2.20s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/22] Emitting module threadsafe
[7/22] Compiling threadsafe Atomic.swift
[8/22] Compiling functional AVLTree.swift
[9/22] Compiling functional Atomic.swift
[10/22] Emitting module functional
[11/23] Compiling Rainbow StringGenerator.swift
[12/24] Emitting module Rainbow
[14/24] Compiling Rainbow Style.swift
[15/24] Compiling threadsafe Lock.swift
[16/25] Compiling Rainbow String+Rainbow.swift
[17/25] Compiling Rainbow XcodeColorsSupport.swift
[19/25] Compiling Rainbow Color.swift
[20/25] Compiling Rainbow ControlCode.swift
[21/25] Compiling Rainbow BackgroundColor.swift
[22/25] Compiling Rainbow CodesParser.swift
[23/25] Compiling Rainbow ModesExtractor.swift
[24/25] Compiling Rainbow OutputTarget.swift
[25/25] Compiling Rainbow Rainbow.swift
[27/34] Compiling emu FordFulkerson.swift
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
[28/34] Compiling emu BFS.swift
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
[29/34] Compiling emu Queue.swift
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
[30/34] Compiling emu InsertionSort.swift
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
[31/34] Compiling emu Matrix.swift
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
[32/34] Compiling emu Quicksort.swift
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/34] Emitting module emu
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
[34/34] Compiling emu Util.swift
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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/18] Compiling Rainbow Style.swift
[3/19] Emitting module functional
[4/19] Emitting module threadsafe
[5/19] Compiling threadsafe Atomic.swift
[6/19] Compiling threadsafe Lock.swift
[7/20] Compiling Rainbow StringGenerator.swift
[9/20] Compiling Rainbow XcodeColorsSupport.swift
[10/20] Compiling functional Atomic.swift
[11/20] Compiling functional AVLTree.swift
[12/21] Compiling Rainbow Color.swift
[13/21] Compiling Rainbow ControlCode.swift
[14/21] Compiling Rainbow Rainbow.swift
[15/21] Compiling Rainbow String+Rainbow.swift
[16/21] Compiling Rainbow BackgroundColor.swift
[17/21] Compiling Rainbow CodesParser.swift
[18/21] Emitting module Rainbow
[19/21] Compiling Rainbow ModesExtractor.swift
[20/21] Compiling Rainbow OutputTarget.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/30] Emitting module emu
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
[24/30] Compiling emu BFS.swift
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
[25/30] Compiling emu Util.swift
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
[26/30] Compiling emu Queue.swift
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
[27/30] Compiling emu Matrix.swift
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
[28/30] Compiling emu InsertionSort.swift
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
[29/30] Compiling emu Quicksort.swift
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
[30/30] Compiling emu FordFulkerson.swift
/host/spi-builder-workspace/Sources/emu/Util.swift:17:19: error: no such module 'Darwin.C'
15 | }
16 | #else
17 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
18 | func randInt(_ max: Int) -> Int {
19 | return Int(arc4random_uniform(UInt32(max)))
BUILD FAILURE 6.1 wasm