The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Server with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.30.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bteapot/Server.git
Reference: 2.0.3
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/bteapot/Server
 * tag               2.0.3      -> FETCH_HEAD
HEAD is now at df3dbc6 Подтянуто под Swift 5.10.
Cloned https://github.com/bteapot/Server.git
Revision (git rev-parse @):
df3dbc6f5b3a4125d0fd7282b5661ae05fcad2f4
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/bteapot/Server.git at 2.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/bteapot/Server.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling Server Reachable.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/12] Compiling Server Method.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/12] Compiling Server Tools.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/12] Emitting module Server
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/12] Compiling Server Errors.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/12] Compiling Server Config.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/12] Compiling Server Delegate.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/12] Compiling Server Send.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/12] Compiling Server Server.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[12/12] Compiling Server Take.swift
/host/spi-builder-workspace/Sources/Server/Reachable.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
[2/10] Compiling Server Method.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[3/10] Compiling Server Reachable.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/11] Compiling Server Take.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/11] Compiling Server Server.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/11] Compiling Server Errors.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Emitting module Server
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/11] Compiling Server Config.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/11] Compiling Server Delegate.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/11] Compiling Server Send.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/11] Compiling Server Tools.swift
/host/spi-builder-workspace/Sources/Server/Reachable.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1