The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of swift-networking, reference 1.3.0 (db2cbd), with Swift 6.1 for macOS (SPM) on 8 Jun 2025 11:45:32 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/telemtobi/swift-networking.git
Reference: 1.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/telemtobi/swift-networking
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at db2cbdb Merge pull request #15 from TelemTobi/interceptor
Cloned https://github.com/telemtobi/swift-networking.git
Revision (git rev-parse @):
db2cbdbf1629154927a51d23945068372ca98e98
SUCCESS checkout https://github.com/telemtobi/swift-networking.git at 1.3.0
========================================
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",
  "dependencies": [
    {
      "identity": "swift-networking",
      "name": "swift-networking",
      "url": "https://github.com/telemtobi/swift-networking.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-networking",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/telemtobi/swift-networking.git
[1/722] Fetching swift-networking
Fetched https://github.com/telemtobi/swift-networking.git from cache (0.78s)
Creating working copy for https://github.com/telemtobi/swift-networking.git
Working copy of https://github.com/telemtobi/swift-networking.git resolved at 1.3.0 (db2cbdb)
warning: '.resolve-product-dependencies': dependency 'swift-networking' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/telemtobi/swift-networking.git
https://github.com/telemtobi/swift-networking.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-networking",
  "name" : "swift-networking",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Networking",
      "targets" : [
        "Networking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkingTests",
      "path" : "Tests/NetworkingTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NetworkingTests/Resources/SampleBadResponse.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NetworkingTests/Resources/SampleResponse.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Helpers/TestAuthenticator.swift",
        "Helpers/TestBody.swift",
        "Helpers/TestEndpoint.swift",
        "Helpers/TestError.swift",
        "Helpers/TestResponse.swift",
        "NetworkingControllerTests.swift",
        "URLRequestTests.swift"
      ],
      "target_dependencies" : [
        "Networking"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Networking",
      "module_type" : "SwiftTarget",
      "name" : "Networking",
      "path" : "Sources/Networking",
      "product_memberships" : [
        "Networking"
      ],
      "sources" : [
        "Controller/NetworkingController+Internal.swift",
        "Controller/NetworkingController+Logging.swift",
        "Controller/NetworkingController.swift",
        "DecodableError.swift",
        "Endpoint.swift",
        "Extensions/Data+Networking.swift",
        "Extensions/URL+Networking.swift",
        "Extensions/URLRequest+Networking.swift",
        "Extensions/URLResponse+Networking.swift",
        "HttpMethod.swift",
        "HttpStatus.swift",
        "HttpTask.swift",
        "Interceptor.swift",
        "Internal/AnyEncodable.swift",
        "Internal/Error+Extension.swift",
        "Internal/String+Extension.swift",
        "Internal/Task+Extension.swift",
        "JsonMapper.swift",
        "Networking.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/21] Compiling Networking Interceptor.swift
[4/21] Compiling Networking AnyEncodable.swift
[5/21] Compiling Networking URLResponse+Networking.swift
[6/21] Compiling Networking HttpMethod.swift
[7/21] Compiling Networking URL+Networking.swift
[8/21] Compiling Networking URLRequest+Networking.swift
[9/22] Compiling Networking Endpoint.swift
[10/22] Compiling Networking Data+Networking.swift
[11/22] Compiling Networking NetworkingController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:110:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
108 |     ///   On success, the result contains the decoded model of type `T`. On failure, it contains an error of type `F` describing the issue.
109 |     public func request<T: Decodable & Sendable>(_ endpoint: E, completion: @escaping (Result<T, F>) -> Void) {
110 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
111 |             do {
112 |                 let result: T = try await request(endpoint)
    |                                           `- note: closure captures 'self' which is accessible to code in the current task
113 |                 completion(.success(result))
114 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:201:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
199 |     ///     On success, the result contains the decoded model of type `T`. On failure, it contains an error of type `F`.
200 |     public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E, completion: @escaping (Result<T, F>) -> Void) {
201 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
202 |             do {
203 |                 let result: T = try await request(endpoint)
    |                                           `- note: closure captures 'self' which is accessible to code in the current task
204 |                 completion(.success(result))
205 |             } catch {
[12/22] Compiling Networking DecodableError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:110:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
108 |     ///   On success, the result contains the decoded model of type `T`. On failure, it contains an error of type `F` describing the issue.
109 |     public func request<T: Decodable & Sendable>(_ endpoint: E, completion: @escaping (Result<T, F>) -> Void) {
110 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
111 |             do {
112 |                 let result: T = try await request(endpoint)
    |                                           `- note: closure captures 'self' which is accessible to code in the current task
113 |                 completion(.success(result))
114 |             } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:201:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
199 |     ///     On success, the result contains the decoded model of type `T`. On failure, it contains an error of type `F`.
200 |     public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E, completion: @escaping (Result<T, F>) -> Void) {
201 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
202 |             do {
203 |                 let result: T = try await request(endpoint)
    |                                           `- note: closure captures 'self' which is accessible to code in the current task
204 |                 completion(.success(result))
205 |             } catch {
[13/22] Emitting module Networking
[14/22] Compiling Networking NetworkingController+Internal.swift
[15/22] Compiling Networking NetworkingController+Logging.swift
[16/22] Compiling Networking Task+Extension.swift
[17/22] Compiling Networking JsonMapper.swift
[18/22] Compiling Networking Error+Extension.swift
[19/22] Compiling Networking String+Extension.swift
[20/22] Compiling Networking HttpStatus.swift
[21/22] Compiling Networking HttpTask.swift
[22/22] Compiling Networking Networking.swift
Build complete! (6.69s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-networking",
  "name" : "swift-networking",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Networking",
      "targets" : [
        "Networking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkingTests",
      "path" : "Tests/NetworkingTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NetworkingTests/Resources/SampleBadResponse.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NetworkingTests/Resources/SampleResponse.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Helpers/TestAuthenticator.swift",
        "Helpers/TestBody.swift",
        "Helpers/TestEndpoint.swift",
        "Helpers/TestError.swift",
        "Helpers/TestResponse.swift",
        "NetworkingControllerTests.swift",
        "URLRequestTests.swift"
      ],
      "target_dependencies" : [
        "Networking"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Networking",
      "module_type" : "SwiftTarget",
      "name" : "Networking",
      "path" : "Sources/Networking",
      "product_memberships" : [
        "Networking"
      ],
      "sources" : [
        "Controller/NetworkingController+Internal.swift",
        "Controller/NetworkingController+Logging.swift",
        "Controller/NetworkingController.swift",
        "DecodableError.swift",
        "Endpoint.swift",
        "Extensions/Data+Networking.swift",
        "Extensions/URL+Networking.swift",
        "Extensions/URLRequest+Networking.swift",
        "Extensions/URLResponse+Networking.swift",
        "HttpMethod.swift",
        "HttpStatus.swift",
        "HttpTask.swift",
        "Interceptor.swift",
        "Internal/AnyEncodable.swift",
        "Internal/Error+Extension.swift",
        "Internal/String+Extension.swift",
        "Internal/Task+Extension.swift",
        "JsonMapper.swift",
        "Networking.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.