The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ToastUI, reference main (146e2f), with Swift 6.1 for Android on 29 May 2025 14:52:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/quanshousio/ToastUI.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/quanshousio/ToastUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 146e2f5 Merge pull request #38 from quanshousio/4.0.0
Cloned https://github.com/quanshousio/ToastUI.git
Revision (git rev-parse @):
146e2f52c132f681fbf798c8c9f0eb52f021f346
SUCCESS checkout https://github.com/quanshousio/ToastUI.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/quanshousio/ToastUI.git
https://github.com/quanshousio/ToastUI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ToastUI",
  "name" : "ToastUI",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "ToastUI",
      "targets" : [
        "ToastUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ToastUI",
      "module_type" : "SwiftTarget",
      "name" : "ToastUI",
      "path" : "Sources/ToastUI",
      "product_memberships" : [
        "ToastUI"
      ],
      "sources" : [
        "DefaultToastViewStyle.swift",
        "EnvironmentValues.swift",
        "ToastUI.swift",
        "ToastView.swift",
        "ToastViewBridge.swift",
        "ToastViewController.swift",
        "ToastViewHostingController.swift",
        "ToastViewStyle.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling ToastUI ToastViewHostingController.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Emitting module ToastUI
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
[5/11] Compiling ToastUI DefaultToastViewStyle.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
[6/11] Compiling ToastUI ToastViewStyle.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
[7/11] Compiling ToastUI ToastViewController.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
[8/11] Compiling ToastUI ToastView.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
[9/11] Compiling ToastUI ToastUI.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
[10/11] Compiling ToastUI EnvironmentValues.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
[11/11] Compiling ToastUI ToastViewBridge.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling ToastUI ToastUI.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
[3/9] Compiling ToastUI ToastView.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
[4/9] Compiling ToastUI ToastViewBridge.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
[5/10] Compiling ToastUI EnvironmentValues.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/10] Emitting module ToastUI
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
[7/10] Compiling ToastUI DefaultToastViewStyle.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
[8/10] Compiling ToastUI ToastViewController.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
[9/10] Compiling ToastUI ToastViewHostingController.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
[10/10] Compiling ToastUI ToastViewStyle.swift
/host/spi-builder-workspace/Sources/ToastUI/DefaultToastViewStyle.swift:8:8: error: no such module 'SwiftUI'
  6 | //
  7 |
  8 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  9 |
 10 | /// A concrete, type-erased ``ToastViewStyle``.
BUILD FAILURE 6.1 android