The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build NetworkConnection, reference main (ed299c), with Swift 5.10 for Linux on 3 Sep 2024 21:32:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Melsaeed276/NetworkConnectionManager.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/Melsaeed276/NetworkConnectionManager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ed299ca bugfix
Cloned https://github.com/Melsaeed276/NetworkConnectionManager.git
Revision (git rev-parse @):
ed299cac162f9e934502b9d9fa7ca463b2041020
SUCCESS checkout https://github.com/Melsaeed276/NetworkConnectionManager.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Melsaeed276/NetworkConnectionManager.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:a70f701911643a3a4293839e0e79d56dcc32eed4840549b67640dc1034af7f44
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/NetworkConnection/Resources/Localizable.xcstrings
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling NetworkConnection SwiftUIExt.swift
/host/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/10] Compiling NetworkConnection StringExt.swift
/host/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/10] Compiling NetworkConnection InternetAlert.swift
/host/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/10] Compiling NetworkConnection UIKitExt.swift
/host/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.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/10] Emitting module NetworkConnection
/host/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/10] Compiling NetworkConnection FontExt.swift
/host/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/10] Compiling NetworkConnection NetworkConnection.swift
/host/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/10] Compiling NetworkConnection NetworkStatusController.swift
/host/spi-builder-workspace/Sources/NetworkConnection/NetworkConnection.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.10 linux