The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DBNetworkStack, reference 4.0.0 (516e1a), with Swift 6.2 for macOS (SPM) on 11 Jul 2025 12:22:56 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/dbsystel/DBNetworkStack.git
Reference: 4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dbsystel/DBNetworkStack
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at 516e1a4 Merge pull request #112 from dbsystel/release/4.0
Cloned https://github.com/dbsystel/DBNetworkStack.git
Revision (git rev-parse @):
516e1a437fbe6a9435cb57f35ef31b95501a0405
SUCCESS checkout https://github.com/dbsystel/DBNetworkStack.git at 4.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dbsystel/DBNetworkStack.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/21] Compiling DBNetworkStack NetworkServiceMock.swift
[4/21] Compiling DBNetworkStack RetryNetworkService.swift
[5/21] Compiling DBNetworkStack Resource+Map.swift
[6/21] Compiling DBNetworkStack Resource+Void.swift
[7/23] Compiling DBNetworkStack Resource+Decodable.swift
/Users/admin/builder/spi-builder-workspace/Source/Resource+Decodable.swift:37:29: warning: capture of non-sendable type 'Model.Type' in an isolated closure; this is an error in the Swift 6 language mode
35 |     public init(request: URLRequest, decoder: JSONDecoder, mapError: @escaping @Sendable  (_ networkError: NetworkError) -> E) {
36 |         self.init(request: request, parse: {
37 |                 try decoder.decode(Model.self, from: $0)
   |                             `- warning: capture of non-sendable type 'Model.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 |             },
39 |             mapError: mapError
/Users/admin/builder/spi-builder-workspace/Source/Resource+Decodable.swift:55:29: warning: capture of non-sendable type 'Model.Type' in an isolated closure; this is an error in the Swift 6 language mode
53 |     public init(request: URLRequest, decoder: JSONDecoder) {
54 |         self.init(request: request, parse: {
55 |                 try decoder.decode(Model.self, from: $0)
   |                             `- warning: capture of non-sendable type 'Model.Type' in an isolated closure; this is an error in the Swift 6 language mode
56 |             },
57 |             mapError: {
[8/23] Compiling DBNetworkStack Resource+Inspect.swift
/Users/admin/builder/spi-builder-workspace/Source/Resource+Decodable.swift:37:29: warning: capture of non-sendable type 'Model.Type' in an isolated closure; this is an error in the Swift 6 language mode
35 |     public init(request: URLRequest, decoder: JSONDecoder, mapError: @escaping @Sendable  (_ networkError: NetworkError) -> E) {
36 |         self.init(request: request, parse: {
37 |                 try decoder.decode(Model.self, from: $0)
   |                             `- warning: capture of non-sendable type 'Model.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 |             },
39 |             mapError: mapError
/Users/admin/builder/spi-builder-workspace/Source/Resource+Decodable.swift:55:29: warning: capture of non-sendable type 'Model.Type' in an isolated closure; this is an error in the Swift 6 language mode
53 |     public init(request: URLRequest, decoder: JSONDecoder) {
54 |         self.init(request: request, parse: {
55 |                 try decoder.decode(Model.self, from: $0)
   |                             `- warning: capture of non-sendable type 'Model.Type' in an isolated closure; this is an error in the Swift 6 language mode
56 |             },
57 |             mapError: {
[9/23] Compiling DBNetworkStack BasicNetworkService.swift
[10/23] Compiling DBNetworkStack ModifyRequestNetworkService.swift
[11/23] Compiling DBNetworkStack Resource.swift
[12/23] Compiling DBNetworkStack ResourceWithError+NetworkErrorConvertible.swift
[13/23] Compiling DBNetworkStack NetworkService+ResourceWithError.swift
[14/23] Compiling DBNetworkStack NetworkService.swift
[15/23] Compiling DBNetworkStack URL+StaticStringInit.swift
[16/23] Compiling DBNetworkStack URLRequest+Init.swift
[17/23] Compiling DBNetworkStack HTTPMethod.swift
[18/23] Compiling DBNetworkStack NetworkAccess.swift
[19/23] Emitting module DBNetworkStack
[20/23] Compiling DBNetworkStack NetworkError.swift
[21/23] Compiling DBNetworkStack NetworkErrorConvertible.swift
[22/23] Compiling DBNetworkStack URLRequest+Modifications.swift
[23/23] Compiling DBNetworkStack URLSession+NetworkAccess.swift
Build complete! (5.47s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DBNetworkStack",
  "name" : "DBNetworkStack",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "DBNetworkStack",
      "targets" : [
        "DBNetworkStack"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DBNetworkStackTests",
      "module_type" : "SwiftTarget",
      "name" : "DBNetworkStackTests",
      "path" : "Tests",
      "sources" : [
        "DecodableResoureTest.swift",
        "DefaultMocks.swift",
        "ModifyRequestNetworkService.swift",
        "NetworkAccessMock.swift",
        "NetworkErrorTest.swift",
        "NetworkServiceMockTest.swift",
        "NetworkServiceTest.swift",
        "NetworkServiceWithErrorTest.swift",
        "ResourceInspectTest.swift",
        "ResourceTest.swift",
        "ResourceWithErrorTest.swift",
        "RetryNetworkserviceTest.swift",
        "TrainModel.swift",
        "URL+StaticStringInitTest.swift",
        "URLRequestTest.swift"
      ],
      "target_dependencies" : [
        "DBNetworkStack"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DBNetworkStack",
      "module_type" : "SwiftTarget",
      "name" : "DBNetworkStack",
      "path" : "Source",
      "product_memberships" : [
        "DBNetworkStack"
      ],
      "sources" : [
        "HTTPMethod.swift",
        "NetworkAccess.swift",
        "NetworkError.swift",
        "NetworkErrorConvertible.swift",
        "NetworkService+ResourceWithError.swift",
        "NetworkService.swift",
        "NetworkServices/BasicNetworkService.swift",
        "NetworkServices/ModifyRequestNetworkService.swift",
        "NetworkServices/NetworkServiceMock.swift",
        "NetworkServices/RetryNetworkService.swift",
        "Resource+Decodable.swift",
        "Resource+Inspect.swift",
        "Resource+Map.swift",
        "Resource+Void.swift",
        "Resource.swift",
        "ResourceWithError+NetworkErrorConvertible.swift",
        "URL+StaticStringInit.swift",
        "URLRequest+Init.swift",
        "URLRequest+Modifications.swift",
        "URLSession+NetworkAccess.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.