The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build AlertToast, reference master (76a1c1), with Swift 5.8 for Linux on 12 Nov 2024 14:26:46 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elai950/AlertToast.git
Reference: master
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/elai950/AlertToast
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 76a1c17 Merge pull request #82 from Yvent/support-toast-item
Cloned https://github.com/elai950/AlertToast.git
Revision (git rev-parse @):
76a1c1793cd3443001c20c6033beb84453b25d9f
SUCCESS checkout https://github.com/elai950/AlertToast.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD
https://github.com/elai950/AlertToast.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:d566266dd4ad92a164016b2b7f1872d3752585be93b4a9fa631006f2c48d84d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/4] Emitting module AlertToast
/host/spi-builder-workspace/Sources/AlertToast/ActivityIndicator.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[2/4] Compiling AlertToast AlertToast.swift
/host/spi-builder-workspace/Sources/AlertToast/ActivityIndicator.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[3/4] Compiling AlertToast BlurView.swift
/host/spi-builder-workspace/Sources/AlertToast/ActivityIndicator.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/4] Compiling AlertToast ActivityIndicator.swift
/host/spi-builder-workspace/Sources/AlertToast/ActivityIndicator.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
BUILD FAILURE 5.8 linux