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 ToastKit, reference v26.0.0 (27b976), with Swift 6.1 for macOS (SPM) on 18 Jun 2025 09:27:40 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Desp0o/ToastKit.git
Reference: v26.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Desp0o/ToastKit
 * tag               v26.0.0    -> FETCH_HEAD
HEAD is now at 27b9766 add glass effect
Cloned https://github.com/Desp0o/ToastKit.git
Revision (git rev-parse @):
27b97664873141e04766bb0e527d76e0f12bc0d6
SUCCESS checkout https://github.com/Desp0o/ToastKit.git at v26.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "toastkit",
      "name": "ToastKit",
      "url": "https://github.com/Desp0o/ToastKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ToastKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Desp0o/ToastKit.git
[1/157] Fetching toastkit
Fetched https://github.com/Desp0o/ToastKit.git from cache (0.78s)
Creating working copy for https://github.com/Desp0o/ToastKit.git
Working copy of https://github.com/Desp0o/ToastKit.git resolved at v26.0.0 (27b9766)
warning: '.resolve-product-dependencies': dependency 'toastkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Desp0o/ToastKit.git
https://github.com/Desp0o/ToastKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ToastKit",
  "name" : "ToastKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ToastKit",
      "targets" : [
        "ToastKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ToastKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ToastKitTests",
      "path" : "Tests/ToastKitTests",
      "sources" : [
        "EnumsTests.swift",
        "ToastStackTests.swift"
      ],
      "target_dependencies" : [
        "ToastKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ToastKit",
      "module_type" : "SwiftTarget",
      "name" : "ToastKit",
      "path" : "Sources/ToastKit",
      "product_memberships" : [
        "ToastKit"
      ],
      "sources" : [
        "Enums/ToastEnums.swift",
        "Extensions/Extension+View.swift",
        "ToastKit.swift",
        "ToastModifier.swift",
        "ToastStack/ToastItemModel.swift",
        "ToastStack/ToastStackManager.swift",
        "ToastStack/ToastStackView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/10] Compiling ToastKit ToastStackManager.swift
[4/10] Compiling ToastKit ToastItemModel.swift
[5/10] Compiling ToastKit ToastModifier.swift
[6/10] Compiling ToastKit ToastStackView.swift
[7/10] Compiling ToastKit Extension+View.swift
[8/10] Compiling ToastKit ToastEnums.swift
[9/10] Emitting module ToastKit
[10/10] Compiling ToastKit ToastKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/ToastKit/ToastKit.swift:173:30: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
171 |   }
172 |
173 |   public var body: some View {
    |                              `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
174 |     ZStack(alignment: stackAligment) {
175 |       if isVisible {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/9] Compiling ToastKit ToastStackView.swift
[3/9] Compiling ToastKit ToastItemModel.swift
[4/9] Compiling ToastKit ToastStackManager.swift
[5/9] Compiling ToastKit ToastEnums.swift
[6/9] Compiling ToastKit Extension+View.swift
[7/9] Emitting module ToastKit
[8/9] Compiling ToastKit ToastModifier.swift
[9/9] Compiling ToastKit ToastKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/ToastKit/ToastKit.swift:173:30: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
171 |   }
172 |
173 |   public var body: some View {
    |                              `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
174 |     ZStack(alignment: stackAligment) {
175 |       if isVisible {
BUILD FAILURE 6.1 macosSpm