Build Information
Failed to build Shift, reference 0.11.0 (bfcfcb
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 16:29:34 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vinhnx/Shift.git
Reference: 0.11.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/vinhnx/Shift
* tag 0.11.0 -> FETCH_HEAD
HEAD is now at bfcfcb6 More proper way to handle Event Kit request handler with concurrency
Cloned https://github.com/vinhnx/Shift.git
Revision (git rev-parse @):
bfcfcb6368925a1f4862725691db310ad1637f06
SUCCESS checkout https://github.com/vinhnx/Shift.git at 0.11.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/vinhnx/Shift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-algorithms
[1/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.44s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.85s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.82s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.27s)
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
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Building for debugging...
[0/5] Write sources
[3/5] Compiling _NumericsShims _NumericsShims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/15] Emitting module RealModule
[7/16] Compiling RealModule Float80+Real.swift
[8/16] Compiling RealModule Real.swift
[9/16] Compiling RealModule Float16+Real.swift
[10/16] Compiling RealModule Float+Real.swift
[11/16] Compiling RealModule RealFunctions.swift
[12/16] Compiling RealModule AugmentedArithmetic.swift
[13/16] Compiling RealModule Double+Real.swift
[14/16] Compiling RealModule AlgebraicField.swift
[15/16] Compiling RealModule ApproximateEquality.swift
[16/16] Compiling RealModule ElementaryFunctions.swift
[18/42] Compiling Algorithms RandomSample.swift
[19/42] Compiling Algorithms Reductions.swift
[20/42] Compiling Algorithms Rotate.swift
[21/42] Compiling Algorithms Split.swift
[22/42] Compiling Algorithms Stride.swift
[23/42] Compiling Algorithms Suffix.swift
[24/42] Compiling Algorithms Partition.swift
[25/42] Compiling Algorithms Permutations.swift
[26/42] Compiling Algorithms Product.swift
[27/42] Compiling Algorithms Joined.swift
[28/42] Compiling Algorithms Keyed.swift
[29/42] Compiling Algorithms MinMax.swift
[30/45] Compiling Algorithms Trim.swift
[31/45] Compiling Algorithms Unique.swift
[32/45] Compiling Algorithms Windows.swift
[33/45] Compiling Algorithms FlattenCollection.swift
[34/45] Compiling Algorithms Grouped.swift
[35/45] Compiling Algorithms Indexed.swift
[36/45] Compiling Algorithms Intersperse.swift
[37/45] Compiling Algorithms AdjacentPairs.swift
[38/45] Compiling Algorithms Chain.swift
[39/45] Compiling Algorithms Chunked.swift
[40/45] Compiling Algorithms Combinations.swift
[41/45] Compiling Algorithms Compacted.swift
[42/45] Compiling Algorithms Cycle.swift
[43/45] Compiling Algorithms EitherSequence.swift
[44/45] Compiling Algorithms FirstNonNil.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:7:8: error: no such module 'Foundation'
5 | */
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 | import SwiftUI
9 | import EventKit
[48/48] Compiling Shift Shift.swift
/host/spi-builder-workspace/Sources/Shift/Shift.swift:7:8: error: no such module 'Foundation'
5 | */
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 | import SwiftUI
9 | import EventKit
BUILD FAILURE 6.2 wasm