The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AnthropicKit, reference 1.0.1 (90d8e1), with Swift 6.2 for Android on 13 Jul 2025 11:18:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guitaripod/AnthropicKit.git
Reference: 1.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/guitaripod/AnthropicKit
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 90d8e17 Improve docs
Cloned https://github.com/guitaripod/AnthropicKit.git
Revision (git rev-parse @):
90d8e1779a003615a3729f6b5132b311c018c0a6
SUCCESS checkout https://github.com/guitaripod/AnthropicKit.git at 1.0.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/guitaripod/AnthropicKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser.git
[1/2094] Fetching swift-docc-plugin
[2095/17618] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin from cache (1.04s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.05s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.89s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3425] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.87s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.48s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/15] Write sources
[8/15] Write swift-version-8C5A4AE7A8CE2BA.txt
[10/32] Emitting module ArgumentParserToolInfo
[11/32] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/33] Wrapping AST for ArgumentParserToolInfo for debugging
[14/77] Emitting module ArgumentParser
[15/83] Compiling ArgumentParser Tree.swift
[16/83] Compiling ArgumentParser CodingKeyValidator.swift
[17/83] Compiling ArgumentParser NonsenseFlagsValidator.swift
[18/83] Compiling ArgumentParser ParsableArgumentsValidation.swift
[19/83] Compiling ArgumentParser PositionalArgumentsValidator.swift
[20/83] Compiling ArgumentParser UniqueNamesValidator.swift
[21/83] Compiling ArgumentParser CompletionKind.swift
[22/83] Compiling ArgumentParser Errors.swift
[23/83] Compiling ArgumentParser ArgumentHelp.swift
[24/83] Compiling ArgumentParser ArgumentVisibility.swift
[25/84] Compiling ArgumentParser Flag.swift
[26/84] Compiling ArgumentParser NameSpecification.swift
[27/84] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:13:29: error: cannot find type 'URLRequest' in scope
11 |     ///   - streaming: Whether this is a streaming request.
12 |     /// - Returns: The response data and HTTP response.
13 |     func perform(_ request: URLRequest, streaming: Bool) async throws -> (Data, HTTPURLResponse)
   |                             `- error: cannot find type 'URLRequest' in scope
14 |
15 |     /// Performs a streaming HTTP request.
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:13:81: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     ///   - streaming: Whether this is a streaming request.
12 |     /// - Returns: The response data and HTTP response.
13 |     func perform(_ request: URLRequest, streaming: Bool) async throws -> (Data, HTTPURLResponse)
   |                                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     /// Performs a streaming HTTP request.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:18:38: error: cannot find type 'URLRequest' in scope
16 |     /// - Parameter request: The URL request to perform.
17 |     /// - Returns: An async stream of data chunks.
18 |     func performStreaming(_ request: URLRequest) async throws -> AsyncThrowingStream<Data, Error>
   |                                      `- error: cannot find type 'URLRequest' in scope
19 |
20 |     /// Uploads a file.
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:27:32: error: cannot find type 'URLRequest' in scope
25 |     ///   - mimeType: The MIME type.
26 |     /// - Returns: The response data and HTTP response.
27 |     func uploadFile(_ request: URLRequest, fileData: Data, filename: String, mimeType: String) async throws -> (Data, HTTPURLResponse)
   |                                `- error: cannot find type 'URLRequest' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:27:119: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     ///   - mimeType: The MIME type.
26 |     /// - Returns: The response data and HTTP response.
27 |     func uploadFile(_ request: URLRequest, fileData: Data, filename: String, mimeType: String) async throws -> (Data, HTTPURLResponse)
   |                                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | }
29 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:49:11: error: cannot find type 'URLRequest' in scope
47 |
48 | /// Extension to create URL requests more easily.
49 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
50 |     /// Creates a new URL request with the given parameters.
51 |     /// - Parameters:
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:35:12: error: cannot find 'CURLHTTPClient' in scope
33 |     return URLSessionHTTPClient()
34 |     #else
35 |     return CURLHTTPClient()
   |            `- error: cannot find 'CURLHTTPClient' in scope
