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 Navigator, reference main (ad873c), with Swift 6.1 for Wasm on 29 May 2025 05:55:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/insub4067/Navigator.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/insub4067/Navigator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ad873c8 Update Navigator+present.swift
Cloned https://github.com/insub4067/Navigator.git
Revision (git rev-parse @):
ad873c8e301ddca522fecfb63da77301f7560092
SUCCESS checkout https://github.com/insub4067/Navigator.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/insub4067/Navigator.git
https://github.com/insub4067/Navigator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "panmodal",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.8",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MightyCombine/PanModal.git"
    }
  ],
  "manifest_display_name" : "Navigator",
  "name" : "Navigator",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Navigator",
      "targets" : [
        "Navigator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Navigator",
      "module_type" : "SwiftTarget",
      "name" : "Navigator",
      "path" : "Sources/Navigator",
      "product_dependencies" : [
        "PanModal"
      ],
      "product_memberships" : [
        "Navigator"
      ],
      "sources" : [
        "Extension/View+.swift",
        "Navigator+alert.swift",
        "Navigator+bottomSheet.swift",
        "Navigator+present.swift",
        "Navigator.swift",
        "Wrapper/ModalWrapper.swift",
        "Wrapper/ViewWrapper.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/MightyCombine/PanModal.git
[1/610] Fetching panmodal
Fetched https://github.com/MightyCombine/PanModal.git from cache (1.16s)
Computing version for https://github.com/MightyCombine/PanModal.git
Computed https://github.com/MightyCombine/PanModal.git at 1.2.9 (3.16s)
Creating working copy for https://github.com/MightyCombine/PanModal.git
Working copy of https://github.com/MightyCombine/PanModal.git resolved at 1.2.9
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/16] Compiling PanModal UIViewController+PanModalPresenter.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[5/16] Compiling PanModal DimmedView.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/17] Compiling PanModal PanModalHeight.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[7/17] Compiling PanModal PanModalPresentable+Defaults.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[8/17] Compiling PanModal PanModalAnimator.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[9/17] Compiling PanModal PanModalPresentationAnimator.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[10/17] Compiling PanModal PanModalPresentationController.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[11/17] Compiling PanModal PanModalPresentationDelegate.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[12/17] Compiling PanModal PanModalPresentable+LayoutHelpers.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[13/17] Compiling PanModal PanModalPresentable+UIViewController.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[14/17] Emitting module PanModal
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[15/17] Compiling PanModal PanContainerView.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[16/17] Compiling PanModal PanModalPresentable.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[17/17] Compiling PanModal PanModalPresenter.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/14] Emitting module PanModal
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[3/15] Compiling PanModal PanModalPresentationController.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[4/15] Compiling PanModal PanModalPresentationDelegate.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[5/15] Compiling PanModal DimmedView.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[6/15] Compiling PanModal UIViewController+PanModalPresenter.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[7/15] Compiling PanModal PanModalAnimator.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[8/15] Compiling PanModal PanModalPresentationAnimator.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[9/15] Compiling PanModal PanModalHeight.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[10/15] Compiling PanModal PanModalPresentable+Defaults.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[11/15] Compiling PanModal PanModalPresentable+LayoutHelpers.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[12/15] Compiling PanModal PanModalPresentable+UIViewController.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[13/15] Compiling PanModal PanModalPresentable.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[14/15] Compiling PanModal PanModalPresenter.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[15/15] Compiling PanModal PanContainerView.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
BUILD FAILURE 6.1 wasm