Build Information
Failed to build WWMachineLearning_MNIST, reference 1.0.1 (e719c4), with Swift 6.2 for Wasm on 3 Sep 2025 04:20:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWMachineLearning_MNIST.git
Reference: 1.0.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/William-Weng/WWMachineLearning_MNIST
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at e719c49 - update WWMachineLearning
Cloned https://github.com/William-Weng/WWMachineLearning_MNIST.git
Revision (git rev-parse @):
e719c497db4fc79bf92885699bab1a6eb2f75e3c
SUCCESS checkout https://github.com/William-Weng/WWMachineLearning_MNIST.git at 1.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/William-Weng/WWMachineLearning_MNIST.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/William-Weng/WWMachineLearning_Resnet50
[1/121] Fetching wwmachinelearning_resnet50
Fetched https://github.com/William-Weng/WWMachineLearning_Resnet50 from cache (0.66s)
Computing version for https://github.com/William-Weng/WWMachineLearning_Resnet50
Computed https://github.com/William-Weng/WWMachineLearning_Resnet50 at 1.1.3 (1.24s)
Fetching https://github.com/William-Weng/WWNetworking
[1/421] Fetching wwnetworking
Fetched https://github.com/William-Weng/WWNetworking from cache (0.38s)
Computing version for https://github.com/William-Weng/WWNetworking
Computed https://github.com/William-Weng/WWNetworking at 1.8.0 (0.80s)
Creating working copy for https://github.com/William-Weng/WWMachineLearning_Resnet50
Working copy of https://github.com/William-Weng/WWMachineLearning_Resnet50 resolved at 1.1.3
Creating working copy for https://github.com/William-Weng/WWNetworking
Working copy of https://github.com/William-Weng/WWNetworking resolved at 1.8.0
Building for debugging...
[0/6] Write sources
[2/6] Copying Privacy
[3/6] Write sources
[4/6] Copying Privacy
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Emitting module WWNetworking
/host/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - typealias
[8/11] Compiling WWNetworking Constant.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - typealias
[9/11] Compiling WWNetworking Networking.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - typealias
[10/11] Compiling WWNetworking resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - typealias
[11/11] Compiling WWNetworking Extension.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/Sources/WWNetworking/Constant.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 |
10 | // MARK: - typealias
BUILD FAILURE 6.2 wasm