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 Shift, reference main (4162aa), with Swift 6.1 for Wasm on 28 May 2025 22:23:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/vinhnx/Shift.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/vinhnx/Shift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4162aab Merge pull request #16 from vinhnx/vinhnx-patch-2
Cloned https://github.com/vinhnx/Shift.git
Revision (git rev-parse @):
4162aab0e4096252c18fe4b01b4af23456a0f7bb
SUCCESS checkout https://github.com/vinhnx/Shift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vinhnx/Shift.git
https://github.com/vinhnx/Shift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms"
    }
  ],
  "manifest_display_name" : "Shift",
  "name" : "Shift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Shift",
      "targets" : [
        "Shift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShiftTests",
      "module_type" : "SwiftTarget",
      "name" : "ShiftTests",
      "path" : "Tests/ShiftTests",
      "sources" : [
        "EventKitWrapperTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Shift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Shift",
      "module_type" : "SwiftTarget",
      "name" : "Shift",
      "path" : "Sources/Shift",
      "product_dependencies" : [
        "Algorithms"
      ],
      "product_memberships" : [
        "Shift"
      ],
      "sources" : [
        "Shift.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/apple/swift-algorithms
[1/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.67s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (1.62s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.69s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.60s)
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Building for debugging...
[0/5] Write sources
[3/5] Compiling _NumericsShims _NumericsShims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/15] Compiling RealModule Real.swift
[7/16] Compiling RealModule Float80+Real.swift
[8/16] Compiling RealModule ElementaryFunctions.swift
[9/16] Compiling RealModule Float16+Real.swift
[10/16] Compiling RealModule Float+Real.swift
[11/16] Emitting module RealModule
[12/16] Compiling RealModule AlgebraicField.swift
[13/16] Compiling RealModule ApproximateEquality.swift
[14/16] Compiling RealModule AugmentedArithmetic.swift
[15/16] Compiling RealModule Double+Real.swift
[16/16] Compiling RealModule RealFunctions.swift
[18/42] Compiling Algorithms Split.swift
[19/42] Compiling Algorithms Stride.swift
[20/42] Compiling Algorithms Suffix.swift
[21/45] Compiling Algorithms RandomSample.swift
[22/45] Compiling Algorithms Reductions.swift
[23/45] Compiling Algorithms Rotate.swift
[24/45] Compiling Algorithms Trim.swift
[25/45] Compiling Algorithms Unique.swift
[26/45] Compiling Algorithms Windows.swift
[27/45] Compiling Algorithms Partition.swift
[28/45] Compiling Algorithms Permutations.swift
[29/45] Compiling Algorithms Product.swift
[30/45] Compiling Algorithms Compacted.swift
[31/45] Compiling Algorithms Cycle.swift
[32/45] Compiling Algorithms EitherSequence.swift
[33/45] Compiling Algorithms FirstNonNil.swift
[34/45] Compiling Algorithms FlattenCollection.swift
[35/45] Compiling Algorithms Grouped.swift
[36/45] Compiling Algorithms Indexed.swift
[37/45] Compiling Algorithms Intersperse.swift
[38/45] Compiling Algorithms Joined.swift
[39/45] Compiling Algorithms Keyed.swift
[40/45] Compiling Algorithms MinMax.swift
[41/45] Compiling Algorithms AdjacentPairs.swift
[42/45] Compiling Algorithms Chain.swift
[43/45] Compiling Algorithms Chunked.swift
[44/45] Compiling Algorithms Combinations.swift
[45/45] Emitting module Algorithms
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/48] Emitting module Shift
/host/spi-builder-workspace/Sources/Shift/Shift.swift:8:8: error: no such module 'SwiftUI'
  6 |
  7 | import Foundation
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 | import EventKit
 10 | import Algorithms
[48/48] Compiling Shift Shift.swift
/host/spi-builder-workspace/Sources/Shift/Shift.swift:8:8: error: no such module 'SwiftUI'
  6 |
  7 | import Foundation
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 | import EventKit
 10 | import Algorithms
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
[2/11] Compiling RealModule Real.swift
[3/11] Compiling RealModule Float80+Real.swift
[4/12] Compiling RealModule ElementaryFunctions.swift
[5/12] Compiling RealModule Float+Real.swift
[6/12] Compiling RealModule Float16+Real.swift
[7/12] Compiling RealModule RealFunctions.swift
[8/12] Compiling RealModule AugmentedArithmetic.swift
[9/12] Compiling RealModule Double+Real.swift
[10/12] Compiling RealModule AlgebraicField.swift
[11/12] Compiling RealModule ApproximateEquality.swift
[12/12] Emitting module RealModule
[14/38] Compiling Algorithms Split.swift
[15/38] Compiling Algorithms Stride.swift
[16/38] Compiling Algorithms Suffix.swift
[17/38] Compiling Algorithms Compacted.swift
[18/38] Compiling Algorithms Cycle.swift
[19/38] Compiling Algorithms EitherSequence.swift
[20/38] Compiling Algorithms FirstNonNil.swift
[21/41] Compiling Algorithms Joined.swift
[22/41] Compiling Algorithms Keyed.swift
[23/41] Compiling Algorithms MinMax.swift
[24/41] Compiling Algorithms Partition.swift
[25/41] Compiling Algorithms Permutations.swift
[26/41] Compiling Algorithms Product.swift
[27/41] Compiling Algorithms RandomSample.swift
[28/41] Compiling Algorithms Reductions.swift
[29/41] Compiling Algorithms Rotate.swift
[30/41] Compiling Algorithms FlattenCollection.swift
[31/41] Compiling Algorithms Grouped.swift
[32/41] Compiling Algorithms Indexed.swift
[33/41] Compiling Algorithms Intersperse.swift
[34/41] Compiling Algorithms Trim.swift
[35/41] Compiling Algorithms Unique.swift
[36/41] Compiling Algorithms Windows.swift
[37/41] Compiling Algorithms AdjacentPairs.swift
[38/41] Compiling Algorithms Chain.swift
[39/41] Compiling Algorithms Chunked.swift
[40/41] Compiling Algorithms Combinations.swift
[41/41] Emitting module Algorithms
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/44] Emitting module Shift
/host/spi-builder-workspace/Sources/Shift/Shift.swift:8:8: error: no such module 'SwiftUI'
  6 |
  7 | import Foundation
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 | import EventKit
 10 | import Algorithms
[44/44] Compiling Shift Shift.swift
/host/spi-builder-workspace/Sources/Shift/Shift.swift:8:8: error: no such module 'SwiftUI'
  6 |
  7 | import Foundation
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 | import EventKit
 10 | import Algorithms
BUILD FAILURE 6.1 wasm