36 |     #endif
37 | }
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:64:10: error: cannot find type 'URLRequest' in scope
62 |         body: Data? = nil,
63 |         timeoutInterval: TimeInterval = 60
64 |     ) -> URLRequest {
   |          `- error: cannot find type 'URLRequest' in scope
65 |         var request = URLRequest(url: url, timeoutInterval: timeoutInterval)
66 |         request.httpMethod = method.rawValue
[28/84] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:13:29: error: cannot find type 'URLRequest' in scope
11 |     ///   - streaming: Whether this is a streaming request.
12 |     /// - Returns: The response data and HTTP response.
13 |     func perform(_ request: URLRequest, streaming: Bool) async throws -> (Data, HTTPURLResponse)
   |                             `- error: cannot find type 'URLRequest' in scope
14 |
15 |     /// Performs a streaming HTTP request.
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:13:81: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     ///   - streaming: Whether this is a streaming request.
12 |     /// - Returns: The response data and HTTP response.
13 |     func perform(_ request: URLRequest, streaming: Bool) async throws -> (Data, HTTPURLResponse)
   |                                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     /// Performs a streaming HTTP request.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:18:38: error: cannot find type 'URLRequest' in scope
16 |     /// - Parameter request: The URL request to perform.
17 |     /// - Returns: An async stream of data chunks.
18 |     func performStreaming(_ request: URLRequest) async throws -> AsyncThrowingStream<Data, Error>
   |                                      `- error: cannot find type 'URLRequest' in scope
19 |
20 |     /// Uploads a file.
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:27:32: error: cannot find type 'URLRequest' in scope
25 |     ///   - mimeType: The MIME type.
26 |     /// - Returns: The response data and HTTP response.
27 |     func uploadFile(_ request: URLRequest, fileData: Data, filename: String, mimeType: String) async throws -> (Data, HTTPURLResponse)
   |                                `- error: cannot find type 'URLRequest' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:27:119: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     ///   - mimeType: The MIME type.
26 |     /// - Returns: The response data and HTTP response.
27 |     func uploadFile(_ request: URLRequest, fileData: Data, filename: String, mimeType: String) async throws -> (Data, HTTPURLResponse)
   |                                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | }
29 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:49:11: error: cannot find type 'URLRequest' in scope
47 |
48 | /// Extension to create URL requests more easily.
49 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
50 |     /// Creates a new URL request with the given parameters.
51 |     /// - Parameters:
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:35:12: error: cannot find 'CURLHTTPClient' in scope
33 |     return URLSessionHTTPClient()
34 |     #else
35 |     return CURLHTTPClient()
   |            `- error: cannot find 'CURLHTTPClient' in scope
36 |     #endif
37 | }
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:64:10: error: cannot find type 'URLRequest' in scope
62 |         body: Data? = nil,
63 |         timeoutInterval: TimeInterval = 60
64 |     ) -> URLRequest {
   |          `- error: cannot find type 'URLRequest' in scope
65 |         var request = URLRequest(url: url, timeoutInterval: timeoutInterval)
66 |         request.httpMethod = method.rawValue
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/84] Compiling ArgumentParser FishCompletionsGenerator.swift
[30/84] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/84] Compiling ArgumentParser Argument.swift
[32/84] Compiling ArgumentParser ArgumentDiscussion.swift
[33/84] Emitting module AnthropicKit
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:13:29: error: cannot find type 'URLRequest' in scope
11 |     ///   - streaming: Whether this is a streaming request.
12 |     /// - Returns: The response data and HTTP response.
13 |     func perform(_ request: URLRequest, streaming: Bool) async throws -> (Data, HTTPURLResponse)
   |                             `- error: cannot find type 'URLRequest' in scope
14 |
15 |     /// Performs a streaming HTTP request.
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:18:38: error: cannot find type 'URLRequest' in scope
16 |     /// - Parameter request: The URL request to perform.
17 |     /// - Returns: An async stream of data chunks.
18 |     func performStreaming(_ request: URLRequest) async throws -> AsyncThrowingStream<Data, Error>
   |                                      `- error: cannot find type 'URLRequest' in scope
