The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Endpoint, reference 1.0.20 (849bf0), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 09:16:59 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/OakCityLabs/Endpoint.git
Reference: 1.0.20
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OakCityLabs/Endpoint
 * tag               1.0.20     -> FETCH_HEAD
HEAD is now at 849bf07 Make some of the HttpResponseValidator public.
Cloned https://github.com/OakCityLabs/Endpoint.git
Revision (git rev-parse @):
849bf0726209db87c495408823eeb1e6901ddb5c
SUCCESS checkout https://github.com/OakCityLabs/Endpoint.git at 1.0.20
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/OakCityLabs/Endpoint.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/8] Compiling Logging LogHandler.swift
[5/8] Compiling Logging MetadataProvider.swift
[6/8] Compiling Logging Locks.swift
[7/8] Emitting module Logging
[8/8] Compiling Logging Logging.swift
[9/25] Compiling Endpoint HttpResponseValidator.swift
[10/25] Compiling Endpoint JsonResponseValidator.swift
[11/26] Compiling Endpoint EndpointHttpMethod.swift
[12/26] Compiling Endpoint EndpointPageable.swift
[13/26] Compiling Endpoint EndpointController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Endpoint/EndpointController.swift:135:31: warning: capture of non-sendable type 'ServerError.Type' in an isolated closure
133 |             }
134 |
135 |             if let apiError = self.process(networkError: error, failSilently: endpoint.failSilently) {
    |                               `- warning: capture of non-sendable type 'ServerError.Type' in an isolated closure
136 |                 DispatchQueue.performOnMainThread { completion?(.failure(apiError)) }
137 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Endpoint/EndpointController.swift:109:15: warning: capture of non-sendable type 'ServerError.Type' in an isolated closure
107 |     ///   - completion: (optional) This completion block is called after the network request is complete.  The
108 |     ///   single argument is a Result object with either a Payload(.success) object or an Error(.failure).
109 |     open func load<Payload>(_ endpoint: Endpoint<Payload>,
    |               `- warning: capture of non-sendable type 'ServerError.Type' in an isolated closure
110 |                             page: Int = 1,
111 |                             synchronous: Bool = false,
[14/26] Compiling Endpoint EndpointError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Endpoint/EndpointController.swift:135:31: warning: capture of non-sendable type 'ServerError.Type' in an isolated closure
133 |             }
134 |
135 |             if let apiError = self.process(networkError: error, failSilently: endpoint.failSilently) {
    |                               `- warning: capture of non-sendable type 'ServerError.Type' in an isolated closure
136 |                 DispatchQueue.performOnMainThread { completion?(.failure(apiError)) }
137 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Endpoint/EndpointController.swift:109:15: warning: capture of non-sendable type 'ServerError.Type' in an isolated closure
107 |     ///   - completion: (optional) This completion block is called after the network request is complete.  The
108 |     ///   single argument is a Result object with either a Payload(.success) object or an Error(.failure).
109 |     open func load<Payload>(_ endpoint: Endpoint<Payload>,
    |               `- warning: capture of non-sendable type 'ServerError.Type' in an isolated closure
110 |                             page: Int = 1,
111 |                             synchronous: Bool = false,
[15/26] Emitting module Endpoint
/Users/admin/builder/spi-builder-workspace/Sources/Endpoint/Endpoint.swift:269:27: warning: generic parameter 'Payload' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  9 | import Foundation
 10 |
 11 | open class Endpoint<Payload> {
    |                     `- note: 'Payload' previously declared here
 12 |     public let serverUrl: URL?
 13 |     public let pathPrefix: String
    :
267 |
268 | extension Endpoint: Equatable {
269 |     public static func ==<Payload>(lhs: Endpoint<Payload>, rhs: Endpoint<Payload>) -> Bool {
    |                           `- warning: generic parameter 'Payload' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
270 |         return (lhs.serverUrl == rhs.serverUrl)
271 |             && (lhs.pathPrefix == rhs.pathPrefix)
[16/26] Compiling Endpoint CodableEndpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Endpoint/Endpoint.swift:269:27: warning: generic parameter 'Payload' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  9 | import Foundation
 10 |
 11 | open class Endpoint<Payload> {
    |                     `- note: 'Payload' previously declared here
 12 |     public let serverUrl: URL?
 13 |     public let pathPrefix: String
    :
267 |
268 | extension Endpoint: Equatable {
269 |     public static func ==<Payload>(lhs: Endpoint<Payload>, rhs: Endpoint<Payload>) -> Bool {
    |                           `- warning: generic parameter 'Payload' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
270 |         return (lhs.serverUrl == rhs.serverUrl)
271 |             && (lhs.pathPrefix == rhs.pathPrefix)
[17/26] Compiling Endpoint Endpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Endpoint/Endpoint.swift:269:27: warning: generic parameter 'Payload' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  9 | import Foundation
 10 |
 11 | open class Endpoint<Payload> {
    |                     `- note: 'Payload' previously declared here
 12 |     public let serverUrl: URL?
 13 |     public let pathPrefix: String
    :
267 |
268 | extension Endpoint: Equatable {
269 |     public static func ==<Payload>(lhs: Endpoint<Payload>, rhs: Endpoint<Payload>) -> Bool {
    |                           `- warning: generic parameter 'Payload' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
270 |         return (lhs.serverUrl == rhs.serverUrl)
271 |             && (lhs.pathPrefix == rhs.pathPrefix)
[18/26] Compiling Endpoint MimeType.swift
[19/26] Compiling Endpoint EndpointServerError.swift
[20/26] Compiling Endpoint DateFormatter.swift
[21/26] Compiling Endpoint String.swift
[22/26] Compiling Endpoint FileDownloadEndpoint.swift
[23/26] Compiling Endpoint ReachabilityTester.swift
[24/26] Compiling Endpoint Dictionary.swift
[25/26] Compiling Endpoint DispatchQueue.swift
[26/26] Compiling Endpoint ValidationError.swift
Build complete! (7.10s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.44s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "Endpoint",
  "name" : "Endpoint",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "Endpoint",
      "targets" : [
        "Endpoint"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EndpointTests",
      "module_type" : "SwiftTarget",
      "name" : "EndpointTests",
      "path" : "Tests/EndpointTests",
      "sources" : [
        "CodableEndpointTests.swift",
        "EndpointControllerTests.swift",
        "EndpointPageableTests.swift",
        "EndpointTests+Equality.swift",
        "EndpointTests.swift",
        "Extensions/DateFormatterTests.swift",
        "Extensions/StringTests.swift",
        "FileDownloadEndpointTests.swift",
        "Model/Token.swift",
        "Model/User.swift",
        "Private/FakeLogHandler.swift",
        "Private/HttpResponseValidatorTests.swift",
        "Private/JsonResponseValidatorTests.swift",
        "Private/MimeTypeTests.swift",
        "Private/ReachabilityTests.swift",
        "ValidationErrorTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Endpoint"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Endpoint",
      "module_type" : "SwiftTarget",
      "name" : "Endpoint",
      "path" : "Sources/Endpoint",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "Endpoint"
      ],
      "sources" : [
        "CodableEndpoint.swift",
        "Endpoint.swift",
        "EndpointController.swift",
        "EndpointError.swift",
        "EndpointHttpMethod.swift",
        "EndpointPageable.swift",
        "EndpointServerError.swift",
        "Extensions/DateFormatter.swift",
        "Extensions/Dictionary.swift",
        "Extensions/DispatchQueue.swift",
        "Extensions/String.swift",
        "FileDownloadEndpoint.swift",
        "Private/HttpResponseValidator.swift",
        "Private/JsonResponseValidator.swift",
        "Private/MimeType.swift",
        "Private/ReachabilityTester.swift",
        "ValidationError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.