Build Information
Failed to build Shift, reference main (4162aa
), with Swift 5.9 for Linux on 20 Mar 2025 16:20:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.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: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/vinhnx/Shift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-algorithms
[1/5863] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms (0.82s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.52s)
Fetching https://github.com/apple/swift-numerics.git
[1/5659] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.63s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.46s)
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/1] Compiling _NumericsShims _NumericsShims.c
[2/11] Compiling RealModule AugmentedArithmetic.swift
[3/11] Compiling RealModule Double+Real.swift
[4/12] Compiling RealModule Float+Real.swift
[5/12] Compiling RealModule ElementaryFunctions.swift
[6/12] Compiling RealModule Float16+Real.swift
[7/12] Emitting module RealModule
[8/12] Compiling RealModule AlgebraicField.swift
[9/12] Compiling RealModule ApproximateEquality.swift
[10/12] Compiling RealModule RealFunctions.swift
[11/12] Compiling RealModule Float80+Real.swift
[12/12] Compiling RealModule Real.swift
[15/39] Compiling Algorithms Compacted.swift
[16/39] Compiling Algorithms Cycle.swift
[17/39] Compiling Algorithms EitherSequence.swift
[18/39] Compiling Algorithms FirstNonNil.swift
[19/42] Compiling Algorithms Split.swift
[20/42] Compiling Algorithms Stride.swift
[21/42] Compiling Algorithms Suffix.swift
[22/42] Compiling Algorithms Joined.swift
[23/42] Compiling Algorithms Keyed.swift
[24/42] Compiling Algorithms MinMax.swift
[25/42] Compiling Algorithms Partition.swift
[26/42] Compiling Algorithms Permutations.swift
[27/42] Compiling Algorithms Product.swift
[28/42] Compiling Algorithms FlattenCollection.swift
[29/42] Compiling Algorithms Grouped.swift
[30/42] Compiling Algorithms Indexed.swift
[31/42] Compiling Algorithms Intersperse.swift
[32/42] Compiling Algorithms RandomSample.swift
[33/42] Compiling Algorithms Reductions.swift
[34/42] Compiling Algorithms Rotate.swift
[35/42] Compiling Algorithms Trim.swift
[36/42] Compiling Algorithms Unique.swift
[37/42] Compiling Algorithms Windows.swift
[38/42] Compiling Algorithms AdjacentPairs.swift
[39/42] Compiling Algorithms Chain.swift
[40/42] Compiling Algorithms Chunked.swift
[41/42] Compiling Algorithms Combinations.swift
[42/42] Emitting module Algorithms
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/46] Emitting module Shift
/host/spi-builder-workspace/Sources/Shift/Shift.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[46/46] Compiling Shift Shift.swift
/host/spi-builder-workspace/Sources/Shift/Shift.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
BUILD FAILURE 5.9 linux