19 |
20 |     /// Uploads a file.
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:27:32: error: cannot find type 'URLRequest' in scope
25 |     ///   - mimeType: The MIME type.
26 |     /// - Returns: The response data and HTTP response.
27 |     func uploadFile(_ request: URLRequest, fileData: Data, filename: String, mimeType: String) async throws -> (Data, HTTPURLResponse)
   |                                `- error: cannot find type 'URLRequest' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:713:87: error: cannot find type 'URLRequest' in scope
711 |     // MARK: - Private Helpers
712 |
713 |     private func createURLRequest(url: URL, method: HTTPMethod, body: Data? = nil) -> URLRequest {
    |                                                                                       `- error: cannot find type 'URLRequest' in scope
714 |         var headers: [String: String] = [
715 |             "x-api-key": configuration.apiKey,
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:740:44: error: cannot find type 'URLRequest' in scope
738 |     }
739 |
740 |     private func performRequest(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
741 |         var lastError: Error?
742 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:740:79: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
738 |     }
739 |
740 |     private func performRequest(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
741 |         var lastError: Error?
742 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:13:81: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |     ///   - streaming: Whether this is a streaming request.
12 |     /// - Returns: The response data and HTTP response.
13 |     func perform(_ request: URLRequest, streaming: Bool) async throws -> (Data, HTTPURLResponse)
   |                                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     /// Performs a streaming HTTP request.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:27:119: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     ///   - mimeType: The MIME type.
26 |     /// - Returns: The response data and HTTP response.
27 |     func uploadFile(_ request: URLRequest, fileData: Data, filename: String, mimeType: String) async throws -> (Data, HTTPURLResponse)
   |                                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | }
29 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:49:11: error: cannot find type 'URLRequest' in scope
47 |
48 | /// Extension to create URL requests more easily.
49 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
50 |     /// Creates a new URL request with the given parameters.
51 |     /// - Parameters:
[34/84] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:13:29: error: cannot find type 'URLRequest' in scope
11 |     ///   - streaming: Whether this is a streaming request.
12 |     /// - Returns: The response data and HTTP response.
13 |     func perform(_ request: URLRequest, streaming: Bool) async throws -> (Data, HTTPURLResponse)
   |                             `- error: cannot find type 'URLRequest' in scope
14 |
15 |     /// Performs a streaming HTTP request.
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:18:38: error: cannot find type 'URLRequest' in scope
16 |     /// - Parameter request: The URL request to perform.
17 |     /// - Returns: An async stream of data chunks.
18 |     func performStreaming(_ request: URLRequest) async throws -> AsyncThrowingStream<Data, Error>
   |                                      `- error: cannot find type 'URLRequest' in scope
19 |
20 |     /// Uploads a file.
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:27:32: error: cannot find type 'URLRequest' in scope
25 |     ///   - mimeType: The MIME type.
26 |     /// - Returns: The response data and HTTP response.
27 |     func uploadFile(_ request: URLRequest, fileData: Data, filename: String, mimeType: String) async throws -> (Data, HTTPURLResponse)
   |                                `- error: cannot find type 'URLRequest' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:713:87: error: cannot find type 'URLRequest' in scope
711 |     // MARK: - Private Helpers
712 |
713 |     private func createURLRequest(url: URL, method: HTTPMethod, body: Data? = nil) -> URLRequest {
    |                                                                                       `- error: cannot find type 'URLRequest' in scope
