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 DebouncedOnChange, reference 2.0.0 (29a60e), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 03:15:34 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Tunous/DebouncedOnChange.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Tunous/DebouncedOnChange
 * tag               2.0.0      -> FETCH_HEAD
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 2.0.0
========================================
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": "debouncedonchange",
      "name": "DebouncedOnChange",
      "url": "https://github.com/Tunous/DebouncedOnChange.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DebouncedOnChange",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Tunous/DebouncedOnChange.git
[3/129] Fetching debouncedonchange
Fetched https://github.com/Tunous/DebouncedOnChange.git from cache (0.58s)
Creating working copy for https://github.com/Tunous/DebouncedOnChange.git
Working copy of https://github.com/Tunous/DebouncedOnChange.git resolved at 2.0.0 (29a60e0)
warning: '.resolve-product-dependencies': dependency 'debouncedonchange' 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/Tunous/DebouncedOnChange.git
https://github.com/Tunous/DebouncedOnChange.git
{
  "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"
}
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/7] Compiling DebouncedOnChange Task+Delayed.swift
/Users/admin/builder/spi-builder-workspace/Sources/DebouncedOnChange/Task+Delayed.swift:40:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
38 |         operation: @escaping () async -> Void
39 |     ) -> Self where Success == Void, Failure == Never {
40 |         Self {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
41 |             do {
42 |                 try await Task<Never, Never>.sleep(for: duration)
43 |                 await operation()
   |                       `- note: closure captures 'operation' which is accessible to code in the current task
44 |             } catch {}
45 |         }
[4/7] Compiling DebouncedOnChange Debouncer.swift
[5/7] Compiling DebouncedOnChange DebouncedTaskViewModifier.swift
[6/7] Compiling DebouncedOnChange DebouncedChangeViewModifier.swift
[7/7] Emitting module DebouncedOnChange
Build complete! (7.96s)
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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/tunous/debouncedonchange/2.0.0
Repository:               Tunous/DebouncedOnChange
Swift version used:       6.1
Target:                   DebouncedOnChange
Extracting symbol information for 'DebouncedOnChange'...
Finished extracting symbol information for 'DebouncedOnChange'. (4.60s)
Building documentation for 'DebouncedOnChange'...
warning: Parameter 'oldValue' not found in instance method declaration
  --> ../DebouncedChangeViewModifier.swift:55:11-56:43
53 |     ///   - debouncer: Object used to manually cancel debounced actions.
54 |     ///   - action: A closure to run when the value changes.
55 +     ///   - oldValue: The old value that failed the comparison check (or the
   |           ╰─suggestion: Remove 'oldValue' parameter documentation
56 +     ///     initial value when requested).
57 |     ///   - newValue: The new value that failed the comparison check.
58 |     /// - Returns: A view that fires an action after debounced time when the specified value changes.
warning: Parameter 'newValue' not found in instance method declaration
  --> ../DebouncedChangeViewModifier.swift:57:11-57:70
55 |     ///   - oldValue: The old value that failed the comparison check (or the
56 |     ///     initial value when requested).
57 +     ///   - newValue: The new value that failed the comparison check.
   |           ╰─suggestion: Remove 'newValue' parameter documentation
58 |     /// - Returns: A view that fires an action after debounced time when the specified value changes.
59 |     @available(iOS 17, *)
warning: Parameter 'duration' not found in instance method declaration
  --> ../DebouncedTaskViewModifier.swift:14:11-14:96
12 |     /// - Parameters:
13 |     ///   - value: The value to observe for changes. The value must conform to the `Equatable` protocol.
14 +     ///   - duration: The time to wait after each value change before running `action` closure.
   |           ╰─suggestion: Remove 'duration' parameter documentation
15 |     ///   - action: A closure called after debounce time as an asynchronous task before the view appears. SwiftUI can
16 |     ///     automatically cancel the task after the view disappears before the action completes. If the id value
warning: Parameter 'debounceTime' is missing documentation
  --> ../DebouncedTaskViewModifier.swift:17:60-17:60
15 |     ///   - action: A closure called after debounce time as an asynchronous task before the view appears. SwiftUI can
   |           ╰─suggestion: Document 'debounceTime' parameter
16 |     ///     automatically cancel the task after the view disappears before the action completes. If the id value
17 +     ///     changes, SwiftUI cancels and restarts the task.
18 |     /// - Returns: A view that runs the specified action asynchronously before the view appears, or restarts the task
19 |     ///     with the id value changes after debounced time.
warning: Parameter 'priority' is missing documentation
  --> ../DebouncedTaskViewModifier.swift:17:60-17:60
15 |     ///   - action: A closure called after debounce time as an asynchronous task before the view appears. SwiftUI can
   |           ╰─suggestion: Document 'priority' parameter
16 |     ///     automatically cancel the task after the view disappears before the action completes. If the id value
17 +     ///     changes, SwiftUI cancels and restarts the task.
18 |     /// - Returns: A view that runs the specified action asynchronously before the view appears, or restarts the task
19 |     ///     with the id value changes after debounced time.
warning: Parameter 'time' not found in type method declaration
  --> ../Task+Delayed.swift:11:11-11:41
9  |     ///
10 |     /// - Parameters:
11 +     ///   - time: Delay time in seconds.
   |           ╰─suggestion: Remove 'time' parameter documentation
12 |     ///   - operation: The operation to execute.
13 |     /// - Returns: Handle to the task which can be cancelled.
warning: Parameter 'seconds' is missing documentation
  --> ../Task+Delayed.swift:12:49-12:49
10 |     /// - Parameters:
11 |     ///   - time: Delay time in seconds.
12 +     ///   - operation: The operation to execute.
   |           ╰─suggestion: Document 'seconds' parameter
13 |     /// - Returns: Handle to the task which can be cancelled.
14 |     @discardableResult
Finished building documentation for 'DebouncedOnChange' (0.11s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/tunous/debouncedonchange/2.0.0
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.05s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.79s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.44s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module Snippets
[7/53] Compiling Snippets Snippet.swift
[8/53] Compiling Snippets SnippetParser.swift
[9/53] Emitting module SymbolKit
[10/57] Compiling SymbolKit Mixin+Equals.swift
[11/57] Compiling SymbolKit Mixin+Hash.swift
[12/57] Compiling SymbolKit Mixin.swift
[13/57] Compiling SymbolKit LineList.swift
[14/57] Compiling SymbolKit Position.swift
[15/57] Compiling SymbolKit Relationship.swift
[16/57] Compiling SymbolKit RelationshipKind.swift
[17/57] Compiling SymbolKit SourceOrigin.swift
[18/57] Compiling SymbolKit GenericConstraints.swift
[19/57] Compiling SymbolKit Swift.swift
[20/57] Compiling SymbolKit Symbol.swift
[21/57] Compiling SymbolKit SymbolKind.swift
[22/57] Compiling SymbolKit SymbolGraph.swift
[23/57] Compiling SymbolKit GraphCollector.swift
[24/57] Compiling SymbolKit DeclarationFragments.swift
[25/57] Compiling SymbolKit Fragment.swift
[26/57] Compiling SymbolKit FragmentKind.swift
[27/57] Compiling SymbolKit FunctionParameter.swift
[28/57] Compiling SymbolKit FunctionSignature.swift
[29/57] Compiling SymbolKit GenericConstraint.swift
[30/57] Compiling SymbolKit GenericParameter.swift
[31/57] Compiling SymbolKit Generics.swift
[32/57] Compiling SymbolKit Namespace.swift
[33/57] Compiling SymbolKit SourceRange.swift
[34/57] Compiling SymbolKit Metadata.swift
[35/57] Compiling SymbolKit Module.swift
[36/57] Compiling SymbolKit OperatingSystem.swift
[37/57] Compiling SymbolKit Platform.swift
[38/57] Compiling SymbolKit Names.swift
[39/57] Compiling SymbolKit SPI.swift
[40/57] Compiling SymbolKit Snippet.swift
[41/57] Compiling SymbolKit Extension.swift
[42/57] Compiling SymbolKit SemanticVersion.swift
[43/57] Compiling SymbolKit AccessControl.swift
[44/57] Compiling SymbolKit Availability.swift
[45/57] Compiling SymbolKit AvailabilityItem.swift
[46/57] Compiling SymbolKit Domain.swift
[47/57] Compiling SymbolKit Identifier.swift
[48/57] Compiling SymbolKit KindIdentifier.swift
[49/57] Compiling SymbolKit Location.swift
[50/57] Compiling SymbolKit Mutability.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.50s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling DebouncedOnChange DebouncedTaskViewModifier.swift
[3/6] Compiling DebouncedOnChange Task+Delayed.swift
[4/6] Compiling DebouncedOnChange Debouncer.swift
[5/6] Emitting module DebouncedOnChange
[6/6] Compiling DebouncedOnChange DebouncedChangeViewModifier.swift
Build of target: 'DebouncedOnChange' complete! (0.63s)
      76
2	/Users/admin/builder/spi-builder-workspace/.docs/tunous/debouncedonchange/2.0.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/tunous/debouncedonchange/2.0.0
File count: 76
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-tunous-debouncedonchange-2.0.0-7f21a16e.zip to s3://spi-docs-inbox/prod-tunous-debouncedonchange-2.0.0-7f21a16e.zip
Copying... [18%]
Copying... [37%]
Copying... [55%]
Copying... [74%]
Copying... [92%]
Copying... [100%]
Done.