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 Netable, reference v2.3.0 (d1dc98), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 14:42:07 UTC.

Swift 6 data race errors: 1

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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/steamclock/netable.git
Reference: v2.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/steamclock/netable
 * tag               v2.3.0     -> FETCH_HEAD
HEAD is now at d1dc982 fix changelog missing 2.2.0, update interceptor stuff to 2.3.0
Cloned https://github.com/steamclock/netable.git
Revision (git rev-parse @):
d1dc982cd6a0ec0db37e6d3873069f929422c074
SUCCESS checkout https://github.com/steamclock/netable.git at v2.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": "netable",
      "name": "Netable",
      "url": "https://github.com/steamclock/netable.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/netable",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/steamclock/netable.git
[1/3648] Fetching netable
Fetched https://github.com/steamclock/netable.git from cache (1.19s)
Creating working copy for https://github.com/steamclock/netable.git
Working copy of https://github.com/steamclock/netable.git resolved at v2.3.0 (d1dc982)
warning: '.resolve-product-dependencies': dependency 'netable' 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/steamclock/netable.git
https://github.com/steamclock/netable.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Netable",
  "name" : "Netable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Netable",
      "targets" : [
        "Netable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Netable",
      "module_type" : "SwiftTarget",
      "name" : "Netable",
      "path" : "Netable/Netable",
      "product_memberships" : [
        "Netable"
      ],
      "sources" : [
        "Config.swift",
        "DecodingError+Logging.swift",
        "Error.swift",
        "GraphQLRequest.swift",
        "HTTPMethod.swift",
        "Helper/ArrayDecodeStrategy.swift",
        "Helper/Netable+Equatable.swift",
        "Helper/Netable+Error.swift",
        "Helper/String+FullyQualifiedURL.swift",
        "Interceptors/AdaptedRequest.swift",
        "Interceptors/Interceptor.swift",
        "Interceptors/InterceptorList.swift",
        "LogDestination.swift",
        "LossyArray.swift",
        "Netable.swift",
        "Request.swift",
        "RequestFailedDelegate.swift",
        "RetryConfiguration.swift",
        "SmartUnwrap.swift",
        "URLRequest+EncodeParameters.swift",
        "URLRequest+EncodeURL.swift",
        "URLRequest+Multipart.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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/23] Emitting module Netable
/Users/admin/builder/spi-builder-workspace/Netable/Netable/LossyArray.swift:26:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | /// Array container that allows for partial decoding of elements.
14 | /// If an element of the array fails to decode, it will be omitted rather than the rest of the array failing to decode.
15 | public struct LossyArray<Element>: Sendable where Element: Sendable {
   |                          `- note: 'Element' previously declared here
16 |     /// All elements of the array that decoded successfully.
17 |     public var elements: [Element]
   :
24 | extension LossyArray: Decodable where Element: Decodable {
25 |     /// Decode non-optional item into an optional element.
26 |     public struct FailableDecodable<Element: Decodable>: Decodable {
   |                                     `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
27 |         public var element: Element?
28 |
/Users/admin/builder/spi-builder-workspace/Netable/Netable/Netable.swift:317:1: warning: extension declares a conformance of imported type 'AnyPublisher' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Combine' introduce this conformance in the future
315 | }
316 |
317 | extension AnyPublisher: @unchecked Sendable {}
    | |- warning: extension declares a conformance of imported type 'AnyPublisher' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Combine' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
318 |
[4/25] Compiling Netable URLRequest+EncodeURL.swift
[5/25] Compiling Netable URLRequest+Multipart.swift
[6/25] Compiling Netable String+FullyQualifiedURL.swift
[7/25] Compiling Netable AdaptedRequest.swift
[8/25] Compiling Netable LogDestination.swift
/Users/admin/builder/spi-builder-workspace/Netable/Netable/LossyArray.swift:26:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | /// Array container that allows for partial decoding of elements.
14 | /// If an element of the array fails to decode, it will be omitted rather than the rest of the array failing to decode.
15 | public struct LossyArray<Element>: Sendable where Element: Sendable {
   |                          `- note: 'Element' previously declared here
16 |     /// All elements of the array that decoded successfully.
17 |     public var elements: [Element]
   :
24 | extension LossyArray: Decodable where Element: Decodable {
25 |     /// Decode non-optional item into an optional element.
26 |     public struct FailableDecodable<Element: Decodable>: Decodable {
   |                                     `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
27 |         public var element: Element?
28 |
[9/25] Compiling Netable LossyArray.swift
/Users/admin/builder/spi-builder-workspace/Netable/Netable/LossyArray.swift:26:37: warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | /// Array container that allows for partial decoding of elements.
14 | /// If an element of the array fails to decode, it will be omitted rather than the rest of the array failing to decode.
15 | public struct LossyArray<Element>: Sendable where Element: Sendable {
   |                          `- note: 'Element' previously declared here
16 |     /// All elements of the array that decoded successfully.
17 |     public var elements: [Element]
   :
24 | extension LossyArray: Decodable where Element: Decodable {
25 |     /// Decode non-optional item into an optional element.
26 |     public struct FailableDecodable<Element: Decodable>: Decodable {
   |                                     `- warning: generic parameter 'Element' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
27 |         public var element: Element?
28 |
[10/25] Compiling Netable Interceptor.swift
[11/25] Compiling Netable InterceptorList.swift
[12/25] Compiling Netable GraphQLRequest.swift
[13/25] Compiling Netable HTTPMethod.swift
[14/25] Compiling Netable ArrayDecodeStrategy.swift
[15/25] Compiling Netable SmartUnwrap.swift
[16/25] Compiling Netable URLRequest+EncodeParameters.swift
[17/25] Compiling Netable Netable+Equatable.swift
[18/25] Compiling Netable Netable+Error.swift
[19/25] Compiling Netable RequestFailedDelegate.swift
[20/25] Compiling Netable RetryConfiguration.swift
[21/25] Compiling Netable Config.swift
[22/25] Compiling Netable DecodingError+Logging.swift
[23/25] Compiling Netable Error.swift
[24/25] Compiling Netable Netable.swift
/Users/admin/builder/spi-builder-workspace/Netable/Netable/Netable.swift:317:1: warning: extension declares a conformance of imported type 'AnyPublisher' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Combine' introduce this conformance in the future
315 | }
316 |
317 | extension AnyPublisher: @unchecked Sendable {}
    | |- warning: extension declares a conformance of imported type 'AnyPublisher' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Combine' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
318 |
/Users/admin/builder/spi-builder-workspace/Netable/Netable/Netable.swift:177:20: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
175 |         let resultSubject = PassthroughSubject<Result<T.FinalResource, NetableError>, Never>()
176 |
177 |         let task = Task {
    |                    |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
    |                    `- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
178 |             do {
179 |                 let finalResource = try await self.request(request)
    :
184 |         }
185 |
186 |         return (task: task, subject: resultSubject.receive(on: RunLoop.main))
    |                                                    `- note: access can happen concurrently
187 |     }
188 |
[25/25] Compiling Netable Request.swift
/Users/admin/builder/spi-builder-workspace/Netable/Netable/Netable.swift:317:1: warning: extension declares a conformance of imported type 'AnyPublisher' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Combine' introduce this conformance in the future
315 | }
316 |
317 | extension AnyPublisher: @unchecked Sendable {}
    | |- warning: extension declares a conformance of imported type 'AnyPublisher' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Combine' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
318 |
/Users/admin/builder/spi-builder-workspace/Netable/Netable/Netable.swift:177:20: warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
175 |         let resultSubject = PassthroughSubject<Result<T.FinalResource, NetableError>, Never>()
176 |
177 |         let task = Task {
    |                    |- warning: sending value of non-Sendable type '() async -> ()' risks causing data races; this is an error in the Swift 6 language mode
    |                    `- note: Passing value of non-Sendable type '() async -> ()' as a 'sending' argument risks causing races in between local and caller code
178 |             do {
179 |                 let finalResource = try await self.request(request)
    :
184 |         }
185 |
186 |         return (task: task, subject: resultSubject.receive(on: RunLoop.main))
    |                                                    `- note: access can happen concurrently
187 |     }
188 |
Build complete! (6.94s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Netable",
  "name" : "Netable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Netable",
      "targets" : [
        "Netable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Netable",
      "module_type" : "SwiftTarget",
      "name" : "Netable",
      "path" : "Netable/Netable",
      "product_memberships" : [
        "Netable"
      ],
      "sources" : [
        "Config.swift",
        "DecodingError+Logging.swift",
        "Error.swift",
        "GraphQLRequest.swift",
        "HTTPMethod.swift",
        "Helper/ArrayDecodeStrategy.swift",
        "Helper/Netable+Equatable.swift",
        "Helper/Netable+Error.swift",
        "Helper/String+FullyQualifiedURL.swift",
        "Interceptors/AdaptedRequest.swift",
        "Interceptors/Interceptor.swift",
        "Interceptors/InterceptorList.swift",
        "LogDestination.swift",
        "LossyArray.swift",
        "Netable.swift",
        "Request.swift",
        "RequestFailedDelegate.swift",
        "RetryConfiguration.swift",
        "SmartUnwrap.swift",
        "URLRequest+EncodeParameters.swift",
        "URLRequest+EncodeURL.swift",
        "URLRequest+Multipart.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.