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 NetworkLayer, reference 1.0.0 (dfb2ee), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 19:22:53 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/network-layer.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/space-code/network-layer
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at dfb2ee4 Implement `network-layer` package (#1)
Cloned https://github.com/space-code/network-layer.git
Revision (git rev-parse @):
dfb2ee4beaa55a5e10551d7ef3e20d0362c9c27d
SUCCESS checkout https://github.com/space-code/network-layer.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/space-code/network-layer.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-1EA4D86E10B52AF.txt
[6/17] Compiling Atomic ILock.swift
[7/17] Compiling Atomic UnfairLock.swift
[8/17] Emitting module Typhoon
[9/17] Compiling Typhoon RetryPolicyError.swift
[10/17] Compiling Typhoon RetryPolicyService.swift
[11/17] Compiling Typhoon RetryPolicyStrategy.swift
[12/17] Compiling Typhoon IRetryPolicyService.swift
[13/17] Compiling Typhoon RetrySequence.swift
[14/17] Compiling Typhoon RetryIterator.swift
[15/17] Compiling Typhoon DispatchTimeInterval+Double.swift
[16/17] Emitting module Atomic
[17/17] Compiling Atomic Atomic.swift
[18/32] Compiling NetworkLayerInterfaces RequestBody.swift
[19/32] Compiling NetworkLayerInterfaces Response.swift
[20/33] Compiling NetworkLayerInterfaces INetworkLayerAssembly.swift
[21/33] Compiling NetworkLayerInterfaces AuthenticatorInterceptorError.swift
[22/33] Compiling NetworkLayerInterfaces IAuthenticationCredential.swift
[23/33] Emitting module NetworkLayerInterfaces
[24/33] Compiling NetworkLayerInterfaces IAuthenticationInterceptor.swift
[25/33] Compiling NetworkLayerInterfaces IAuthenticator.swift
[26/33] Compiling NetworkLayerInterfaces IRequestProcessor.swift
[27/33] Compiling NetworkLayerInterfaces RequestProcessorDelegate.swift
[28/33] Compiling NetworkLayerInterfaces IDataRequestHandler.swift
[29/33] Compiling NetworkLayerInterfaces Configuration.swift
[30/33] Compiling NetworkLayerInterfaces HTTPMethod.swift
[31/33] Compiling NetworkLayerInterfaces IRequest.swift
[32/33] Compiling NetworkLayerInterfaces NetworkLayerError.swift
[33/33] Compiling NetworkLayerInterfaces IRequestBuilder.swift
[34/44] Compiling NetworkLayer IRequest+.swift
[35/45] Compiling NetworkLayer NetworkLayerAssembly.swift
[36/45] Compiling NetworkLayer RequestProcessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/RequestProcessor/RequestProcessor.swift:163:75: warning: passing non-sendable parameter 'send' to function expecting a @Sendable closure
156 |     private func performRequest<T>(
157 |         strategy: RetryPolicyStrategy? = nil,
158 |         _ send: () async throws -> T
    |           `- note: parameter 'send' is implicitly non-sendable
159 |     ) async throws -> T {
160 |         do {
161 |             return try await send()
162 |         } catch {
163 |             return try await retryPolicyService.retry(strategy: strategy, send)
    |                                                                           `- warning: passing non-sendable parameter 'send' to function expecting a @Sendable closure
164 |         }
165 |     }
[37/45] Compiling NetworkLayer IRequestParametersEncoder.swift
[38/45] Compiling NetworkLayer Response+Map.swift
[39/45] Compiling NetworkLayer RequestBuilder.swift
[40/45] Compiling NetworkLayer DataRequestHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkLayer/Classes/Core/Services/DataRequestHandler/DataRequestHandler.swift:43:44: warning: converting a value of type '(__shared sending Result<Response<Data>, any Error>) -> ()' to type '(Result<Response<Data>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
 41 |             try await withUnsafeThrowingContinuation { continuation in
 42 |                 let dataTaskHandler = DataTaskHandler(delegate: delegate)
 43 |                 dataTaskHandler.completion = continuation.resume(with:)
    |                                            |- warning: converting a value of type '(__shared sending Result<Response<Data>, any Error>) -> ()' to type '(Result<Response<Data>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                            `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
 44 |                 handlers[task] = dataTaskHandler
 45 |                 task.resume()
[41/45] Compiling NetworkLayer AuthenticationInterceptor.swift
[42/45] Compiling NetworkLayer IRequestBodyEncoder.swift
[43/45] Emitting module NetworkLayer
[44/45] Compiling NetworkLayer RequestBodyEncoder.swift
[45/45] Compiling NetworkLayer RequestParametersEncoder.swift
Build complete! (15.65s)
Fetching https://github.com/WeTransfer/Mocker
Fetching https://github.com/space-code/typhoon
Fetching https://github.com/space-code/atomic
[1/227] Fetching atomic
[138/2116] Fetching atomic, mocker
[298/2372] Fetching atomic, mocker, typhoon
Fetched https://github.com/space-code/atomic from cache (0.95s)
Fetched https://github.com/WeTransfer/Mocker from cache (0.95s)
Fetched https://github.com/space-code/typhoon from cache (0.95s)
Computing version for https://github.com/WeTransfer/Mocker
Computed https://github.com/WeTransfer/Mocker at 3.0.2 (3.80s)
Computing version for https://github.com/space-code/atomic
warning: 'atomic': /Package.swift:12:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
10 |         .iOS(.v13),
11 |         .watchOS(.v6),
12 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
13 |         .visionOS(.v1),
14 |     ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/space-code/atomic at 1.1.0 (0.45s)
Computing version for https://github.com/space-code/typhoon
Computed https://github.com/space-code/typhoon at 1.2.1 (0.40s)
Creating working copy for https://github.com/space-code/typhoon
Working copy of https://github.com/space-code/typhoon resolved at 1.2.1
Creating working copy for https://github.com/WeTransfer/Mocker
Working copy of https://github.com/WeTransfer/Mocker resolved at 3.0.2
Creating working copy for https://github.com/space-code/atomic
Working copy of https://github.com/space-code/atomic resolved at 1.1.0
warning: 'atomic': /Users/admin/builder/spi-builder-workspace/.build/checkouts/atomic/Package.swift:12:16: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
10 |         .iOS(.v13),
11 |         .watchOS(.v6),
12 |         .tvOS(.v11),
   |                `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
13 |         .visionOS(.v1),
14 |     ],
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "atomic",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/space-code/atomic"
    },
    {
      "identity" : "typhoon",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/space-code/typhoon"
    },
    {
      "identity" : "mocker",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/WeTransfer/Mocker"
    }
  ],
  "manifest_display_name" : "NetworkLayer",
  "name" : "NetworkLayer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "NetworkLayer",
      "targets" : [
        "NetworkLayer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NetworkLayerInterfaces",
      "targets" : [
        "NetworkLayerInterfaces"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkLayerTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkLayerTests",
      "path" : "Tests/NetworkLayerTests",
      "product_dependencies" : [
        "Mocker",
        "Typhoon"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/NetworkLayerTests/Resources/JSONs/user.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Classes/Helpers/Fakes/HTTPURLResponse+Fake.swift",
        "Classes/Helpers/Fakes/URLRequest+Fake.swift",
        "Classes/Helpers/Fakes/URLSessionDataTask+Fake.swift",
        "Classes/Helpers/Fakes/URLSessionTask+Fake.swift",
        "Classes/Helpers/Helpers/DynamicStubs.swift",
        "Classes/Helpers/Helpers/RequestProcessor+Mock.swift",
        "Classes/Helpers/Mocks/AuthenticatorMock.swift",
        "Classes/Helpers/Mocks/AuthentificatorInterceptorMock.swift",
        "Classes/Helpers/Mocks/DataRequestHandlerMock.swift",
        "Classes/Helpers/Mocks/RequestBodyEncoderMock.swift",
        "Classes/Helpers/Mocks/RequestBuilderMock.swift",
        "Classes/Helpers/Mocks/RequestMock.swift",
        "Classes/Helpers/Mocks/RequestParametersEncoderMock.swift",
        "Classes/Helpers/Mocks/RequestProcessorDelegateMock.swift",
        "Classes/Helpers/Mocks/URLSessionDelegateMock.swift",
        "Classes/Helpers/Stubs/AuthenticationCredentialStub.swift",
        "Classes/Helpers/Stubs/RequestStub.swift",
        "Classes/Helpers/Stubs/StubResponse.swift",
        "Classes/Models/MockedData.swift",
        "Classes/Models/User.swift",
        "Classes/Tests/IntegrationTests/RequestProcessorAuthenticationTests.swift",
        "Classes/Tests/IntegrationTests/RequestProcessorRequestTests.swift",
        "Classes/Tests/UnitTests/AuthenticationInterceptorTests.swift",
        "Classes/Tests/UnitTests/DataRequestHanderTests.swift",
        "Classes/Tests/UnitTests/RequestBodyEncoderTests.swift",
        "Classes/Tests/UnitTests/RequestBuilderTests.swift",
        "Classes/Tests/UnitTests/RequestParametersEncoderTests.swift",
        "Classes/Tests/UnitTests/RequestProcessorTests.swift"
      ],
      "target_dependencies" : [
        "NetworkLayer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetworkLayerInterfaces",
      "module_type" : "SwiftTarget",
      "name" : "NetworkLayerInterfaces",
      "path" : "Sources/NetworkLayerInterfaces",
      "product_dependencies" : [
        "Typhoon"
      ],
      "product_memberships" : [
        "NetworkLayer",
        "NetworkLayerInterfaces"
      ],
      "sources" : [
        "Classes/Core/Authenticator/AuthenticatorInterceptorError.swift",
        "Classes/Core/Authenticator/IAuthenticationCredential.swift",
        "Classes/Core/Authenticator/IAuthenticationInterceptor.swift",
        "Classes/Core/Authenticator/IAuthenticator.swift",
        "Classes/Core/Models/Configuration.swift",
        "Classes/Core/Models/HTTPMethod.swift",
        "Classes/Core/Models/IRequest.swift",
        "Classes/Core/Models/NetworkLayerError.swift",
        "Classes/Core/Models/RequestBody.swift",
        "Classes/Core/Models/Response.swift",
        "Classes/Core/Services/IDataRequestHandler.swift",
        "Classes/Core/Services/IRequestBuilder.swift",
        "Classes/Core/Services/IRequestProcessor.swift",
        "Classes/Core/Services/RequestProcessorDelegate.swift",
        "Classes/DI/INetworkLayerAssembly.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NetworkLayer",
      "module_type" : "SwiftTarget",
      "name" : "NetworkLayer",
      "path" : "Sources/NetworkLayer",
      "product_dependencies" : [
        "Atomic",
        "Typhoon"
      ],
      "product_memberships" : [
        "NetworkLayer"
      ],
      "sources" : [
        "Classes/Core/Authentification/AuthenticationInterceptor.swift",
        "Classes/Core/Builders/RequestBuilder/RequestBodyEncoder/IRequestBodyEncoder.swift",
        "Classes/Core/Builders/RequestBuilder/RequestBodyEncoder/RequestBodyEncoder.swift",
        "Classes/Core/Builders/RequestBuilder/RequestBuilder.swift",
        "Classes/Core/Builders/RequestBuilder/RequestParameterEncoder/IRequestParametersEncoder.swift",
        "Classes/Core/Builders/RequestBuilder/RequestParameterEncoder/RequestParametersEncoder.swift",
        "Classes/Core/Services/DataRequestHandler/DataRequestHandler.swift",
        "Classes/Core/Services/RequestProcessor/RequestProcessor.swift",
        "Classes/DI/NetworkLayerAssembly.swift",
        "Classes/Extensions/IRequest+.swift",
        "Classes/Extensions/Response+Map.swift"
      ],
      "target_dependencies" : [
        "NetworkLayerInterfaces"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.