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 SwiftToastAlert, reference main (af068b), with Swift 6.1 for Linux on 29 Apr 2025 05:14:17 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EngOmarElsayed/SwiftToastAlert.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/EngOmarElsayed/SwiftToastAlert
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at af068b8 Update README.md
Cloned https://github.com/EngOmarElsayed/SwiftToastAlert.git
Revision (git rev-parse @):
af068b88b0b20949fae23a133ec0f8eab5167302
SUCCESS checkout https://github.com/EngOmarElsayed/SwiftToastAlert.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/EngOmarElsayed/SwiftToastAlert.git
https://github.com/EngOmarElsayed/SwiftToastAlert.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftToastAlert",
  "name" : "SwiftToastAlert",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftToastAlert",
      "targets" : [
        "SwiftToastAlert"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftToastAlertTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftToastAlertTests",
      "path" : "Tests/SwiftToastAlertTests",
      "sources" : [
        "SwiftToastAlertTests.swift"
      ],
      "target_dependencies" : [
        "SwiftToastAlert"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftToastAlert",
      "module_type" : "SwiftTarget",
      "name" : "SwiftToastAlert",
      "path" : "Sources/SwiftToastAlert",
      "product_memberships" : [
        "SwiftToastAlert"
      ],
      "sources" : [
        "AlertModifier/InteractiveToastAlert.swift",
        "AlertModifier/ToastAlert.swift",
        "AlertSubViews/AlertDisplayView.swift",
        "AlertSubViews/AlertIconView.swift",
        "AlertSubViews/AlertTextView.swift",
        "Examples/SwiftToastAlert.swift",
        "ExtensionForView/ExtensionForView.swift",
        "Models/AlertIconAppearance.swift",
        "Models/AlertPosition.swift",
        "Models/AlertTextAppearance.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling SwiftToastAlert AlertPosition.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[4/12] Compiling SwiftToastAlert ExtensionForView.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[5/12] Compiling SwiftToastAlert AlertIconAppearance.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[6/13] Compiling SwiftToastAlert SwiftToastAlert.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[7/13] Compiling SwiftToastAlert AlertTextAppearance.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Emitting module SwiftToastAlert
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[9/13] Compiling SwiftToastAlert AlertTextView.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[10/13] Compiling SwiftToastAlert InteractiveToastAlert.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[11/13] Compiling SwiftToastAlert ToastAlert.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[12/13] Compiling SwiftToastAlert AlertDisplayView.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[13/13] Compiling SwiftToastAlert AlertIconView.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling SwiftToastAlert AlertTextView.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[3/12] Compiling SwiftToastAlert SwiftToastAlert.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[4/12] Compiling SwiftToastAlert AlertDisplayView.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[5/12] Compiling SwiftToastAlert AlertIconView.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/12] Emitting module SwiftToastAlert
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[7/12] Compiling SwiftToastAlert InteractiveToastAlert.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[8/12] Compiling SwiftToastAlert ToastAlert.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[9/12] Compiling SwiftToastAlert AlertPosition.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[10/12] Compiling SwiftToastAlert AlertIconAppearance.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[11/12] Compiling SwiftToastAlert ExtensionForView.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
[12/12] Compiling SwiftToastAlert AlertTextAppearance.swift
/host/spi-builder-workspace/Sources/SwiftToastAlert/AlertModifier/InteractiveToastAlert.swift:27:8: error: no such module 'SwiftUI'
 25 |
 26 |
 27 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 28 |
 29 | internal struct InteractiveToastAlert<S>: ViewModifier where S : ShapeStyle {
BUILD FAILURE 6.1 linux