This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 ConfettiSwiftUI with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simibac/ConfettiSwiftUI.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simibac/ConfettiSwiftUI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 469de4e Update README.md
Cloned https://github.com/simibac/ConfettiSwiftUI.git
Revision (git rev-parse @):
469de4e43949815dc92570cc786922d8d1385b06
SUCCESS checkout https://github.com/simibac/ConfettiSwiftUI.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/simibac/ConfettiSwiftUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/8] Compiling ConfettiSwiftUI Triangle.swift
[4/8] Compiling ConfettiSwiftUI RoundedCross.swift
[5/8] Compiling ConfettiSwiftUI View+ConfettiCannon.swift
/Users/admin/builder/spi-builder-workspace/Sources/View+ConfettiCannon.swift:63:13: warning: call to main actor-isolated initializer 'init(counter:num:confettis:colors:confettiSize:rainHeight:fadesOut:opacity:openingAngle:closingAngle:radius:repetitions:repetitionInterval:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 |         ZStack {
62 |             self
63 |             ConfettiCannon(
   |             `- warning: call to main actor-isolated initializer 'init(counter:num:confettis:colors:confettiSize:rainHeight:fadesOut:opacity:openingAngle:closingAngle:radius:repetitions:repetitionInterval:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 |                 counter: counter,
65 |                 num: num,
/Users/admin/builder/spi-builder-workspace/Sources/ConfettiSwiftUI.swift:75:12: note: calls to initializer 'init(counter:num:confettis:colors:confettiSize:rainHeight:fadesOut:opacity:openingAngle:closingAngle:radius:repetitions:repetitionInterval:)' from outside of its actor context are implicitly asynchronous
 73 |     ///   - repetitions: number of repetitions of the explosion
 74 |     ///   - repetitionInterval: duration between the repetitions
 75 |     public init(counter:Binding<Int>,
    |            `- note: calls to initializer 'init(counter:num:confettis:colors:confettiSize:rainHeight:fadesOut:opacity:openingAngle:closingAngle:radius:repetitions:repetitionInterval:)' from outside of its actor context are implicitly asynchronous
 76 |          num:Int = 20,
 77 |          confettis:[ConfettiType] = ConfettiType.allCases,
/Users/admin/builder/spi-builder-workspace/Sources/View+ConfettiCannon.swift:63:13: warning: sending 'counter' risks causing data races; this is an error in the Swift 6 language mode
61 |         ZStack {
62 |             self
63 |             ConfettiCannon(
   |             |- warning: sending 'counter' risks causing data races; this is an error in the Swift 6 language mode
   |             `- note: sending task-isolated 'counter' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
64 |                 counter: counter,
65 |                 num: num,
/Users/admin/builder/spi-builder-workspace/Sources/View+ConfettiCannon.swift:63:13: warning: sending 'confettis' risks causing data races; this is an error in the Swift 6 language mode
61 |         ZStack {
62 |             self
63 |             ConfettiCannon(
   |             |- warning: sending 'confettis' risks causing data races; this is an error in the Swift 6 language mode
   |             `- note: sending task-isolated 'confettis' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
64 |                 counter: counter,
65 |                 num: num,
[6/8] Compiling ConfettiSwiftUI SlimRectangle.swift
[7/8] Emitting module ConfettiSwiftUI
[8/8] Compiling ConfettiSwiftUI ConfettiSwiftUI.swift
Build complete! (34.19s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ConfettiSwiftUI",
  "name" : "ConfettiSwiftUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "ConfettiSwiftUI",
      "targets" : [
        "ConfettiSwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ConfettiSwiftUITests",
      "module_type" : "SwiftTarget",
      "name" : "ConfettiSwiftUITests",
      "path" : "Tests",
      "sources" : [
        "ConfettiSwiftUITests/ConfettiSwiftUITests.swift",
        "ConfettiSwiftUITests/XCTestManifests.swift",
        "LinuxMain.swift"
      ],
      "target_dependencies" : [
        "ConfettiSwiftUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ConfettiSwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "ConfettiSwiftUI",
      "path" : "Sources",
      "product_memberships" : [
        "ConfettiSwiftUI"
      ],
      "sources" : [
        "ConfettiSwiftUI.swift",
        "Shapes/RoundedCross.swift",
        "Shapes/SlimRectangle.swift",
        "Shapes/Triangle.swift",
        "View+ConfettiCannon.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.