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

Successful build of Toasty, reference 0.1.10 (81dfbe), with Swift 6.1 for macOS (SPM) on 1 May 2025 12:27:05 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/annurdien/Toasty.git
Reference: 0.1.10
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/annurdien/Toasty
 * tag               0.1.10     -> FETCH_HEAD
HEAD is now at 81dfbe8 feat: add README.md with project details, installation, usage, and contribution guidelines; include demo assets
Cloned https://github.com/annurdien/Toasty.git
Revision (git rev-parse @):
81dfbe8a122adab6f2f1a2e97174b833628271f1
SUCCESS checkout https://github.com/annurdien/Toasty.git at 0.1.10
========================================
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": "toasty",
      "name": "Toasty",
      "url": "https://github.com/annurdien/Toasty.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Toasty",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/annurdien/Toasty.git
[1/68] Fetching toasty
Fetched https://github.com/annurdien/Toasty.git from cache (0.78s)
Creating working copy for https://github.com/annurdien/Toasty.git
Working copy of https://github.com/annurdien/Toasty.git resolved at 0.1.10 (81dfbe8)
warning: '.resolve-product-dependencies': dependency 'toasty' 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/annurdien/Toasty.git
https://github.com/annurdien/Toasty.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Toasty",
  "name" : "Toasty",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Toasty",
      "targets" : [
        "Toasty"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ToastyTests",
      "module_type" : "SwiftTarget",
      "name" : "ToastyTests",
      "path" : "Tests/ToastyTests",
      "sources" : [
        "ToastyTests.swift"
      ],
      "target_dependencies" : [
        "Toasty"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Toasty",
      "module_type" : "SwiftTarget",
      "name" : "Toasty",
      "path" : "Sources/Toasty",
      "product_memberships" : [
        "Toasty"
      ],
      "sources" : [
        "Core/ToastData.swift",
        "Core/ToastManager.swift",
        "Extensions/View+Toastable.swift",
        "Modifiers/ToastPresenterModifier.swift",
        "Views/ToastView.swift",
        "Wrappers/Toast.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling Toasty ToastManager.swift
[4/9] Compiling Toasty ToastPresenterModifier.swift
[5/9] Compiling Toasty ToastData.swift
[6/9] Compiling Toasty View+Toastable.swift
[7/9] Compiling Toasty ToastView.swift
[8/9] Emitting module Toasty
[9/9] Compiling Toasty Toast.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toasty/Wrappers/Toast.swift:51:9: warning: main actor-isolated property 'toastManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 |     /// This is the core mechanism that connects the wrapper to the manager
45 |     /// set up by `.toastable()`.
46 |     @EnvironmentObject private var toastManager: ToastManager
   |                                    `- note: property declared here
47 |
48 |     /// The wrapped value provides direct access to the `ToastManager` instance
49 |     /// found in the environment. You call methods like `.show()` directly on this value.
50 |     public var wrappedValue: ToastManager {
51 |         toastManager
   |         `- warning: main actor-isolated property 'toastManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 |     }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/Toasty/Wrappers/Toast.swift:56:20: error: return from initializer without initializing all stored properties
54 |     /// Initializes the property wrapper. No parameters are needed as it relies
55 |     /// solely on the environment.
56 |     public init() {}
   |                    |- error: return from initializer without initializing all stored properties
   |                    `- note: main actor-isolated default value of 'self.toastManager' cannot be used in a nonisolated initalizer
57 |
58 |     // Note: No projected value (`$toast`) is provided in this simple implementation,
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/8] Compiling Toasty Toast.swift
[3/8] Compiling Toasty ToastView.swift
[4/8] Compiling Toasty ToastPresenterModifier.swift
[5/8] Compiling Toasty View+Toastable.swift
[6/8] Compiling Toasty ToastData.swift
[7/8] Emitting module Toasty
[8/8] Compiling Toasty ToastManager.swift
Build complete! (0.84s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Toasty",
  "name" : "Toasty",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Toasty",
      "targets" : [
        "Toasty"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ToastyTests",
      "module_type" : "SwiftTarget",
      "name" : "ToastyTests",
      "path" : "Tests/ToastyTests",
      "sources" : [
        "ToastyTests.swift"
      ],
      "target_dependencies" : [
        "Toasty"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Toasty",
      "module_type" : "SwiftTarget",
      "name" : "Toasty",
      "path" : "Sources/Toasty",
      "product_memberships" : [
        "Toasty"
      ],
      "sources" : [
        "Core/ToastData.swift",
        "Core/ToastManager.swift",
        "Extensions/View+Toastable.swift",
        "Modifiers/ToastPresenterModifier.swift",
        "Views/ToastView.swift",
        "Wrappers/Toast.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.