The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TUSKit, reference 3.7.1 (167938), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 06:37:10 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tus/TUSKit.git
Reference: 3.7.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tus/TUSKit
 * tag               3.7.1      -> FETCH_HEAD
HEAD is now at 1679382 Merge pull request #224 from tus/2026-01-21-b2cg
Cloned https://github.com/tus/TUSKit.git
Revision (git rev-parse @):
167938293923b5c31ba1255da5aada8e67533984
SUCCESS checkout https://github.com/tus/TUSKit.git at 3.7.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/tus/TUSKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[30 / 40] TUSKit_TUSKitTests
[31 / 40]
[32 / 41] TUSKit
[42 / 88]
[47 / 88]
[50 / 88]
[51 / 88]
[55 / 88]
[57 / 88]
[60 / 88]
[63 / 88]
[65 / 88]
[66 / 88]
[79 / 88] TUSKit
Build complete! (9.03 sec)
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/Tasks/CreationTask.swift:44:77: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
39 |
40 |     func run(completed: @escaping TaskCompletion) {
41 |         queue.async {
   |                     |- note: 'self' implicitly strongly captured here
   |                     `- note: add 'self' as a capture list item to silence
42 |             if self.didCancel { return }
43 |
44 |             self.headerGenerator.resolveHeaders(for: self.metaData) { [weak self] customHeaders in
   |                                                                             |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
   |                                                                             `- note: explicitly assign the capture list item to silence
45 |                 guard let self else { return }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/Tasks/CreationTask.swift:50:119: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
45 |                 guard let self else { return }
46 |
47 |                 self.queue.async {
   |                                  |- note: 'self' implicitly strongly captured here
   |                                  `- note: add 'self' as a capture list item to silence
48 |                     if self.didCancel { return }
49 |
50 |                     self.sessionTask = self.api.create(metaData: self.metaData, customHeaders: customHeaders) { [weak self] result in
   |                                                                                                                       |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
   |                                                                                                                       `- note: explicitly assign the capture list item to silence
51 |                         guard let self else { return }
52 |
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/Tasks/StatusTask.swift:45:77: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 40 |     func run(completed: @escaping TaskCompletion) {
 41 |         // Improvement: On failure, try uploading from the start. Create creationtask.
 42 |         queue.async {
    |                     |- note: 'self' implicitly strongly captured here
    |                     `- note: add 'self' as a capture list item to silence
 43 |             if self.didCancel { return }
 44 |
 45 |             self.headerGenerator.resolveHeaders(for: self.metaData) { [weak self] customHeaders in
    |                                                                             |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                             `- note: explicitly assign the capture list item to silence
 46 |                 guard let self else { return }
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/Tasks/StatusTask.swift:51:131: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 46 |                 guard let self else { return }
 47 |
 48 |                 self.queue.async {
    |                                  |- note: 'self' implicitly strongly captured here
    |                                  `- note: add 'self' as a capture list item to silence
 49 |                     if self.didCancel { return }
 50 |
 51 |                     self.sessionTask = self.api.status(remoteDestination: self.remoteDestination, headers: customHeaders) { [weak self] result in
    |                                                                                                                                   |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                                                                                   `- note: explicitly assign the capture list item to silence
 52 |                         guard let self else { return }
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/Tasks/UploadDataTask.swift:96:77: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 65 |
 66 |     func run(completed: @escaping TaskCompletion) {
 67 |         queue.async {
    |                     |- note: 'self' implicitly strongly captured here
    |                     `- note: add 'self' as a capture list item to silence
 68 |             // This check is right before the task is created. In case another thread calls cancel during this loop. Optimization: Add synchronization point (e.g. serial queue or actor).
 69 |             guard !self.isCanceled else {
    :
 94 |             }
 95 |
 96 |             self.headerGenerator.resolveHeaders(for: self.metaData) { [weak self] customHeaders in
    |                                                                             |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                             `- note: explicitly assign the capture list item to silence
 97 |                 guard let self else { return }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/Tasks/UploadDataTask.swift:109:86: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 97 |                 guard let self else { return }
 98 |
 99 |                 self.queue.async {
    |                                  |- note: 'self' implicitly strongly captured here
    |                                  `- note: add 'self' as a capture list item to silence
100 |                     if self.isCanceled {
101 |                         completed(.failure(TUSClientError.taskCancelled))
    :
107 |                                                location: remoteDestination,
108 |                                                metaData: self.metaData,
109 |                                                customHeaders: customHeaders) { [weak self] result in
    |                                                                                      |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                                      `- note: explicitly assign the capture list item to silence
110 |                         guard let self else { return }
111 |
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/TUSAPI.swift:344:26: warning: immutable value 'data' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
342 |             self.callbacks[metaData.id.uuidString] = { result in
343 |                 processResult(completion: completion) {
344 |                     let (data, response) = try result.get()
    |                          `- warning: immutable value 'data' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
345 |                     guard let offsetStr = response.allHeaderFields[caseInsensitive: "upload-offset"] as? String,
346 |                           let offset = Int(offsetStr) else {
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/TUSAPI.swift:361:26: warning: immutable value 'data' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
359 |             self.callbacks[metadata.id.uuidString] = { result in
360 |                 processResult(completion: completion) {
361 |                     let (data, response) = try result.get()
    |                          `- warning: immutable value 'data' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
362 |                     guard let offsetStr = response.allHeaderFields[caseInsensitive: "upload-offset"] as? String,
363 |                           let offset = Int(offsetStr) else {
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/TUSClient.swift:563:29: warning: result of 'try?' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
561 |                     task.taskCompleted(result: result, completed: { [weak self] result in
562 |                         if case .failure = result {
563 |                             try? self?.retry(id: metadata.id)
    |                             `- warning: result of 'try?' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
564 |                         }
565 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/TUSClient.swift:561:75: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
558 |                 }
559 |
560 |                 self.api.registerCallback({ result in
    |                                           |- note: 'self' implicitly strongly captured here
    |                                           `- note: add 'self' as a capture list item to silence
561 |                     task.taskCompleted(result: result, completed: { [weak self] result in
    |                                                                           |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                                           `- note: explicitly assign the capture list item to silence
562 |                         if case .failure = result {
563 |                             try? self?.retry(id: metadata.id)
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TUSKit",
  "name" : "TUSKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "TUSKit",
      "targets" : [
        "TUSKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TUSKitTests",
      "module_type" : "SwiftTarget",
      "name" : "TUSKitTests",
      "path" : "Tests/TUSKitTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/TUSKitTests/Resources/memeCat.jpg",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "DataTests.swift",
        "FilesTests.swift",
        "Fixtures.swift",
        "Mocks.swift",
        "SchedulerTests.swift",
        "Support/NetworkSupport.swift",
        "Support/Support.swift",
        "TUSAPITests.swift",
        "TUSClient/TUSClientInternalTests.swift",
        "TUSClient/TUSClientTests.swift",
        "TUSClient/TUSClient_CacheTests.swift",
        "TUSClient/TUSClient_ContextTests.swift",
        "TUSClient/TUSClient_CustomHeadersTests.swift",
        "TUSClient/TUSClient_DelegateTests.swift",
        "TUSClient/TUSClient_HeaderGenerationTests.swift",
        "TUSClient/TUSClient_IdsTests.swift",
        "TUSClient/TUSClient_RetryTests.swift",
        "TUSClient/TUSClient_UploadingTests.swift"
      ],
      "target_dependencies" : [
        "TUSKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TUSKit",
      "module_type" : "SwiftTarget",
      "name" : "TUSKit",
      "path" : "Sources/TUSKit",
      "product_memberships" : [
        "TUSKit"
      ],
      "sources" : [
        "Extensions/Collection+chunk.swift",
        "Extensions/Data+chunk.swift",
        "Extensions/String+base64.swift",
        "Files.swift",
        "Network.swift",
        "Scheduler.swift",
        "TUSAPI.swift",
        "TUSClient.swift",
        "TUSClientError.swift",
        "TUSProtocolExtension.swift",
        "Tasks/CreationTask.swift",
        "Tasks/IdentifiableTask.swift",
        "Tasks/StatusTask.swift",
        "Tasks/UploadDataTask.swift",
        "TusServerInfo.swift",
        "UploadInfo.swift",
        "UploadMetada.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5.1"
}
Done.