Build Information
Successful build of debounced-closure 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/aleksproger/debounced-closure.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aleksproger/debounced-closure
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 4076476 Merge pull request #2 from aleksproger/update-readme
Cloned https://github.com/aleksproger/debounced-closure.git
Revision (git rev-parse @):
40764766645311b3b69d59448fe3af951ab53671
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/aleksproger/debounced-closure.git at develop
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/aleksproger/debounced-closure.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/7] Compiling DebouncedClosure Scheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:30:21: warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | Timer.scheduledTimer(withTimeInterval: Double(interval.components.attoseconds) / attosecondsInSecond, repeats: false) { timer in
29 | timer.invalidate()
30 | block()
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:37:29: warning: capture of 'handleError' with non-sendable type '((any Error) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
35 | Task {
36 | do { try await Task.sleep(for: interval) }
37 | catch { handleError?(error) }
| |- warning: capture of 'handleError' with non-sendable type '((any Error) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
38 | guard !Task.isCancelled else { return }
39 | block()
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:39:21: warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | catch { handleError?(error) }
38 | guard !Task.isCancelled else { return }
39 | block()
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | }
41 | }
[4/7] Compiling DebouncedClosure debounced.swift
/Users/admin/builder/spi-builder-workspace/Sources/debounced.swift:25:17: warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | Timer.scheduledTimer(withTimeInterval: interval, repeats: false) { timer in
24 | timer.invalidate()
25 | block()
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/debounced.swift:57:17: warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | ) { timer in
56 | timer.invalidate()
57 | block()
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
58 | }
59 | }
[5/7] Compiling DebouncedClosure DebouncedClosure.swift
[6/7] Emitting module DebouncedClosure
[7/7] Compiling DebouncedClosure Examples.swift
Build complete! (32.64s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "debounced-closure",
"name" : "debounced-closure",
"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" : "DebouncedClosure",
"targets" : [
"DebouncedClosure"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UnitTests",
"module_type" : "SwiftTarget",
"name" : "UnitTests",
"path" : "Tests/UnitTests",
"sources" : [
"DebouncedClosureUnitTests.swift"
],
"target_dependencies" : [
"DebouncedClosure"
],
"type" : "test"
},
{
"c99name" : "IntegrationTests",
"module_type" : "SwiftTarget",
"name" : "IntegrationTests",
"path" : "Tests/IntegrationTests",
"sources" : [
"DebouncedClosureIntegrationTests.swift"
],
"target_dependencies" : [
"DebouncedClosure"
],
"type" : "test"
},
{
"c99name" : "DebouncedClosure",
"module_type" : "SwiftTarget",
"name" : "DebouncedClosure",
"path" : "Sources",
"product_memberships" : [
"DebouncedClosure"
],
"sources" : [
"DebouncedClosure.swift",
"Examples.swift",
"Scheduler.swift",
"debounced.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.