The Swift Package Index logo.Swift Package Index

Build Information

Successful build of TUSKit, reference main (2bc1fb), with Swift 6.4 for macOS (SPM) on 13 Oct 2026 12:46:48 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tus/TUSKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tus/TUSKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2bc1fb4 Add FUNDING.yml pointing to the tus Open Collective (#232)
Cloned https://github.com/tus/TUSKit.git
Revision (git rev-parse @):
2bc1fb4dff7b83f0ba52da1e7b886b742d7d0a02
SUCCESS checkout https://github.com/tus/TUSKit.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": "tuskit",
      "name": "TUSKit",
      "url": "https://github.com/tus/TUSKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TUSKit",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/tus/TUSKit.git
[1/5269] Fetching tuskit
Fetched https://github.com/tus/TUSKit.git (1.57s)
Creating working copy for https://github.com/tus/TUSKit.git
Working copy of https://github.com/tus/TUSKit.git resolved at main (2bc1fb4)
warning: '.resolve-product-dependencies': dependency 'tuskit' is not used by any target
Found 0 product dependencies
========================================
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.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[29 / 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
[80 / 88] TUSKit
Build complete! (9.37 sec)
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/Tasks/CreationTask.swift:43: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;;\]
38 |
39 |     func run(completed: @escaping TaskCompletion) {
40 |         queue.async {
   |                     |- note: 'self' implicitly strongly captured here
   |                     `- note: add 'self' as a capture list item to silence
41 |             if self.didCancel { return }
42 |
43 |             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
44 |                 guard let self else { return }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/Tasks/CreationTask.swift:49: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;;\]
44 |                 guard let self else { return }
45 |
46 |                 self.queue.async {
   |                                  |- note: 'self' implicitly strongly captured here
   |                                  `- note: add 'self' as a capture list item to silence
47 |                     if self.didCancel { return }
48 |
49 |                     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
50 |                         guard let self else { return }
51 |
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/Tasks/StatusTask.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 |     func run(completed: @escaping TaskCompletion) {
 40 |         // Improvement: On failure, try uploading from the start. Create creationtask.
 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/StatusTask.swift:50: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;;\]
 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.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
 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/UploadDataTask.swift:90: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;;\]
 63 |
 64 |     func run(completed: @escaping TaskCompletion) {
 65 |         queue.async {
    |                     |- note: 'self' implicitly strongly captured here
    |                     `- note: add 'self' as a capture list item to silence
 66 |             // 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).
 67 |             guard !self.isCanceled else {
    :
 88 |             }
 89 |
 90 |             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
 91 |                 guard let self else { return }
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/Tasks/UploadDataTask.swift:103: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;;\]
 91 |                 guard let self else { return }
 92 |
 93 |                 self.queue.async {
    |                                  |- note: 'self' implicitly strongly captured here
    |                                  `- note: add 'self' as a capture list item to silence
 94 |                     if self.isCanceled {
 95 |                         completed(.failure(TUSClientError.taskCancelled))
    :
101 |                                                location: remoteDestination,
102 |                                                metaData: self.metaData,
103 |                                                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
104 |                         guard let self else { return }
105 |
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/TUSClient.swift:58:9: warning: 'didFinishUpload(id:url:context:client:)' is deprecated: Use the new didFinishUpload(id: UUID, url: URL, context: [String: String]?, client: TUSClient, responseHeaders: [String: String]?) method instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 56 |     func didFinishUpload(id: UUID, url: URL, context: [String: String]?, client: TUSClient, responseHeaders: [String: String]?) {
 57 |         // Supports calling the existing implementation without forcing conformance to the new delegate function.
 58 |         didFinishUpload(id: id, url: url, context: context, client: client)
    |         `- warning: 'didFinishUpload(id:url:context:client:)' is deprecated: Use the new didFinishUpload(id: UUID, url: URL, context: [String: String]?, client: TUSClient, responseHeaders: [String: String]?) method instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 59 |     }
 60 |
/Users/admin/builder/spi-builder-workspace/Sources/TUSKit/TUSClient.swift:572: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;;\]
569 |                 self.queue.sync { self.uploads[metadata.id] = metadata }
570 |
571 |                 self.api.registerCallback({ result in
    |                                           |- note: 'self' implicitly strongly captured here
    |                                           `- note: add 'self' as a capture list item to silence
572 |                     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
573 |                         if case .failure = result {
574 |                             _ = try? self?.retry(id: metadata.id)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
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/HTTPURLResponse+Headers.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.