The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Shift with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/vinhnx/Shift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-numerics
[1/5277] Fetching swift-numerics
[5067/10458] Fetching swift-numerics, swift-algorithms
Fetched https://github.com/apple/swift-numerics from cache (0.46s)
Fetched https://github.com/apple/swift-algorithms from cache (0.46s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.0.0 (0.45s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.47s)
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/5] Write sources
[3/5] Compiling _NumericsShims _NumericsShims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/15] Compiling RealModule ElementaryFunctions.swift
[7/15] Compiling RealModule Float+Real.swift
[8/16] Compiling RealModule RealFunctions.swift
[9/16] Compiling RealModule AugmentedArithmetic.swift
[10/16] Compiling RealModule Double+Real.swift
[11/16] Emitting module RealModule
[12/16] Compiling RealModule AlgebraicField.swift
[13/16] Compiling RealModule ApproximateEquality.swift
[14/16] Compiling RealModule Float80+Real.swift
[15/16] Compiling RealModule Float16+Real.swift
[16/16] Compiling RealModule Real.swift
[18/40] Compiling Algorithms FirstNonNil.swift
[19/40] Compiling Algorithms FlattenCollection.swift
[20/40] Compiling Algorithms Indexed.swift
[21/40] Compiling Algorithms Compacted.swift
[22/40] Compiling Algorithms Cycle.swift
[23/40] Compiling Algorithms EitherSequence.swift
[24/43] Compiling Algorithms RandomSample.swift
[25/43] Compiling Algorithms Reductions.swift
[26/43] Compiling Algorithms Rotate.swift
[27/43] Compiling Algorithms Partition.swift
[28/43] Compiling Algorithms Permutations.swift
[29/43] Compiling Algorithms Product.swift
[30/43] Compiling Algorithms Trim.swift
[31/43] Compiling Algorithms Unique.swift
[32/43] Compiling Algorithms Windows.swift
[33/43] Compiling Algorithms AdjacentPairs.swift
[34/43] Compiling Algorithms Chain.swift
[35/43] Compiling Algorithms Chunked.swift
[36/43] Compiling Algorithms Combinations.swift
[37/43] Compiling Algorithms Split.swift
[38/43] Compiling Algorithms Stride.swift
[39/43] Compiling Algorithms Suffix.swift
[40/43] Compiling Algorithms Intersperse.swift
[41/43] Compiling Algorithms Joined.swift
[42/43] Compiling Algorithms MinMax.swift
[43/43] 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
[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/3] Emitting module Shift
/host/spi-builder-workspace/Sources/Shift/Shift.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[3/3] 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.10 linux

Build Machine: Linux 2