The Swift Package Index logo.Swift Package Index

Build Information

Successful build of APIKit, reference master (1a5e7a), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 18:33:17 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ishkawa/APIKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ishkawa/APIKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1a5e7ae Merge pull request #310 from ishkawa/feature/remove-ns-keyed-archiver
Cloned https://github.com/ishkawa/APIKit.git
Revision (git rev-parse @):
1a5e7ae0aed3f19c1ed9903792ead248f97fa38a
SUCCESS checkout https://github.com/ishkawa/APIKit.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ishkawa/APIKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[31 / 40] APIKit_APIKitTests
[31 / 40]
[32 / 41] APIKit
[41 / 86]
[44 / 86]
[49 / 86]
[51 / 86]
[55 / 86]
[57 / 86]
[60 / 86]
[63 / 86]
[65 / 86]
[66 / 86]
[77 / 86] APIKit
[78 / 86] APIKit
Build complete! (8.72 sec)
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/Tests/APIKitTests/Info.plist
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
/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'
 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'
 6 | }
 7 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h:155:12: note: class 'InputStream' does not conform to the 'Sendable' protocol
153 | ///
154 | /// Return <doc://com.apple.documentation/documentation/swift/true> if there is more data to read in the stream, <doc://com.apple.documentation/documentation/swift/false> if there is not. If you want to be semantically compatible with `NSInputStream`, return <doc://com.apple.documentation/documentation/swift/true> if a read must be attempted to determine if bytes are available.
155 | @interface NSInputStream : NSStream
    |            `- note: class 'InputStream' does not conform to the 'Sendable' protocol
156 | /// Reads up to a given number of bytes into a given buffer.
157 | /// - Parameters:
/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/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/BodyParameters/Data+InputStream.swift:5:10: warning: associated value 'unreadableStream' of 'Sendable'-conforming enum 'InputStreamError' has non-Sendable type 'InputStream'
 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'
 6 | }
 7 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h:155:12: note: class 'InputStream' does not conform to the 'Sendable' protocol
153 | ///
154 | /// Return <doc://com.apple.documentation/documentation/swift/true> if there is more data to read in the stream, <doc://com.apple.documentation/documentation/swift/false> if there is not. If you want to be semantically compatible with `NSInputStream`, return <doc://com.apple.documentation/documentation/swift/true> if a read must be attempted to determine if bytes are available.
155 | @interface NSInputStream : NSStream
    |            `- note: class 'InputStream' does not conform to the 'Sendable' protocol
156 | /// Reads up to a given number of bytes into a given buffer.
157 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:36: warning: 'UTTypeCreatePreferredIdentifierForTag' was deprecated in macOS 12.0: Use the UTType class instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
112 |             }
113 |
114 |             let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
    |                                    `- warning: 'UTTypeCreatePreferredIdentifierForTag' was deprecated in macOS 12.0: Use the UTType class instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
115 |                 .map { $0.takeRetainedValue() }
116 |                 .flatMap { UTTypeCopyPreferredTagWithClass($0, kUTTagClassMIMEType)?.takeRetainedValue() }
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:74: warning: 'kUTTagClassFilenameExtension' was deprecated in macOS 12.0: Use UTTagClassFilenameExtension instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
112 |             }
113 |
114 |             let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
    |                                                                          `- warning: 'kUTTagClassFilenameExtension' was deprecated in macOS 12.0: Use UTTagClassFilenameExtension instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
115 |                 .map { $0.takeRetainedValue() }
116 |                 .flatMap { UTTypeCopyPreferredTagWithClass($0, kUTTagClassMIMEType)?.takeRetainedValue() }
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:116:28: warning: 'UTTypeCopyPreferredTagWithClass' was deprecated in macOS 12.0: Use the UTType class instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
114 |             let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
115 |                 .map { $0.takeRetainedValue() }
116 |                 .flatMap { UTTypeCopyPreferredTagWithClass($0, kUTTagClassMIMEType)?.takeRetainedValue() }
    |                            `- warning: 'UTTypeCopyPreferredTagWithClass' was deprecated in macOS 12.0: Use the UTType class instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
117 |                 .map { $0 as String }
118 |
/Users/admin/builder/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:116:64: warning: 'kUTTagClassMIMEType' was deprecated in macOS 12.0: Use UTTagClassMIMEType instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
114 |             let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
115 |                 .map { $0.takeRetainedValue() }
116 |                 .flatMap { UTTypeCopyPreferredTagWithClass($0, kUTTagClassMIMEType)?.takeRetainedValue() }
    |                                                                `- warning: 'kUTTagClassMIMEType' was deprecated in macOS 12.0: Use UTTagClassMIMEType instead. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
117 |                 .map { $0 as String }
118 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
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.