The Swift Package Index logo.Swift Package Index

Build Information

Successful build of APIKit, reference 5.4.0 (b839e5), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 19:29:47 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/ishkawa/APIKit.git
Reference: 5.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ishkawa/APIKit
 * tag               5.4.0      -> FETCH_HEAD
HEAD is now at b839e53 Set version 5.4.0
Cloned https://github.com/ishkawa/APIKit.git
Revision (git rev-parse @):
b839e53b870104798035b279d2a6168b0a2227b1
SUCCESS checkout https://github.com/ishkawa/APIKit.git at 5.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ishkawa/APIKit.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/25] Emitting module APIKit
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/BodyParameters/Data+InputStream.swift:5:10: warning: associated value 'unreadableStream' of 'Sendable'-conforming enum 'InputStreamError' has non-sendable type 'InputStream'; this is an error in the Swift 6 language mode
 3 | enum InputStreamError: Error {
 4 |     case invalidDataCapacity(Int)
 5 |     case unreadableStream(InputStream)
   |          `- warning: associated value 'unreadableStream' of 'Sendable'-conforming enum 'InputStreamError' has non-sendable type 'InputStream'; this is an error in the Swift 6 language mode
 6 | }
 7 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h:56:12: note: class 'InputStream' does not conform to the 'Sendable' protocol
 54 | // NSInputStream is an abstract class representing the base functionality of a read stream.
 55 | // Subclassers are required to implement these methods.
 56 | @interface NSInputStream : NSStream
    |            `- note: class 'InputStream' does not conform to the 'Sendable' protocol
 57 | - (NSInteger)read:(uint8_t *)buffer maxLength:(NSUInteger)len;
 58 |     // reads up to length bytes into the supplied buffer, which must be at least of size len. Returns the actual number of bytes read.
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/Combine/Combine.swift:31:49: warning: generic parameter 'Request' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 5 |
 6 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 7 | public struct SessionTaskPublisher<Request: APIKit.Request>: Publisher {
   |                                    `- note: 'Request' previously declared here
 8 |     /// The kind of values published by this publisher.
 9 |     public typealias Output = Request.Response
   :
29 |     }
30 |
31 |     private final class SessionTaskSubscription<Request: APIKit.Request, Downstream: Subscriber>: Subscription where Request.Response == Downstream.Input, Downstream.Failure == Failure {
   |                                                 `- warning: generic parameter 'Request' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
32 |
33 |         private let request: Request
[4/27] Compiling APIKit SessionTaskError.swift
[5/27] Compiling APIKit HTTPMethod.swift
[6/27] Compiling APIKit Request.swift
[7/27] Compiling APIKit URLEncodedSerialization.swift
[8/27] Compiling APIKit Session.swift
[9/27] Compiling APIKit SessionAdapter.swift
[10/27] Compiling APIKit JSONBodyParameters.swift
[11/27] Compiling APIKit MultipartFormDataBodyParameters.swift
[12/27] Compiling APIKit ProtobufBodyParameters.swift
[13/27] Compiling APIKit CallbackQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/Combine/Combine.swift:31:49: warning: generic parameter 'Request' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 5 |
 6 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 7 | public struct SessionTaskPublisher<Request: APIKit.Request>: Publisher {
   |                                    `- note: 'Request' previously declared here
 8 |     /// The kind of values published by this publisher.
 9 |     public typealias Output = Request.Response
   :
29 |     }
30 |
31 |     private final class SessionTaskSubscription<Request: APIKit.Request, Downstream: Subscriber>: Subscription where Request.Response == Downstream.Input, Downstream.Failure == Failure {
   |                                                 `- warning: generic parameter 'Request' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
32 |
33 |         private let request: Request
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/Concurrency/Concurrency.swift:26:39: warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 |             return try await withCheckedThrowingContinuation { continuation in
25 |                 Task {
26 |                     let sessionTask = createSessionTask(request, callbackQueue: callbackQueue) { result in
   |                                       `- warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
27 |                         continuation.resume(with: result)
28 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/Concurrency/Concurrency.swift:21:48: warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |     /// - parameter callbackQueue: The queue where the handler runs. If this parameters is `nil`, default `callbackQueue` of `Session` will be used.
20 |     /// - returns: `Request.Response`
21 |     func response<Request: APIKit.Request>(for request: Request, callbackQueue: CallbackQueue? = nil) async throws -> Request.Response {
   |                                                `- warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |         let cancellationHandler = SessionTaskCancellationHandler()
23 |         return try await withTaskCancellationHandler(operation: {
[14/27] Compiling APIKit Combine.swift
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/Combine/Combine.swift:31:49: warning: generic parameter 'Request' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 5 |
 6 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 7 | public struct SessionTaskPublisher<Request: APIKit.Request>: Publisher {
   |                                    `- note: 'Request' previously declared here
 8 |     /// The kind of values published by this publisher.
 9 |     public typealias Output = Request.Response
   :
29 |     }
30 |
31 |     private final class SessionTaskSubscription<Request: APIKit.Request, Downstream: Subscriber>: Subscription where Request.Response == Downstream.Input, Downstream.Failure == Failure {
   |                                                 `- warning: generic parameter 'Request' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
32 |
33 |         private let request: Request
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/Concurrency/Concurrency.swift:26:39: warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 |             return try await withCheckedThrowingContinuation { continuation in
25 |                 Task {
26 |                     let sessionTask = createSessionTask(request, callbackQueue: callbackQueue) { result in
   |                                       `- warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
27 |                         continuation.resume(with: result)
28 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/Concurrency/Concurrency.swift:21:48: warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |     /// - parameter callbackQueue: The queue where the handler runs. If this parameters is `nil`, default `callbackQueue` of `Session` will be used.
20 |     /// - returns: `Request.Response`
21 |     func response<Request: APIKit.Request>(for request: Request, callbackQueue: CallbackQueue? = nil) async throws -> Request.Response {
   |                                                `- warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |         let cancellationHandler = SessionTaskCancellationHandler()
23 |         return try await withTaskCancellationHandler(operation: {
[15/27] Compiling APIKit Concurrency.swift
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/Combine/Combine.swift:31:49: warning: generic parameter 'Request' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 5 |
 6 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
 7 | public struct SessionTaskPublisher<Request: APIKit.Request>: Publisher {
   |                                    `- note: 'Request' previously declared here
 8 |     /// The kind of values published by this publisher.
 9 |     public typealias Output = Request.Response
   :
29 |     }
30 |
31 |     private final class SessionTaskSubscription<Request: APIKit.Request, Downstream: Subscriber>: Subscription where Request.Response == Downstream.Input, Downstream.Failure == Failure {
   |                                                 `- warning: generic parameter 'Request' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
32 |
33 |         private let request: Request
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/Concurrency/Concurrency.swift:26:39: warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 |             return try await withCheckedThrowingContinuation { continuation in
25 |                 Task {
26 |                     let sessionTask = createSessionTask(request, callbackQueue: callbackQueue) { result in
   |                                       `- warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
27 |                         continuation.resume(with: result)
28 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/Concurrency/Concurrency.swift:21:48: warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |     /// - parameter callbackQueue: The queue where the handler runs. If this parameters is `nil`, default `callbackQueue` of `Session` will be used.
20 |     /// - returns: `Request.Response`
21 |     func response<Request: APIKit.Request>(for request: Request, callbackQueue: CallbackQueue? = nil) async throws -> Request.Response {
   |                                                `- warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 |         let cancellationHandler = SessionTaskCancellationHandler()
23 |         return try await withTaskCancellationHandler(operation: {
[16/27] Compiling APIKit BodyParameters.swift
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/BodyParameters/Data+InputStream.swift:5:10: warning: associated value 'unreadableStream' of 'Sendable'-conforming enum 'InputStreamError' has non-sendable type 'InputStream'; this is an error in the Swift 6 language mode
 3 | enum InputStreamError: Error {
 4 |     case invalidDataCapacity(Int)
 5 |     case unreadableStream(InputStream)
   |          `- warning: associated value 'unreadableStream' of 'Sendable'-conforming enum 'InputStreamError' has non-sendable type 'InputStream'; this is an error in the Swift 6 language mode
 6 | }
 7 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h:56:12: note: class 'InputStream' does not conform to the 'Sendable' protocol
 54 | // NSInputStream is an abstract class representing the base functionality of a read stream.
 55 | // Subclassers are required to implement these methods.
 56 | @interface NSInputStream : NSStream
    |            `- note: class 'InputStream' does not conform to the 'Sendable' protocol
 57 | - (NSInteger)read:(uint8_t *)buffer maxLength:(NSUInteger)len;
 58 |     // reads up to length bytes into the supplied buffer, which must be at least of size len. Returns the actual number of bytes read.
[17/27] Compiling APIKit Data+InputStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/BodyParameters/Data+InputStream.swift:5:10: warning: associated value 'unreadableStream' of 'Sendable'-conforming enum 'InputStreamError' has non-sendable type 'InputStream'; this is an error in the Swift 6 language mode
 3 | enum InputStreamError: Error {
 4 |     case invalidDataCapacity(Int)
 5 |     case unreadableStream(InputStream)
   |          `- warning: associated value 'unreadableStream' of 'Sendable'-conforming enum 'InputStreamError' has non-sendable type 'InputStream'; this is an error in the Swift 6 language mode
 6 | }
 7 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h:56:12: note: class 'InputStream' does not conform to the 'Sendable' protocol
 54 | // NSInputStream is an abstract class representing the base functionality of a read stream.
 55 | // Subclassers are required to implement these methods.
 56 | @interface NSInputStream : NSStream
    |            `- note: class 'InputStream' does not conform to the 'Sendable' protocol
 57 | - (NSInteger)read:(uint8_t *)buffer maxLength:(NSUInteger)len;
 58 |     // reads up to length bytes into the supplied buffer, which must be at least of size len. Returns the actual number of bytes read.
[18/27] Compiling APIKit FormURLEncodedBodyParameters.swift
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/BodyParameters/Data+InputStream.swift:5:10: warning: associated value 'unreadableStream' of 'Sendable'-conforming enum 'InputStreamError' has non-sendable type 'InputStream'; this is an error in the Swift 6 language mode
 3 | enum InputStreamError: Error {
 4 |     case invalidDataCapacity(Int)
 5 |     case unreadableStream(InputStream)
   |          `- warning: associated value 'unreadableStream' of 'Sendable'-conforming enum 'InputStreamError' has non-sendable type 'InputStream'; this is an error in the Swift 6 language mode
 6 | }
 7 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h:56:12: note: class 'InputStream' does not conform to the 'Sendable' protocol
 54 | // NSInputStream is an abstract class representing the base functionality of a read stream.
 55 | // Subclassers are required to implement these methods.
 56 | @interface NSInputStream : NSStream
    |            `- note: class 'InputStream' does not conform to the 'Sendable' protocol
 57 | - (NSInteger)read:(uint8_t *)buffer maxLength:(NSUInteger)len;
 58 |     // reads up to length bytes into the supplied buffer, which must be at least of size len. Returns the actual number of bytes read.
[19/27] Compiling APIKit URLSessionAdapter.swift
[20/27] Compiling APIKit Unavailable.swift
[21/27] Compiling APIKit RequestError.swift
[22/27] Compiling APIKit ResponseError.swift
[23/27] Compiling APIKit ProtobufDataParser.swift
[24/27] Compiling APIKit StringDataParser.swift
[25/27] Compiling APIKit DataParser.swift
[26/27] Compiling APIKit FormURLEncodedDataParser.swift
[27/27] Compiling APIKit JSONDataParser.swift
Build complete! (4.94s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/APIKit/Info.plist
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "APIKit",
  "name" : "APIKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "APIKit",
      "targets" : [
        "APIKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "APIKitTests",
      "module_type" : "SwiftTarget",
      "name" : "APIKitTests",
      "path" : "Tests/APIKitTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/APIKitTests/Resources/test.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "BodyParametersType/FormURLEncodedBodyParametersTests.swift",
        "BodyParametersType/JSONBodyParametersTests.swift",
        "BodyParametersType/MultipartFormDataParametersTests.swift",
        "BodyParametersType/ProtobufBodyParametersTests.swift",
        "BodyParametersType/URLEncodedSerializationTests.swift",
        "Combine/CombineTests.swift",
        "Concurrency/ConcurrencyTests.swift",
        "DataParserType/FormURLEncodedDataParserTests.swift",
        "DataParserType/JSONDataParserTests.swift",
        "DataParserType/ProtobufDataParserTests.swift",
        "DataParserType/StringDataParserTests.swift",
        "RequestTests.swift",
        "SessionAdapterType/URLSessionAdapterSubclassTests.swift",
        "SessionAdapterType/URLSessionAdapterTests.swift",
        "SessionCallbackQueueTests.swift",
        "SessionTests.swift",
        "TestComponents/HTTPStub.swift",
        "TestComponents/TestRequest.swift",
        "TestComponents/TestSessionAdapter.swift",
        "TestComponents/TestSessionTask.swift"
      ],
      "target_dependencies" : [
        "APIKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "APIKit",
      "module_type" : "SwiftTarget",
      "name" : "APIKit",
      "path" : "Sources/APIKit",
      "product_memberships" : [
        "APIKit"
      ],
      "sources" : [
        "BodyParameters/BodyParameters.swift",
        "BodyParameters/Data+InputStream.swift",
        "BodyParameters/FormURLEncodedBodyParameters.swift",
        "BodyParameters/JSONBodyParameters.swift",
        "BodyParameters/MultipartFormDataBodyParameters.swift",
        "BodyParameters/ProtobufBodyParameters.swift",
        "CallbackQueue.swift",
        "Combine/Combine.swift",
        "Concurrency/Concurrency.swift",
        "DataParser/DataParser.swift",
        "DataParser/FormURLEncodedDataParser.swift",
        "DataParser/JSONDataParser.swift",
        "DataParser/ProtobufDataParser.swift",
        "DataParser/StringDataParser.swift",
        "Error/RequestError.swift",
        "Error/ResponseError.swift",
        "Error/SessionTaskError.swift",
        "HTTPMethod.swift",
        "Request.swift",
        "Serializations/URLEncodedSerialization.swift",
        "Session.swift",
        "SessionAdapter/SessionAdapter.swift",
        "SessionAdapter/URLSessionAdapter.swift",
        "Unavailable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.