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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mochidev/URLSessionBackport.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/mochidev/URLSessionBackport
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 133026d Removed the last preconditionFailure
Cloned https://github.com/mochidev/URLSessionBackport.git
Revision (git rev-parse @):
133026d8723a81d7ddd293ce3d9fcadf72317517
SUCCESS checkout https://github.com/mochidev/URLSessionBackport.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/mochidev/URLSessionBackport.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/8] Compiling URLSessionBackport TaskDelegateHandler.swift
[4/8] Compiling URLSessionBackport URLSessionBackport.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:124:88: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
                resume(session.dataTask(with: request, completionHandler: continuation.taskCompletionHandler), with: delegate)
                                                                                       ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:139:84: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
                resume(session.dataTask(with: url, completionHandler: continuation.taskCompletionHandler), with: delegate)
                                                                                   ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:155:109: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
                resume(session.uploadTask(with: request, fromFile: fileURL, completionHandler: continuation.taskCompletionHandler), with: delegate)
                                                                                                            ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:171:106: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
                resume(session.uploadTask(with: request, from: bodyData, completionHandler: continuation.taskCompletionHandler), with: delegate)
                                                                                                         ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:186:92: warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
                resume(session.downloadTask(with: request, completionHandler: continuation.taskCompletionHandler), with: delegate)
                                                                                           ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:201:88: warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
                resume(session.downloadTask(with: url, completionHandler: continuation.taskCompletionHandler), with: delegate)
                                                                                       ^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/URLSessionBackport/URLSessionBackport.swift:216:105: warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
                resume(session.downloadTask(withResumeData: resumeData, completionHandler: continuation.taskCompletionHandler), with: delegate)
                                                                                                        ^
[5/8] Compiling URLSessionBackport AsyncBytes.swift
[6/8] Compiling URLSessionBackport DataAccumulator.swift
[7/8] Emitting module URLSessionBackport
[8/8] Compiling URLSessionBackport SessionDelegateProxy.swift
Build complete! (2.57s)
Build complete.
Done.