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 DebouncedOnChange, reference main (29a60e), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 19:23:55 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Tunous/DebouncedOnChange.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Tunous/DebouncedOnChange
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 29a60e0 Add documentation
Cloned https://github.com/Tunous/DebouncedOnChange.git
Revision (git rev-parse @):
29a60e088293845364294ebc270831997e2a5873
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Tunous/DebouncedOnChange.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Tunous/DebouncedOnChange.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/7] Compiling DebouncedOnChange DebouncedTaskViewModifier.swift
[4/7] Compiling DebouncedOnChange DebouncedChangeViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/DebouncedOnChange/DebouncedChangeViewModifier.swift:157:32: warning: capture of non-sendable type 'Value.Type' in an isolated closure
155 |             debouncedTask?.cancel()
156 |             debouncedTask = Task {
157 |                 do { try await sleep() } catch { return }
    |                                `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
158 |                 action(value)
159 |             }
/Users/admin/builder/spi-builder-workspace/Sources/DebouncedOnChange/DebouncedChangeViewModifier.swift:153:10: warning: capture of non-sendable type 'Value.Type' in an isolated closure
151 |     @State private var debouncedTask: Task<Void, Never>?
152 |
153 |     func body(content: Content) -> some View {
    |          `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
154 |         content.onChange(of: trigger) { value in
155 |             debouncedTask?.cancel()
[5/7] Compiling DebouncedOnChange Task+Delayed.swift
[6/7] Emitting module DebouncedOnChange
[7/7] Compiling DebouncedOnChange Debouncer.swift
Build complete! (6.83s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DebouncedOnChange",
  "name" : "DebouncedOnChange",
  "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" : "DebouncedOnChange",
      "targets" : [
        "DebouncedOnChange"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DebouncedOnChangeTests",
      "module_type" : "SwiftTarget",
      "name" : "DebouncedOnChangeTests",
      "path" : "Tests/DebouncedOnChangeTests",
      "sources" : [
        "DelayedTaskTests.swift"
      ],
      "target_dependencies" : [
        "DebouncedOnChange"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DebouncedOnChange",
      "module_type" : "SwiftTarget",
      "name" : "DebouncedOnChange",
      "path" : "Sources/DebouncedOnChange",
      "product_memberships" : [
        "DebouncedOnChange"
      ],
      "sources" : [
        "DebouncedChangeViewModifier.swift",
        "DebouncedTaskViewModifier.swift",
        "Debouncer.swift",
        "Task+Delayed.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.