The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build snap-dependencies, reference 0.1.0 (fe4f1b), with Swift 6.1 for Wasm on 3 Sep 2025 20:04:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/simonnickel/snap-dependencies.git
Reference: 0.1.0
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/simonnickel/snap-dependencies
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at fe4f1b0 Update packages
Cloned https://github.com/simonnickel/snap-dependencies.git
Revision (git rev-parse @):
fe4f1b053fc3c11f86bc088518487a6c4a037b11
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonnickel/snap-dependencies.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/simonnickel/snap-dependencies.git
https://github.com/simonnickel/snap-dependencies.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "snap-foundation",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/simonnickel/snap-foundation.git"
    }
  ],
  "manifest_display_name" : "snap-dependencies",
  "name" : "snap-dependencies",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SnapDependencies",
      "targets" : [
        "SnapDependencies"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SnapDependenciesTests",
      "module_type" : "SwiftTarget",
      "name" : "SnapDependenciesTests",
      "path" : "Sources/SnapDependenciesTests",
      "sources" : [
        "DependenciesTests.swift",
        "Setup/Dependencies+Setup.swift",
        "Setup/Service.swift",
        "Setup/ServiceWithServiceInInit.swift"
      ],
      "target_dependencies" : [
        "SnapDependencies"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SnapDependencies",
      "module_type" : "SwiftTarget",
      "name" : "SnapDependencies",
      "path" : "Sources/SnapDependencies",
      "product_dependencies" : [
        "SnapFoundation"
      ],
      "product_memberships" : [
        "SnapDependencies"
      ],
      "sources" : [
        "Dependencies+Container.swift",
        "Dependencies+Context.swift",
        "Dependencies.swift",
        "Dependency+PropertyWrapper.swift",
        "DependencyForwardingFactory.swift",
        "Helper/Logger.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 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/simonnickel/snap-foundation.git
[1/135] Fetching snap-foundation
Fetched https://github.com/simonnickel/snap-foundation.git from cache (0.23s)
error: package 'snap-foundation' @ 04929cb99ce8d552e61d7a5cb9cc65375fddd063 is using Swift tools version 6.2.0 but the installed version is 6.1.0 in https://github.com/simonnickel/snap-foundation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Updating https://github.com/simonnickel/snap-foundation.git
Updated https://github.com/simonnickel/snap-foundation.git (0.14s)
error: package 'snap-foundation' @ 04929cb99ce8d552e61d7a5cb9cc65375fddd063 is using Swift tools version 6.2.0 but the installed version is 6.1.0 in https://github.com/simonnickel/snap-foundation.git
BUILD FAILURE 6.1 wasm