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

Successful build of TOASTack, reference main (737d37), with Swift 5.10 for macOS (SPM) on 3 May 2025 13:10:50 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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/ukushu/TOASTack.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ukushu/TOASTack
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 737d371 Update ReadMe.md
Cloned https://github.com/ukushu/TOASTack.git
Revision (git rev-parse @):
737d371a5a1e023bc636d8ede9d9f7bf41fe5e98
SUCCESS checkout https://github.com/ukushu/TOASTack.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/ukushu/TOASTack.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/19] Compiling TOASTack CRToast.swift
[4/19] Compiling TOASTack CapsuleToast.swift
[5/20] Compiling TOASTack ToastSample1.swift
/Users/admin/builder/spi-builder-workspace/Sources/TOASTack/Toast_Designs/Samples/ToastSample1.swift:20:33: warning: main actor-isolated static property 'shared' can not be referenced from a non-isolated context; this is an error in Swift 6
        self.delete = { Toaster.shared.delete(id: id) }
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/TOASTack/Core/Toaster.swift:5:34: note: static property declared here
    @MainActor public static let shared: Toaster = Toaster()
                                 ^
[6/20] Compiling TOASTack ToastSample2.swift
/Users/admin/builder/spi-builder-workspace/Sources/TOASTack/Toast_Designs/Samples/ToastSample1.swift:20:33: warning: main actor-isolated static property 'shared' can not be referenced from a non-isolated context; this is an error in Swift 6
        self.delete = { Toaster.shared.delete(id: id) }
                                ^
/Users/admin/builder/spi-builder-workspace/Sources/TOASTack/Core/Toaster.swift:5:34: note: static property declared here
    @MainActor public static let shared: Toaster = Toaster()
                                 ^
[7/20] Compiling TOASTack View+.swift
[8/20] Compiling TOASTack oldToastCode.swift
[9/20] Compiling TOASTack EdgeInsets.swift
[10/20] Compiling TOASTack Text+.swift
[11/20] Compiling TOASTack Toaster.swift
[12/20] Compiling TOASTack Array+.swift
[13/20] Compiling TOASTack Toast.swift
[14/20] Compiling TOASTack ToastStackConfig.swift
[15/20] Emitting module TOASTack
[16/20] Compiling TOASTack ThisDevice.swift
[17/20] Compiling TOASTack Color+.swift
[18/20] Compiling TOASTack ToastView.swift
[19/20] Compiling TOASTack ToastStack.swift
[20/20] Compiling TOASTack applyToaster.swift
Build complete! (8.26s)
warning: 'spi-builder-workspace': the target name TOASTack has different case on the filesystem and the Package.swift manifest file
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TOASTack",
  "name" : "TOASTack",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "TOASTack",
      "targets" : [
        "TOASTack"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TOASTack",
      "module_type" : "SwiftTarget",
      "name" : "TOASTack",
      "path" : "Sources/TOASTack",
      "product_memberships" : [
        "TOASTack"
      ],
      "sources" : [
        "Core/Toast.swift",
        "Core/ToastStackConfig.swift",
        "Core/Toaster.swift",
        "Other/Other/Array+.swift",
        "Other/Other/ThisDevice.swift",
        "Other/SwiftUIMore/Color+.swift",
        "Other/SwiftUIMore/EdgeInsets.swift",
        "Other/SwiftUIMore/Text+.swift",
        "Other/SwiftUIMore/View+.swift",
        "Other/zz_oldCode/oldToastCode.swift",
        "Toast_Designs/CRToast.swift",
        "Toast_Designs/CapsuleToast.swift",
        "Toast_Designs/Samples/ToastSample1.swift",
        "Toast_Designs/Samples/ToastSample2.swift",
        "Views/ToastStack.swift",
        "Views/ToastView.swift",
        "applyToaster.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
warning: 'spi-builder-workspace': the target name TOASTack has different case on the filesystem and the Package.swift manifest file
Done.