714 |         var headers: [String: String] = [
715 |             "x-api-key": configuration.apiKey,
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:740:44: error: cannot find type 'URLRequest' in scope
738 |     }
739 |
740 |     private func performRequest(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
741 |         var lastError: Error?
742 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:740:79: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
738 |     }
739 |
740 |     private func performRequest(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
741 |         var lastError: Error?
742 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:277:62: error: cannot infer contextual base in reference to member 'post'
275 |
276 |         let requestData = try encoder.encode(modifiedRequest)
277 |         let urlRequest = createURLRequest(url: url, method: .post, body: requestData)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
278 |
279 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:360:62: error: cannot infer contextual base in reference to member 'post'
358 |
359 |         let requestData = try encoder.encode(modifiedRequest)
360 |         var urlRequest = createURLRequest(url: url, method: .post, body: requestData)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
361 |         urlRequest.setValue("text/event-stream", forHTTPHeaderField: "Accept")
362 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:413:62: error: cannot infer contextual base in reference to member 'post'
411 |         let url = configuration.baseURL.appendingPathComponent("/v1/messages/count_tokens")
412 |         let requestData = try encoder.encode(request)
413 |         let urlRequest = createURLRequest(url: url, method: .post, body: requestData)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
414 |
415 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:424:62: error: cannot infer contextual base in reference to member 'post'
422 |         let url = configuration.baseURL.appendingPathComponent("/v1/messages/batches")
423 |         let requestData = try encoder.encode(request)
424 |         let urlRequest = createURLRequest(url: url, method: .post, body: requestData)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
425 |
426 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:453:62: error: cannot infer contextual base in reference to member 'get'
451 |         }
452 |
453 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
454 |         let (data, _) = try await performRequest(urlRequest)
455 |         return try decoder.decode(ListBatchesResponse.self, from: data)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:460:62: error: cannot infer contextual base in reference to member 'get'
458 |     public func getBatch(id batchId: String) async throws -> Batch {
459 |         let url = configuration.baseURL.appendingPathComponent("/v1/messages/batches/\(batchId)")
460 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
461 |
462 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:468:62: error: cannot infer contextual base in reference to member 'get'
466 |     public func getBatchResults(id batchId: String) async throws -> AsyncThrowingStream<BatchResult, Error> {
467 |         let url = configuration.baseURL.appendingPathComponent("/v1/messages/batches/\(batchId)/results")
468 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
469 |
470 |         let stream = try await httpClient.performStreaming(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:495:62: error: cannot infer contextual base in reference to member 'post'
493 |     public func cancelBatch(id batchId: String) async throws -> Batch {
494 |         let url = configuration.baseURL.appendingPathComponent("/v1/messages/batches/\(batchId)/cancel")
495 |         let urlRequest = createURLRequest(url: url, method: .post)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
496 |
497 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:503:62: error: cannot infer contextual base in reference to member 'delete'
501 |     public func deleteBatch(id batchId: String) async throws {
502 |         let url = configuration.baseURL.appendingPathComponent("/v1/messages/batches/\(batchId)")
503 |         let urlRequest = createURLRequest(url: url, method: .delete)
    |                                                              `- error: cannot infer contextual base in reference to member 'delete'
504 |
505 |         _ = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:512:62: error: cannot infer contextual base in reference to member 'post'
510 |     public func uploadFile(data: Data, filename: String, mimeType: String) async throws -> File {
511 |         let url = configuration.baseURL.appendingPathComponent("/v1/files")
512 |         var urlRequest = createURLRequest(url: url, method: .post)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
513 |
514 |         // Add beta header for files API
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:552:62: error: cannot infer contextual base in reference to member 'get'
550 |         }
551 |
552 |         var urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
553 |         urlRequest.setValue("files-api-2025-04-14", forHTTPHeaderField: "anthropic-beta")
554 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:561:62: error: cannot infer contextual base in reference to member 'get'
559 |     public func getFile(id fileId: String) async throws -> File {
560 |         let url = configuration.baseURL.appendingPathComponent("/v1/files/\(fileId)")
561 |         var urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
562 |         urlRequest.setValue("files-api-2025-04-14", forHTTPHeaderField: "anthropic-beta")
563 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:570:62: error: cannot infer contextual base in reference to member 'get'
568 |     public func downloadFile(id fileId: String) async throws -> Data {
569 |         let url = configuration.baseURL.appendingPathComponent("/v1/files/\(fileId)/content")
570 |         var urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
571 |         urlRequest.setValue("files-api-2025-04-14", forHTTPHeaderField: "anthropic-beta")
572 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:579:62: error: cannot infer contextual base in reference to member 'delete'
577 |     public func deleteFile(id fileId: String) async throws {
578 |         let url = configuration.baseURL.appendingPathComponent("/v1/files/\(fileId)")
579 |         var urlRequest = createURLRequest(url: url, method: .delete)
    |                                                              `- error: cannot infer contextual base in reference to member 'delete'
580 |         urlRequest.setValue("files-api-2025-04-14", forHTTPHeaderField: "anthropic-beta")
581 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:589:62: error: cannot infer contextual base in reference to member 'get'
587 |     public func listModels() async throws -> ListModelsResponse {
588 |         let url = configuration.baseURL.appendingPathComponent("/v1/models")
589 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
590 |
591 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:597:62: error: cannot infer contextual base in reference to member 'get'
595 |     public func getModel(id modelId: String) async throws -> Model {
596 |         let url = configuration.baseURL.appendingPathComponent("/v1/models/\(modelId)")
597 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
598 |
599 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:628:62: error: cannot infer contextual base in reference to member 'get'
626 |         }
627 |
628 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
629 |         let (data, _) = try await performRequest(urlRequest)
630 |         return try decoder.decode(ListWorkspaceMembersResponse.self, from: data)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:635:62: error: cannot infer contextual base in reference to member 'get'
633 |     public func getWorkspaceMember(workspaceId: String, userId: String) async throws -> WorkspaceMember {
634 |         let url = configuration.baseURL.appendingPathComponent("/v1/organizations/workspaces/\(workspaceId)/members/\(userId)")
635 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
636 |
637 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:644:62: error: cannot infer contextual base in reference to member 'post'
642 |         let url = configuration.baseURL.appendingPathComponent("/v1/organizations/workspaces/\(workspaceId)/members")
643 |         let requestData = try encoder.encode(request)
644 |         let urlRequest = createURLRequest(url: url, method: .post, body: requestData)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
645 |
646 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:653:62: error: cannot infer contextual base in reference to member 'post'
651 |         let url = configuration.baseURL.appendingPathComponent("/v1/organizations/workspaces/\(workspaceId)/members/\(userId)")
652 |         let requestData = try encoder.encode(request)
653 |         let urlRequest = createURLRequest(url: url, method: .post, body: requestData)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
654 |
655 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:661:62: error: cannot infer contextual base in reference to member 'delete'
659 |     public func removeWorkspaceMember(workspaceId: String, userId: String) async throws {
660 |         let url = configuration.baseURL.appendingPathComponent("/v1/organizations/workspaces/\(workspaceId)/members/\(userId)")
661 |         let urlRequest = createURLRequest(url: url, method: .delete)
    |                                                              `- error: cannot infer contextual base in reference to member 'delete'
662 |
663 |         _ = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:689:62: error: cannot infer contextual base in reference to member 'get'
687 |         }
688 |
689 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
690 |         let (data, _) = try await performRequest(urlRequest)
691 |         return try decoder.decode(ListAPIKeysResponse.self, from: data)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:696:62: error: cannot infer contextual base in reference to member 'get'
694 |     public func getAPIKey(id keyId: String) async throws -> APIKey {
695 |         let url = configuration.baseURL.appendingPathComponent("/v1/organizations/api_keys/\(keyId)")
696 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
697 |
698 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:705:62: error: cannot infer contextual base in reference to member 'post'
703 |         let url = configuration.baseURL.appendingPathComponent("/v1/organizations/api_keys/\(keyId)")
704 |         let requestData = try encoder.encode(request)
705 |         let urlRequest = createURLRequest(url: url, method: .post, body: requestData)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
706 |
707 |         let (data, _) = try await performRequest(urlRequest)
[35/84] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:13:29: error: cannot find type 'URLRequest' in scope
11 |     ///   - streaming: Whether this is a streaming request.
12 |     /// - Returns: The response data and HTTP response.
13 |     func perform(_ request: URLRequest, streaming: Bool) async throws -> (Data, HTTPURLResponse)
   |                             `- error: cannot find type 'URLRequest' in scope
14 |
15 |     /// Performs a streaming HTTP request.
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:18:38: error: cannot find type 'URLRequest' in scope
16 |     /// - Parameter request: The URL request to perform.
17 |     /// - Returns: An async stream of data chunks.
18 |     func performStreaming(_ request: URLRequest) async throws -> AsyncThrowingStream<Data, Error>
   |                                      `- error: cannot find type 'URLRequest' in scope
19 |
20 |     /// Uploads a file.
/host/spi-builder-workspace/Sources/AnthropicKit/Networking/HTTPClient.swift:27:32: error: cannot find type 'URLRequest' in scope
25 |     ///   - mimeType: The MIME type.
26 |     /// - Returns: The response data and HTTP response.
27 |     func uploadFile(_ request: URLRequest, fileData: Data, filename: String, mimeType: String) async throws -> (Data, HTTPURLResponse)
   |                                `- error: cannot find type 'URLRequest' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:713:87: error: cannot find type 'URLRequest' in scope
711 |     // MARK: - Private Helpers
712 |
713 |     private func createURLRequest(url: URL, method: HTTPMethod, body: Data? = nil) -> URLRequest {
    |                                                                                       `- error: cannot find type 'URLRequest' in scope
714 |         var headers: [String: String] = [
715 |             "x-api-key": configuration.apiKey,
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:740:44: error: cannot find type 'URLRequest' in scope
738 |     }
739 |
740 |     private func performRequest(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                            `- error: cannot find type 'URLRequest' in scope
741 |         var lastError: Error?
742 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:740:79: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
738 |     }
739 |
740 |     private func performRequest(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
741 |         var lastError: Error?
742 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:277:62: error: cannot infer contextual base in reference to member 'post'
275 |
276 |         let requestData = try encoder.encode(modifiedRequest)
277 |         let urlRequest = createURLRequest(url: url, method: .post, body: requestData)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
278 |
279 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:360:62: error: cannot infer contextual base in reference to member 'post'
358 |
359 |         let requestData = try encoder.encode(modifiedRequest)
360 |         var urlRequest = createURLRequest(url: url, method: .post, body: requestData)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
361 |         urlRequest.setValue("text/event-stream", forHTTPHeaderField: "Accept")
362 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:413:62: error: cannot infer contextual base in reference to member 'post'
411 |         let url = configuration.baseURL.appendingPathComponent("/v1/messages/count_tokens")
412 |         let requestData = try encoder.encode(request)
413 |         let urlRequest = createURLRequest(url: url, method: .post, body: requestData)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
414 |
415 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:424:62: error: cannot infer contextual base in reference to member 'post'
422 |         let url = configuration.baseURL.appendingPathComponent("/v1/messages/batches")
423 |         let requestData = try encoder.encode(request)
424 |         let urlRequest = createURLRequest(url: url, method: .post, body: requestData)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
425 |
426 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:453:62: error: cannot infer contextual base in reference to member 'get'
451 |         }
452 |
453 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
454 |         let (data, _) = try await performRequest(urlRequest)
455 |         return try decoder.decode(ListBatchesResponse.self, from: data)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:460:62: error: cannot infer contextual base in reference to member 'get'
458 |     public func getBatch(id batchId: String) async throws -> Batch {
459 |         let url = configuration.baseURL.appendingPathComponent("/v1/messages/batches/\(batchId)")
460 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
461 |
462 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:468:62: error: cannot infer contextual base in reference to member 'get'
466 |     public func getBatchResults(id batchId: String) async throws -> AsyncThrowingStream<BatchResult, Error> {
467 |         let url = configuration.baseURL.appendingPathComponent("/v1/messages/batches/\(batchId)/results")
468 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
469 |
470 |         let stream = try await httpClient.performStreaming(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:495:62: error: cannot infer contextual base in reference to member 'post'
493 |     public func cancelBatch(id batchId: String) async throws -> Batch {
494 |         let url = configuration.baseURL.appendingPathComponent("/v1/messages/batches/\(batchId)/cancel")
495 |         let urlRequest = createURLRequest(url: url, method: .post)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
496 |
497 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:503:62: error: cannot infer contextual base in reference to member 'delete'
501 |     public func deleteBatch(id batchId: String) async throws {
502 |         let url = configuration.baseURL.appendingPathComponent("/v1/messages/batches/\(batchId)")
503 |         let urlRequest = createURLRequest(url: url, method: .delete)
    |                                                              `- error: cannot infer contextual base in reference to member 'delete'
504 |
505 |         _ = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:512:62: error: cannot infer contextual base in reference to member 'post'
510 |     public func uploadFile(data: Data, filename: String, mimeType: String) async throws -> File {
511 |         let url = configuration.baseURL.appendingPathComponent("/v1/files")
512 |         var urlRequest = createURLRequest(url: url, method: .post)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
513 |
514 |         // Add beta header for files API
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:552:62: error: cannot infer contextual base in reference to member 'get'
550 |         }
551 |
552 |         var urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
553 |         urlRequest.setValue("files-api-2025-04-14", forHTTPHeaderField: "anthropic-beta")
554 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:561:62: error: cannot infer contextual base in reference to member 'get'
559 |     public func getFile(id fileId: String) async throws -> File {
560 |         let url = configuration.baseURL.appendingPathComponent("/v1/files/\(fileId)")
561 |         var urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
562 |         urlRequest.setValue("files-api-2025-04-14", forHTTPHeaderField: "anthropic-beta")
563 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:570:62: error: cannot infer contextual base in reference to member 'get'
568 |     public func downloadFile(id fileId: String) async throws -> Data {
569 |         let url = configuration.baseURL.appendingPathComponent("/v1/files/\(fileId)/content")
570 |         var urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
571 |         urlRequest.setValue("files-api-2025-04-14", forHTTPHeaderField: "anthropic-beta")
572 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:579:62: error: cannot infer contextual base in reference to member 'delete'
577 |     public func deleteFile(id fileId: String) async throws {
578 |         let url = configuration.baseURL.appendingPathComponent("/v1/files/\(fileId)")
579 |         var urlRequest = createURLRequest(url: url, method: .delete)
    |                                                              `- error: cannot infer contextual base in reference to member 'delete'
580 |         urlRequest.setValue("files-api-2025-04-14", forHTTPHeaderField: "anthropic-beta")
581 |
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:589:62: error: cannot infer contextual base in reference to member 'get'
587 |     public func listModels() async throws -> ListModelsResponse {
588 |         let url = configuration.baseURL.appendingPathComponent("/v1/models")
589 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
590 |
591 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:597:62: error: cannot infer contextual base in reference to member 'get'
595 |     public func getModel(id modelId: String) async throws -> Model {
596 |         let url = configuration.baseURL.appendingPathComponent("/v1/models/\(modelId)")
597 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
598 |
599 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:628:62: error: cannot infer contextual base in reference to member 'get'
626 |         }
627 |
628 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
629 |         let (data, _) = try await performRequest(urlRequest)
630 |         return try decoder.decode(ListWorkspaceMembersResponse.self, from: data)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:635:62: error: cannot infer contextual base in reference to member 'get'
633 |     public func getWorkspaceMember(workspaceId: String, userId: String) async throws -> WorkspaceMember {
634 |         let url = configuration.baseURL.appendingPathComponent("/v1/organizations/workspaces/\(workspaceId)/members/\(userId)")
635 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
636 |
637 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:644:62: error: cannot infer contextual base in reference to member 'post'
642 |         let url = configuration.baseURL.appendingPathComponent("/v1/organizations/workspaces/\(workspaceId)/members")
643 |         let requestData = try encoder.encode(request)
644 |         let urlRequest = createURLRequest(url: url, method: .post, body: requestData)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
645 |
646 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:653:62: error: cannot infer contextual base in reference to member 'post'
651 |         let url = configuration.baseURL.appendingPathComponent("/v1/organizations/workspaces/\(workspaceId)/members/\(userId)")
652 |         let requestData = try encoder.encode(request)
653 |         let urlRequest = createURLRequest(url: url, method: .post, body: requestData)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
654 |
655 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:661:62: error: cannot infer contextual base in reference to member 'delete'
659 |     public func removeWorkspaceMember(workspaceId: String, userId: String) async throws {
660 |         let url = configuration.baseURL.appendingPathComponent("/v1/organizations/workspaces/\(workspaceId)/members/\(userId)")
661 |         let urlRequest = createURLRequest(url: url, method: .delete)
    |                                                              `- error: cannot infer contextual base in reference to member 'delete'
662 |
663 |         _ = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:689:62: error: cannot infer contextual base in reference to member 'get'
687 |         }
688 |
689 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
690 |         let (data, _) = try await performRequest(urlRequest)
691 |         return try decoder.decode(ListAPIKeysResponse.self, from: data)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:696:62: error: cannot infer contextual base in reference to member 'get'
694 |     public func getAPIKey(id keyId: String) async throws -> APIKey {
695 |         let url = configuration.baseURL.appendingPathComponent("/v1/organizations/api_keys/\(keyId)")
696 |         let urlRequest = createURLRequest(url: url, method: .get)
    |                                                              `- error: cannot infer contextual base in reference to member 'get'
697 |
698 |         let (data, _) = try await performRequest(urlRequest)
/host/spi-builder-workspace/Sources/AnthropicKit/API/AnthropicAPI.swift:705:62: error: cannot infer contextual base in reference to member 'post'
703 |         let url = configuration.baseURL.appendingPathComponent("/v1/organizations/api_keys/\(keyId)")
704 |         let requestData = try encoder.encode(request)
705 |         let urlRequest = createURLRequest(url: url, method: .post, body: requestData)
    |                                                              `- error: cannot infer contextual base in reference to member 'post'
706 |
707 |         let (data, _) = try await performRequest(urlRequest)
[36/84] Compiling AnthropicKit URLSessionHTTPClient.swift
[45/84] Compiling ArgumentParser AsyncParsableCommand.swift
[46/84] Compiling ArgumentParser CommandConfiguration.swift
[47/84] Compiling ArgumentParser CommandGroup.swift
[48/84] Compiling ArgumentParser EnumerableFlag.swift
[49/84] Compiling ArgumentParser ExpressibleByArgument.swift
[50/84] Compiling ArgumentParser CollectionExtensions.swift
[51/84] Compiling ArgumentParser Mutex.swift
[52/84] Compiling ArgumentParser Platform.swift
[53/84] Compiling ArgumentParser SequenceExtensions.swift
[54/84] Compiling ArgumentParser StringExtensions.swift
[55/84] Compiling ArgumentParser SwiftExtensions.swift
[56/84] Compiling ArgumentParser SplitArguments.swift
[57/84] Compiling ArgumentParser DumpHelpGenerator.swift
[58/84] Compiling ArgumentParser HelpCommand.swift
[59/84] Compiling ArgumentParser HelpGenerator.swift
[60/84] Compiling ArgumentParser MessageInfo.swift
[61/84] Compiling ArgumentParser UsageGenerator.swift
BUILD FAILURE 6.2 android