The Swift Package Index logo.Swift Package Index

Build Information

Successful build of URLSessionBackport, reference main (133026), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 14:29:08 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mochidev/URLSessionBackport.git
Reference: main
Initialized empty Git repository in /Users/admin/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
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "urlsessionbackport",
      "name": "URLSessionBackport",
      "url": "https://github.com/mochidev/URLSessionBackport.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/URLSessionBackport",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mochidev/URLSessionBackport.git
[1/165] Fetching urlsessionbackport
Fetched https://github.com/mochidev/URLSessionBackport.git from cache (0.64s)
Creating working copy for https://github.com/mochidev/URLSessionBackport.git
Working copy of https://github.com/mochidev/URLSessionBackport.git resolved at main (133026d)
warning: '.resolve-product-dependencies': dependency 'urlsessionbackport' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/mochidev/URLSessionBackport.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/8] Compiling URLSessionBackport TaskDelegateHandler.swift
[4/8] Compiling URLSessionBackport URLSessionBackport.swift
/Users/admin/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
122 |         } else {
123 |             return try await withUnsafeThrowingContinuation { continuation in
124 |                 resume(session.dataTask(with: request, completionHandler: continuation.taskCompletionHandler), with: delegate)
    |                                                                                        `- warning: converting non-Sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
125 |             }
126 |         }
/Users/admin/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
137 |         } else {
138 |             return try await withUnsafeThrowingContinuation { continuation in
139 |                 resume(session.dataTask(with: url, completionHandler: continuation.taskCompletionHandler), with: delegate)
    |                                                                                    `- warning: converting non-Sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
140 |             }
141 |         }
/Users/admin/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
153 |         } else {
154 |             return try await withUnsafeThrowingContinuation { continuation in
155 |                 resume(session.uploadTask(with: request, fromFile: fileURL, completionHandler: continuation.taskCompletionHandler), with: delegate)
    |                                                                                                             `- warning: converting non-Sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
156 |             }
157 |         }
/Users/admin/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
169 |         } else {
170 |             return try await withUnsafeThrowingContinuation { continuation in
171 |                 resume(session.uploadTask(with: request, from: bodyData, completionHandler: continuation.taskCompletionHandler), with: delegate)
    |                                                                                                          `- warning: converting non-Sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
172 |             }
173 |         }
/Users/admin/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
184 |         } else {
185 |             return try await withUnsafeThrowingContinuation { continuation in
186 |                 resume(session.downloadTask(with: request, completionHandler: continuation.taskCompletionHandler), with: delegate)
    |                                                                                            `- warning: converting non-Sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
187 |             }
188 |         }
/Users/admin/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
199 |         } else {
200 |             return try await withUnsafeThrowingContinuation { continuation in
201 |                 resume(session.downloadTask(with: url, completionHandler: continuation.taskCompletionHandler), with: delegate)
    |                                                                                        `- warning: converting non-Sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
202 |             }
203 |         }
/Users/admin/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
214 |         } else {
215 |             return try await withUnsafeThrowingContinuation { continuation in
216 |                 resume(session.downloadTask(withResumeData: resumeData, completionHandler: continuation.taskCompletionHandler), with: delegate)
    |                                                                                                         `- warning: converting non-Sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
217 |             }
218 |         }
[5/8] Compiling URLSessionBackport AsyncBytes.swift
[6/8] Compiling URLSessionBackport DataAccumulator.swift
[7/8] Compiling URLSessionBackport SessionDelegateProxy.swift
[8/8] Emitting module URLSessionBackport
Build complete! (4.16s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "URLSessionBackport",
  "name" : "URLSessionBackport",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "URLSessionBackport",
      "targets" : [
        "URLSessionBackport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "URLSessionBackportTests",
      "module_type" : "SwiftTarget",
      "name" : "URLSessionBackportTests",
      "path" : "Tests/URLSessionBackportTests",
      "sources" : [
        "URLSessionBackportTests.swift"
      ],
      "target_dependencies" : [
        "URLSessionBackport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "URLSessionBackport",
      "module_type" : "SwiftTarget",
      "name" : "URLSessionBackport",
      "path" : "Sources/URLSessionBackport",
      "product_memberships" : [
        "URLSessionBackport"
      ],
      "sources" : [
        "AsyncBytes.swift",
        "DataAccumulator.swift",
        "SessionDelegateProxy.swift",
        "TaskDelegateHandler.swift",
        "URLSessionBackport.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.