The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Shift with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.25.3
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 10ef7a6 Update README.md
Cloned https://github.com/vinhnx/Shift.git
Revision (git rev-parse @):
10ef7a6ddceed0b67c8d4b0355a24a83a1257b9f
SUCCESS checkout https://github.com/vinhnx/Shift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-numerics
[1/5123] Fetching swift-numerics
[1846/10234] Fetching swift-numerics, swift-algorithms
Fetched https://github.com/apple/swift-numerics (0.44s)
Fetched https://github.com/apple/swift-algorithms (0.45s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.0.0 (0.32s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.54s)
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Building for debugging...
[0/1] Compiling _NumericsShims _NumericsShims.c
[2/11] Emitting module RealModule
[3/12] Compiling RealModule AlgebraicField.swift
[4/12] Compiling RealModule ApproximateEquality.swift
[5/12] Compiling RealModule ElementaryFunctions.swift
[6/12] Compiling RealModule Float+Real.swift
[7/12] Compiling RealModule AugmentedArithmetic.swift
[8/12] Compiling RealModule Double+Real.swift
[9/12] Compiling RealModule RealFunctions.swift
[10/12] Compiling RealModule Float16+Real.swift
[11/12] Compiling RealModule Real.swift
[12/12] Compiling RealModule Float80+Real.swift
[15/37] Compiling Algorithms FirstNonNil.swift
[16/37] Compiling Algorithms FlattenCollection.swift
[17/37] Compiling Algorithms Indexed.swift
[18/40] Compiling Algorithms Compacted.swift
[19/40] Compiling Algorithms Cycle.swift
[20/40] Compiling Algorithms EitherSequence.swift
[21/40] Compiling Algorithms RandomSample.swift
[22/40] Compiling Algorithms Reductions.swift
[23/40] Compiling Algorithms Rotate.swift
[24/40] Compiling Algorithms Split.swift
[25/40] Compiling Algorithms Stride.swift
[26/40] Compiling Algorithms Suffix.swift
[27/40] Compiling Algorithms Partition.swift
[28/40] Compiling Algorithms Permutations.swift
[29/40] Compiling Algorithms Product.swift
[30/40] Compiling Algorithms Trim.swift
[31/40] Compiling Algorithms Unique.swift
[32/40] Compiling Algorithms Windows.swift
[33/40] Compiling Algorithms Intersperse.swift
[34/40] Compiling Algorithms Joined.swift
[35/40] Compiling Algorithms MinMax.swift
[36/40] Emitting module Algorithms
[37/40] Compiling Algorithms AdjacentPairs.swift
[38/40] Compiling Algorithms Chain.swift
[39/40] Compiling Algorithms Chunked.swift
[40/40] Compiling Algorithms Combinations.swift
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'
import SwiftUI
       ^
[44/44] Compiling Shift Shift.swift
/host/spi-builder-workspace/Sources/Shift/Shift.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[0/1] Planning build
Building for debugging...
[1/1] Emitting module RealModule
[4/4] Emitting module Algorithms
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module Shift
/host/spi-builder-workspace/Sources/Shift/Shift.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/8] Compiling Shift Shift.swift
/host/spi-builder-workspace/Sources/Shift/Shift.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 1