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 main (a8a9dc), with Swift 6.0 for macOS (SPM) on 21 Apr 2025 18:46:02 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/annurdien/Toasty.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/annurdien/Toasty
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a8a9dca fix: update description in README.md for clarity
Cloned https://github.com/annurdien/Toasty.git
Revision (git rev-parse @):
a8a9dca792488a4bab10ec3605a10c2f20e201f0
SUCCESS checkout https://github.com/annurdien/Toasty.git at main
========================================
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.81s)
Creating working copy for https://github.com/annurdien/Toasty.git
Working copy of https://github.com/annurdien/Toasty.git resolved at main (a8a9dca)
warning: '.resolve-product-dependencies': dependency 'toasty' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
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.2.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-5BDAB9E9C0126B9D.txt
[3/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: 'self.toastManager' not initialized
57 |
58 |     // Note: No projected value (`$toast`) is provided in this simple implementation,
[4/9] Compiling Toasty View+Toastable.swift
[5/9] Compiling Toasty ToastManager.swift
[6/9] Compiling Toasty ToastData.swift
[7/9] Compiling Toasty ToastView.swift
[8/9] Compiling Toasty ToastPresenterModifier.swift
[9/9] Emitting module Toasty
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/8] Compiling Toasty ToastView.swift
[3/8] Compiling Toasty Toast.swift
[4/8] Compiling Toasty View+Toastable.swift
[5/8] Compiling Toasty ToastManager.swift
[6/8] Emitting module Toasty
[7/8] Compiling Toasty ToastData.swift
[8/8] Compiling Toasty ToastPresenterModifier.swift
Build complete! (0.92s)
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.