The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MediaViewer, reference 0.2.0 (85f016), with Swift 6.1 for Wasm on 17 Dec 2025 21:42:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jrsaruo/MediaViewer.git
Reference: 0.2.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/jrsaruo/MediaViewer
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 85f0163 Merge pull request #120 from jrsaruo/maintenance/non-exhaustive-enums
Cloned https://github.com/jrsaruo/MediaViewer.git
Revision (git rev-parse @):
85f01636ba523a846a1d9a977eed934a0174fa0c
SUCCESS checkout https://github.com/jrsaruo/MediaViewer.git at 0.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jrsaruo/MediaViewer.git
https://github.com/jrsaruo/MediaViewer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MediaViewer",
  "name" : "MediaViewer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "MediaViewer",
      "targets" : [
        "MediaViewer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MediaViewerTests",
      "module_type" : "SwiftTarget",
      "name" : "MediaViewerTests",
      "path" : "Tests/MediaViewerTests",
      "sources" : [
        "AnyMediaIdentifierTests.swift",
        "MediaViewerViewModelTests.swift",
        "SequenceExtensionTests.swift"
      ],
      "target_dependencies" : [
        "MediaViewer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MediaViewer",
      "module_type" : "SwiftTarget",
      "name" : "MediaViewer",
      "path" : "Sources/MediaViewer",
      "product_memberships" : [
        "MediaViewer"
      ],
      "sources" : [
        "AnyMediaIdentifier.swift",
        "Extensions/MediaViewerViewController+UI.swift",
        "Extensions/Sequence+Extension.swift",
        "Extensions/UICollectionView+Extension.swift",
        "Extensions/UIImageView+Extension.swift",
        "Extensions/UIView+Extension.swift",
        "Extensions/UIViewControllerContextTransitioning+Extension.swift",
        "Media.swift",
        "MediaViewerDataSource.swift",
        "MediaViewerDelegate.swift",
        "MediaViewerOnePage/MediaViewerOnePageView.swift",
        "MediaViewerOnePage/MediaViewerOnePageViewController.swift",
        "MediaViewerViewController.swift",
        "MediaViewerViewModel.swift",
        "PageControlBar/MediaViewerPageControlBar.swift",
        "PageControlBar/MediaViewerPageControlBarLayout.swift",
        "PageControlBar/PageControlBarThumbnailCell.swift",
        "Transitions/MediaViewerInteractivePopTransition.swift",
        "Transitions/MediaViewerTransition.swift",
        "Transitions/UIViewTransitioningConfiguration.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
BUILD FAILURE 6.1 wasm