The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MultiModal, reference main (100423), with Swift 6.1 for Wasm on 28 May 2025 19:01:12 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/davdroman/MultiModal.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/davdroman/MultiModal
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1004235 Update README.md [skip ci]
Cloned https://github.com/davdroman/MultiModal.git
Revision (git rev-parse @):
1004235ce7bd472d589a030df7bd55e1e4bdea67
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/davdroman/MultiModal.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/davdroman/MultiModal.git
https://github.com/davdroman/MultiModal.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-benchmark",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/google/swift-benchmark"
    }
  ],
  "manifest_display_name" : "MultiModal",
  "name" : "MultiModal",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "MultiModal",
      "targets" : [
        "MultiModal"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Benchmarks",
      "targets" : [
        "Benchmarks"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MultiModalTests",
      "module_type" : "SwiftTarget",
      "name" : "MultiModalTests",
      "path" : "Tests/MultiModalTests",
      "sources" : [
        "MultiModalView.swift"
      ],
      "target_dependencies" : [
        "MultiModal"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MultiModal",
      "module_type" : "SwiftTarget",
      "name" : "MultiModal",
      "path" : "Sources/MultiModal",
      "product_memberships" : [
        "MultiModal",
        "Benchmarks"
      ],
      "sources" : [
        "MultiModal.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Benchmarks",
      "module_type" : "SwiftTarget",
      "name" : "Benchmarks",
      "path" : "Sources/Benchmarks",
      "product_dependencies" : [
        "Benchmark"
      ],
      "product_memberships" : [
        "Benchmarks"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "MultiModal"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
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/google/swift-benchmark
[1/1486] Fetching swift-benchmark
Fetched https://github.com/google/swift-benchmark from cache (0.95s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (1.50s)
Fetching https://github.com/apple/swift-argument-parser
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.02s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.54s)
Creating working copy for https://github.com/google/swift-benchmark
Working copy of https://github.com/google/swift-benchmark resolved at 0.1.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/14] Write sources
[6/14] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/18] Emitting module MultiModal
/host/spi-builder-workspace/Sources/MultiModal/MultiModal.swift:4:8: error: no such module 'SwiftUI'
 2 | // TODO: check if this workaround is still required in iOS 17.
 3 |
 4 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 5 |
 6 | extension View {
[9/18] Compiling MultiModal MultiModal.swift
/host/spi-builder-workspace/Sources/MultiModal/MultiModal.swift:4:8: error: no such module 'SwiftUI'
 2 | // TODO: check if this workaround is still required in iOS 17.
 3 |
 4 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 5 |
 6 | extension View {
[10/18] Emitting module ArgumentParserToolInfo
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/13] Emitting module MultiModal
/host/spi-builder-workspace/Sources/MultiModal/MultiModal.swift:4:8: error: no such module 'SwiftUI'
 2 | // TODO: check if this workaround is still required in iOS 17.
 3 |
 4 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 5 |
 6 | extension View {
[4/13] Compiling MultiModal MultiModal.swift
/host/spi-builder-workspace/Sources/MultiModal/MultiModal.swift:4:8: error: no such module 'SwiftUI'
 2 | // TODO: check if this workaround is still required in iOS 17.
 3 |
 4 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 5 |
 6 | extension View {
[5/13] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 wasm