The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWMachineLearning_MNIST, reference main (6f779c), with Swift 6.1 for Wasm on 3 Sep 2025 04:20:31 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWMachineLearning_MNIST.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/William-Weng/WWMachineLearning_MNIST
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6f779c4 - add Privacy
Cloned https://github.com/William-Weng/WWMachineLearning_MNIST.git
Revision (git rev-parse @):
6f779c4fb4377caaa3a7f3c7dd8e1dd487633f41
SUCCESS checkout https://github.com/William-Weng/WWMachineLearning_MNIST.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/William-Weng/WWMachineLearning_MNIST.git
https://github.com/William-Weng/WWMachineLearning_MNIST.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "wwmachinelearning_resnet50",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/William-Weng/WWMachineLearning_Resnet50"
    }
  ],
  "manifest_display_name" : "WWMachineLearning_MNIST",
  "name" : "WWMachineLearning_MNIST",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "WWMachineLearning_MNIST",
      "targets" : [
        "WWMachineLearning_MNIST"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "WWMachineLearning_MNIST",
      "module_type" : "SwiftTarget",
      "name" : "WWMachineLearning_MNIST",
      "path" : "Sources/WWMachineLearning_MNIST",
      "product_dependencies" : [
        "WWMachineLearning_Resnet50"
      ],
      "product_memberships" : [
        "WWMachineLearning_MNIST"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/WWMachineLearning_MNIST/Privacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "WWMachineLearning+MNIST.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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.64s)
Computing version for https://github.com/William-Weng/WWMachineLearning_Resnet50
Computed https://github.com/William-Weng/WWMachineLearning_Resnet50 at 1.1.3 (1.47s)
Fetching https://github.com/William-Weng/WWNetworking
[1/421] Fetching wwnetworking
Fetched https://github.com/William-Weng/WWNetworking from cache (0.46s)
Computing version for https://github.com/William-Weng/WWNetworking
Computed https://github.com/William-Weng/WWNetworking at 1.8.0 (1.03s)
Creating working copy for https://github.com/William-Weng/WWNetworking
Working copy of https://github.com/William-Weng/WWNetworking resolved at 1.8.0
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
Building for debugging...
[0/7] Write sources
[3/7] Copying Privacy
[6/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] 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
[9/12] 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
[10/12] 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
[11/12] 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
[12/12] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/6] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] 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
[4/6] 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
[5/6] 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
[6/6] 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
BUILD FAILURE 6.1 wasm