Build Information
Successful build of Pushover 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/kiliankoe/pushover.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/pushover
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d7d35e7 Merge pull request #2 from sgade/master
Cloned https://github.com/kiliankoe/pushover.git
Revision (git rev-parse @):
d7d35e7da9ff978188667434da7530dc02ded635
SUCCESS checkout https://github.com/kiliankoe/pushover.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/kiliankoe/pushover.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/11] Compiling Pushover Priority.swift
[4/11] Compiling Pushover Notification.swift
[5/11] Compiling Pushover Error.swift
[6/11] Emitting module Pushover
[7/11] Compiling Pushover Response.swift
[8/11] Compiling Pushover Endpoint.swift
[9/11] Compiling Pushover API.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pushover/API.swift:19:32: warning: capture of 'completion' with non-sendable type '(Result<([String : String], JSON), Error>) -> Void' (aka '(Result<(Dictionary<String, String>, Dictionary<String, Any>), Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | static func send(_ request: URLRequest, completion: @escaping (Result<([String: String], JSON), Error>) -> Void) {
18 | URLSession.shared.dataTask(with: request) { data, response, error in
19 | if let _ = error { completion(.failure(.network)); return }
| |- warning: capture of 'completion' with non-sendable type '(Result<([String : String], JSON), Error>) -> Void' (aka '(Result<(Dictionary<String, String>, Dictionary<String, Any>), Error>) -> ()') 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'
20 |
21 | guard let statusCode = (response as? HTTPURLResponse)?.statusCode else { completion(.failure(.network)); return }
[10/11] Compiling Pushover Pushover.swift
[11/11] Compiling Pushover Sound.swift
Build complete! (20.61s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Pushover",
"name" : "Pushover",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Pushover",
"targets" : [
"Pushover"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PushoverTests",
"module_type" : "SwiftTarget",
"name" : "PushoverTests",
"path" : "Tests/PushoverTests",
"sources" : [
"NotificationTests.swift",
"PushoverTests.swift"
],
"target_dependencies" : [
"Pushover"
],
"type" : "test"
},
{
"c99name" : "Pushover",
"module_type" : "SwiftTarget",
"name" : "Pushover",
"path" : "Sources/Pushover",
"product_memberships" : [
"Pushover"
],
"sources" : [
"API.swift",
"Endpoint.swift",
"Error.swift",
"Notification.swift",
"Priority.swift",
"Pushover.swift",
"Response.swift",
"Sound.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.