The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of AnthropicSwiftSDK, reference main (d511e8), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 16:33:39 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/fumito-ito/AnthropicSwiftSDK.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fumito-ito/AnthropicSwiftSDK
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d511e8b Merge pull request #70 from fumito-ito/renovate/fumito-ito-swiftyjsonlines-0.x
Cloned https://github.com/fumito-ito/AnthropicSwiftSDK.git
Revision (git rev-parse @):
d511e8b0d0df7a8d1188febea1a4ada48a83a9b3
SUCCESS checkout https://github.com/fumito-ito/AnthropicSwiftSDK.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fumito-ito/AnthropicSwiftSDK.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-1EA4D86E10B52AF.txt
[5/6] Compiling SwiftyJSONLines SwiftyJSONLines.swift
[6/6] Emitting module SwiftyJSONLines
[7/95] Emitting module AnthropicSwiftSDK
[8/104] Compiling AnthropicSwiftSDK CreateOrganizationInviteRequest.swift
[9/104] Compiling AnthropicSwiftSDK DeleteOrganizationInviteRequest.swift
[10/104] Compiling AnthropicSwiftSDK GetOrganizationInviteRequest.swift
[11/104] Compiling AnthropicSwiftSDK GetOrganizationMemberRequest.swift
[12/104] Compiling AnthropicSwiftSDK RemoveOrganizationMemberRequest.swift
[13/104] Compiling AnthropicSwiftSDK UpdateOrganizationMemberRequest.swift
[14/104] Compiling AnthropicSwiftSDK Request.swift
[15/104] Compiling AnthropicSwiftSDK CreateWorkspaceMemberRequest.swift
[16/104] Compiling AnthropicSwiftSDK DeleteWorkspaceMemberRequest.swift
[17/104] Compiling AnthropicSwiftSDK GetWorkspaceMemberRequest.swift
[18/104] Compiling AnthropicSwiftSDK Model.swift
[19/104] Compiling AnthropicSwiftSDK Role.swift
[20/104] Compiling AnthropicSwiftSDK StopReason.swift
[21/104] Compiling AnthropicSwiftSDK ContentBlockDelta.swift
[22/104] Compiling AnthropicSwiftSDK ContentBlockDeltaType.swift
[23/104] Compiling AnthropicSwiftSDK MessageDelta.swift
[24/104] Compiling AnthropicSwiftSDK StreamingError.swift
[25/104] Compiling AnthropicSwiftSDK StreamingEvent.swift
[26/104] Compiling AnthropicSwiftSDK SystemPrompt.swift
[27/104] Compiling AnthropicSwiftSDK TokenUsage.swift
[28/104] Compiling AnthropicSwiftSDK BatchType.swift
[29/104] Compiling AnthropicSwiftSDK MessageBatch.swift
[30/104] Compiling AnthropicSwiftSDK ProcessingStatus.swift
[31/104] Compiling AnthropicSwiftSDK Content.swift
[32/104] Compiling AnthropicSwiftSDK DocumentContent.swift
[33/104] Compiling AnthropicSwiftSDK ImageContent.swift
[34/104] Compiling AnthropicSwiftSDK ToolResultContent.swift
[35/104] Compiling AnthropicSwiftSDK ToolUseContent.swift
[36/104] Compiling AnthropicSwiftSDK Message.swift
[37/104] Compiling AnthropicSwiftSDK MetaData.swift
[38/104] Compiling AnthropicSwiftSDK BashTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Extension/StreamingResponse+Extension.swift:49:10: warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |     ///
48 |     /// - Returns: An AsyncThrowingStream containing aggregated Tool_use related information.
49 |     func accumulated() throws -> AsyncThrowingStream<StreamingResponse, Error> {
   |          `- warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
50 |         let accumulator = InputJSONDeltaAccumulator()
51 |         let accumulativeStream = accumulator.createAccumulativeStream()
[39/104] Compiling AnthropicSwiftSDK ComputerTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Extension/StreamingResponse+Extension.swift:49:10: warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |     ///
48 |     /// - Returns: An AsyncThrowingStream containing aggregated Tool_use related information.
49 |     func accumulated() throws -> AsyncThrowingStream<StreamingResponse, Error> {
   |          `- warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
50 |         let accumulator = InputJSONDeltaAccumulator()
51 |         let accumulativeStream = accumulator.createAccumulativeStream()
[40/104] Compiling AnthropicSwiftSDK FunctionTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Extension/StreamingResponse+Extension.swift:49:10: warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |     ///
48 |     /// - Returns: An AsyncThrowingStream containing aggregated Tool_use related information.
49 |     func accumulated() throws -> AsyncThrowingStream<StreamingResponse, Error> {
   |          `- warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
50 |         let accumulator = InputJSONDeltaAccumulator()
51 |         let accumulativeStream = accumulator.createAccumulativeStream()
[41/104] Compiling AnthropicSwiftSDK TextEditorTool.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Extension/StreamingResponse+Extension.swift:49:10: warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |     ///
48 |     /// - Returns: An AsyncThrowingStream containing aggregated Tool_use related information.
49 |     func accumulated() throws -> AsyncThrowingStream<StreamingResponse, Error> {
   |          `- warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
50 |         let accumulator = InputJSONDeltaAccumulator()
51 |         let accumulativeStream = accumulator.createAccumulativeStream()
[42/104] Compiling AnthropicSwiftSDK Tool.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Extension/StreamingResponse+Extension.swift:49:10: warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |     ///
48 |     /// - Returns: An AsyncThrowingStream containing aggregated Tool_use related information.
49 |     func accumulated() throws -> AsyncThrowingStream<StreamingResponse, Error> {
   |          `- warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
50 |         let accumulator = InputJSONDeltaAccumulator()
51 |         let accumulativeStream = accumulator.createAccumulativeStream()
[43/104] Compiling AnthropicSwiftSDK ToolChoice.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Extension/StreamingResponse+Extension.swift:49:10: warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |     ///
48 |     /// - Returns: An AsyncThrowingStream containing aggregated Tool_use related information.
49 |     func accumulated() throws -> AsyncThrowingStream<StreamingResponse, Error> {
   |          `- warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
50 |         let accumulator = InputJSONDeltaAccumulator()
51 |         let accumulativeStream = accumulator.createAccumulativeStream()
[44/104] Compiling AnthropicSwiftSDK AnthropicAPIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Extension/StreamingResponse+Extension.swift:49:10: warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |     ///
48 |     /// - Returns: An AsyncThrowingStream containing aggregated Tool_use related information.
49 |     func accumulated() throws -> AsyncThrowingStream<StreamingResponse, Error> {
   |          `- warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
50 |         let accumulator = InputJSONDeltaAccumulator()
51 |         let accumulativeStream = accumulator.createAccumulativeStream()
[45/104] Compiling AnthropicSwiftSDK StreamingResponse+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Extension/StreamingResponse+Extension.swift:49:10: warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |     ///
48 |     /// - Returns: An AsyncThrowingStream containing aggregated Tool_use related information.
49 |     func accumulated() throws -> AsyncThrowingStream<StreamingResponse, Error> {
   |          `- warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
50 |         let accumulator = InputJSONDeltaAccumulator()
51 |         let accumulativeStream = accumulator.createAccumulativeStream()
[46/104] Compiling AnthropicSwiftSDK AnthropicHeaderProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Extension/StreamingResponse+Extension.swift:49:10: warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |     ///
48 |     /// - Returns: An AsyncThrowingStream containing aggregated Tool_use related information.
49 |     func accumulated() throws -> AsyncThrowingStream<StreamingResponse, Error> {
   |          `- warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
50 |         let accumulator = InputJSONDeltaAccumulator()
51 |         let accumulativeStream = accumulator.createAccumulativeStream()
[47/104] Compiling AnthropicSwiftSDK AuthenticationHeaderProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/Extension/StreamingResponse+Extension.swift:49:10: warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |     ///
48 |     /// - Returns: An AsyncThrowingStream containing aggregated Tool_use related information.
49 |     func accumulated() throws -> AsyncThrowingStream<StreamingResponse, Error> {
   |          `- warning: capture of non-sendable type '(any StreamingResponse).Type' in an isolated closure; this is an error in the Swift 6 language mode
50 |         let accumulator = InputJSONDeltaAccumulator()
51 |         let accumulativeStream = accumulator.createAccumulativeStream()
[48/104] Compiling AnthropicSwiftSDK UpdateWorkspaceMemberRequest.swift
[49/104] Compiling AnthropicSwiftSDK ArchiveWorkspaceRequest.swift
[50/104] Compiling AnthropicSwiftSDK CreateWorkspaceRequest.swift
[51/104] Compiling AnthropicSwiftSDK GetWorkspaceRequest.swift
[52/104] Compiling AnthropicSwiftSDK UpdateWorkspaceRequest.swift
[53/104] Compiling AnthropicSwiftSDK APIKeyResponse.swift
[54/104] Compiling AnthropicSwiftSDK BatchResponse.swift
[55/104] Compiling AnthropicSwiftSDK BatchResultResponse.swift
[56/104] Compiling AnthropicSwiftSDK CountTokenResponse.swift
[57/104] Compiling AnthropicSwiftSDK APIKeys.swift
[58/104] Compiling AnthropicSwiftSDK Admin.swift
[59/104] Compiling AnthropicSwiftSDK OrganizationInvites.swift
[60/104] Compiling AnthropicSwiftSDK OrganizationMembers.swift
[61/104] Compiling AnthropicSwiftSDK WorkspaceMembers.swift
[62/104] Compiling AnthropicSwiftSDK Workspaces.swift
[63/104] Compiling AnthropicSwiftSDK CountTokens.swift
[64/104] Compiling AnthropicSwiftSDK MessageBatches.swift
[65/104] Compiling AnthropicSwiftSDK Messages.swift
[66/104] Compiling AnthropicSwiftSDK Anthropic.swift
[67/104] Compiling AnthropicSwiftSDK WorkspaceResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:12:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 | public enum AnthropicStreamingParser {
11 |     // swiftlint:disable:next cyclomatic_complexity
12 |     public static func parse<T: AsyncSequence>(stream: T) async throws -> AsyncThrowingStream<StreamingResponse, Error> where T.Element == String {
   |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
13 |         return AsyncThrowingStream.init { continuation in
14 |             let task = Task {
[68/104] Compiling AnthropicSwiftSDK AnthropicStreamingParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:12:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 | public enum AnthropicStreamingParser {
11 |     // swiftlint:disable:next cyclomatic_complexity
12 |     public static func parse<T: AsyncSequence>(stream: T) async throws -> AsyncThrowingStream<StreamingResponse, Error> where T.Element == String {
   |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
13 |         return AsyncThrowingStream.init { continuation in
14 |             let task = Task {
[69/104] Compiling AnthropicSwiftSDK StreamingDataLineParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:12:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 | public enum AnthropicStreamingParser {
11 |     // swiftlint:disable:next cyclomatic_complexity
12 |     public static func parse<T: AsyncSequence>(stream: T) async throws -> AsyncThrowingStream<StreamingResponse, Error> where T.Element == String {
   |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
13 |         return AsyncThrowingStream.init { continuation in
14 |             let task = Task {
[70/104] Compiling AnthropicSwiftSDK StreamingEventLineParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:12:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 | public enum AnthropicStreamingParser {
11 |     // swiftlint:disable:next cyclomatic_complexity
12 |     public static func parse<T: AsyncSequence>(stream: T) async throws -> AsyncThrowingStream<StreamingResponse, Error> where T.Element == String {
   |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
13 |         return AsyncThrowingStream.init { continuation in
14 |             let task = Task {
[71/104] Compiling AnthropicSwiftSDK StreamingResponseParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:12:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 | public enum AnthropicStreamingParser {
11 |     // swiftlint:disable:next cyclomatic_complexity
12 |     public static func parse<T: AsyncSequence>(stream: T) async throws -> AsyncThrowingStream<StreamingResponse, Error> where T.Element == String {
   |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
13 |         return AsyncThrowingStream.init { continuation in
14 |             let task = Task {
[72/104] Compiling AnthropicSwiftSDK AnthropicJSONDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:12:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 | public enum AnthropicStreamingParser {
11 |     // swiftlint:disable:next cyclomatic_complexity
12 |     public static func parse<T: AsyncSequence>(stream: T) async throws -> AsyncThrowingStream<StreamingResponse, Error> where T.Element == String {
   |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
13 |         return AsyncThrowingStream.init { continuation in
14 |             let task = Task {
[73/104] Compiling AnthropicSwiftSDK AnthropicJSONEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:12:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 | public enum AnthropicStreamingParser {
11 |     // swiftlint:disable:next cyclomatic_complexity
12 |     public static func parse<T: AsyncSequence>(stream: T) async throws -> AsyncThrowingStream<StreamingResponse, Error> where T.Element == String {
   |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
13 |         return AsyncThrowingStream.init { continuation in
14 |             let task = Task {
[74/104] Compiling AnthropicSwiftSDK AnyDecodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:12:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 | public enum AnthropicStreamingParser {
11 |     // swiftlint:disable:next cyclomatic_complexity
12 |     public static func parse<T: AsyncSequence>(stream: T) async throws -> AsyncThrowingStream<StreamingResponse, Error> where T.Element == String {
   |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
13 |         return AsyncThrowingStream.init { continuation in
14 |             let task = Task {
[75/104] Compiling AnthropicSwiftSDK InputJSONDeltaAccumulator.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:16:39: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
14 |             let task = Task {
15 |                 var currentEvent: StreamingEvent?
16 |                 for try await line in stream {
   |                                       `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 |                     do {
18 |                         let lineType = try StreamingResponseParser.parse(line: line)
/Users/admin/builder/spi-builder-workspace/Sources/AnthropicSwiftSDK/Network/StreamingParser/AnthropicStreamingParser.swift:12:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
10 | public enum AnthropicStreamingParser {
11 |     // swiftlint:disable:next cyclomatic_complexity
12 |     public static func parse<T: AsyncSequence>(stream: T) async throws -> AsyncThrowingStream<StreamingResponse, Error> where T.Element == String {
   |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
13 |         return AsyncThrowingStream.init { continuation in
14 |             let task = Task {
[76/104] Compiling AnthropicSwiftSDK InvitationRemoveResponse.swift
[77/104] Compiling AnthropicSwiftSDK InvitationResponse.swift
[78/104] Compiling AnthropicSwiftSDK MessagesResponse.swift
[79/104] Compiling AnthropicSwiftSDK ObjectListResponse.swift
[80/104] Compiling AnthropicSwiftSDK OrganizationMemberRemoveResponse.swift
[81/104] Compiling AnthropicSwiftSDK OrganizationMemberResponse.swift
[82/104] Compiling AnthropicSwiftSDK StreamingResponse.swift
[83/104] Compiling AnthropicSwiftSDK WorkspaceMemberRemoveResponse.swift
[84/104] Compiling AnthropicSwiftSDK WorkspaceMemberResponse.swift
[85/104] Compiling AnthropicSwiftSDK AnthropicAPIError.swift
[86/104] Compiling AnthropicSwiftSDK AnthropicVersion.swift
[87/104] Compiling AnthropicSwiftSDK ClientError.swift
[88/104] Compiling AnthropicSwiftSDK Invitation.swift
[89/104] Compiling AnthropicSwiftSDK OrganizationRole.swift
[90/104] Compiling AnthropicSwiftSDK Registration.swift
[91/104] Compiling AnthropicSwiftSDK WorkspaceRole.swift
[92/104] Compiling AnthropicSwiftSDK BatchParameter.swift
[93/104] Compiling AnthropicSwiftSDK BatchRequestCounts.swift
[94/104] Compiling AnthropicSwiftSDK BatchResultType.swift
[95/104] Compiling AnthropicSwiftSDK ObjectListable.swift
[96/104] Compiling AnthropicSwiftSDK GetAPIKeyRequest.swift
[97/104] Compiling AnthropicSwiftSDK UpdateAPIKeyRequest.swift
[98/104] Compiling AnthropicSwiftSDK CountTokenRequest.swift
[99/104] Compiling AnthropicSwiftSDK ListObjectRequest.swift
[100/104] Compiling AnthropicSwiftSDK CancelMessageBatchRequest.swift
[101/104] Compiling AnthropicSwiftSDK MessageBatchesRequest.swift
[102/104] Compiling AnthropicSwiftSDK RetrieveMessageBatchResultsRequest.swift
[103/104] Compiling AnthropicSwiftSDK RetrieveMessageBatchesRequest.swift
[104/104] Compiling AnthropicSwiftSDK MessagesRequest.swift
[105/107] Compiling AnthropicSwiftSDK_TestUtils MessagesRequest+Extensions.swift
[106/107] Compiling AnthropicSwiftSDK_TestUtils HTTPMock.swift
[107/107] Emitting module AnthropicSwiftSDK_TestUtils
Build complete! (8.14s)
Fetching https://github.com/fumito-ito/SwiftyJSONLines.git
[1/64] Fetching swiftyjsonlines
Fetched https://github.com/fumito-ito/SwiftyJSONLines.git from cache (0.65s)
Computing version for https://github.com/fumito-ito/SwiftyJSONLines.git
Computed https://github.com/fumito-ito/SwiftyJSONLines.git at 0.0.4 (1.09s)
Creating working copy for https://github.com/fumito-ito/SwiftyJSONLines.git
Working copy of https://github.com/fumito-ito/SwiftyJSONLines.git resolved at 0.0.4
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftyjsonlines",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/fumito-ito/SwiftyJSONLines.git"
    }
  ],
  "manifest_display_name" : "AnthropicSwiftSDK",
  "name" : "AnthropicSwiftSDK",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "AnthropicSwiftSDK",
      "targets" : [
        "AnthropicSwiftSDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AnthropicSwiftSDKTests",
      "module_type" : "SwiftTarget",
      "name" : "AnthropicSwiftSDKTests",
      "path" : "Tests/AnthropicSwiftSDKTests",
      "sources" : [
        "API/APIKeysTests.swift",
        "API/MessageBatchesTests.swift",
        "API/MessagesTests.swift",
        "API/OrganizationInvitesTests.swift",
        "API/OrganizationMembersTests.swift",
        "API/WorkspaceMembersTests.swift",
        "API/WorkspacesTests.swift",
        "Entity/ContentTests.swift",
        "Entity/ModelTests.swift",
        "Entity/Streaming/StreamingMessageDeltaResponseTests.swift",
        "Entity/SystemPromptTests.swift",
        "Entity/Tool/ToolTests.swift",
        "Entity/ToolChoiceTests.swift",
        "Network/AnthropicAPIClientTests.swift",
        "Network/HeaderProvider/APIKeyAuthenticationHeaderProviderTests.swift",
        "Network/HeaderProvider/DefaultAnthropicHeaderProviderTests.swift",
        "Network/Request/Admin/ArchiveWorkspaceRequestTests.swift",
        "Network/Request/Admin/CreateOrganizationInviteRequestTests.swift",
        "Network/Request/Admin/CreateWorkspaceMemberRequestTests.swift",
        "Network/Request/Admin/CreateWorkspaceRequestTests.swift",
        "Network/Request/Admin/DeleteOrganizationInviteRequestTests.swift",
        "Network/Request/Admin/DeleteWorkspaceMemberRequestTests.swift",
        "Network/Request/Admin/GetAPIKeyRequestTests.swift",
        "Network/Request/Admin/GetOrganizationInviteRequestTests.swift",
        "Network/Request/Admin/GetOrganizationMemberRequestTests.swift",
        "Network/Request/Admin/GetWorkspaceMemberRequestTests.swift",
        "Network/Request/Admin/GetWorkspaceRequestTests.swift",
        "Network/Request/Admin/RemoveOrganizationMemberRequestTests.swift",
        "Network/Request/Admin/UpdateAPIKeyRequestTests.swift",
        "Network/Request/Admin/UpdateOrganizationMemberRequestTests.swift",
        "Network/Request/Admin/UpdateWorkspaceMemberRequestTests.swift",
        "Network/Request/Admin/UpdateWorkspaceRequestTests.swift",
        "Network/Request/CancelMessageBatchRequestTests.swift",
        "Network/Request/CountTokenRequestTests.swift",
        "Network/Request/ListMessageBatchesRequestTests.swift",
        "Network/Request/MessageBatchesRequestTests.swift",
        "Network/Request/MessagesRequestTests.swift",
        "Network/Request/RequestTests.swift",
        "Network/Request/RetrieveMessageBatchResultsRequestTests.swift",
        "Network/Request/RetrieveMessageBatchesRequestTests.swift",
        "Network/Response/APIKeyResponseTests.swift",
        "Network/Response/BatchResponseTests.swift",
        "Network/Response/BatchResultResponseTests.swift",
        "Network/Response/MessagesResponseTests.swift",
        "Network/Response/ObjectListResponseTests.swift",
        "Network/Response/OrganizationInviteResponseTests.swift",
        "Network/Response/OrganizationMemberResponseTests.swift",
        "Network/Response/WorkspaceMemberResponseTests.swift",
        "Network/Response/WorkspaceResponseTests.swift",
        "Network/StreamingParser/StreamingDataLineParserTests.swift",
        "Network/StreamingParser/StreamingEventLineParserTests.swift",
        "Network/StreamingParser/StreamingResponseParserTests.swift",
        "Util/InputJSONDeltaAccumulatorTests.swift"
      ],
      "target_dependencies" : [
        "AnthropicSwiftSDK",
        "AnthropicSwiftSDK-TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AnthropicSwiftSDK_TestUtils",
      "module_type" : "SwiftTarget",
      "name" : "AnthropicSwiftSDK-TestUtils",
      "path" : "Sources/AnthropicSwiftSDK-TestUtils",
      "sources" : [
        "HTTPMock.swift",
        "MessagesRequest+Extensions.swift"
      ],
      "target_dependencies" : [
        "AnthropicSwiftSDK"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AnthropicSwiftSDK",
      "module_type" : "SwiftTarget",
      "name" : "AnthropicSwiftSDK",
      "path" : "Sources/AnthropicSwiftSDK",
      "product_dependencies" : [
        "SwiftyJSONLines"
      ],
      "product_memberships" : [
        "AnthropicSwiftSDK"
      ],
      "sources" : [
        "API/Admin/APIKeys.swift",
        "API/Admin/Admin.swift",
        "API/Admin/OrganizationInvites.swift",
        "API/Admin/OrganizationMembers.swift",
        "API/Admin/WorkspaceMembers.swift",
        "API/Admin/Workspaces.swift",
        "API/CountTokens.swift",
        "API/MessageBatches.swift",
        "API/Messages.swift",
        "Anthropic.swift",
        "AnthropicAPIError.swift",
        "AnthropicVersion.swift",
        "ClientError.swift",
        "Entity/Admin/Invitation.swift",
        "Entity/Admin/OrganizationRole.swift",
        "Entity/Admin/Registration.swift",
        "Entity/Admin/WorkspaceRole.swift",
        "Entity/Batch/BatchParameter.swift",
        "Entity/Batch/BatchRequestCounts.swift",
        "Entity/Batch/BatchResultType.swift",
        "Entity/Batch/BatchType.swift",
        "Entity/Batch/MessageBatch.swift",
        "Entity/Batch/ProcessingStatus.swift",
        "Entity/Content/Content.swift",
        "Entity/Content/DocumentContent.swift",
        "Entity/Content/ImageContent.swift",
        "Entity/Content/ToolResultContent.swift",
        "Entity/Content/ToolUseContent.swift",
        "Entity/Message.swift",
        "Entity/MetaData.swift",
        "Entity/Model.swift",
        "Entity/Role.swift",
        "Entity/StopReason.swift",
        "Entity/Streaming/ContentBlockDelta.swift",
        "Entity/Streaming/ContentBlockDeltaType.swift",
        "Entity/Streaming/MessageDelta.swift",
        "Entity/Streaming/StreamingError.swift",
        "Entity/Streaming/StreamingEvent.swift",
        "Entity/SystemPrompt.swift",
        "Entity/TokenUsage.swift",
        "Entity/Tool/BashTool.swift",
        "Entity/Tool/ComputerTool.swift",
        "Entity/Tool/FunctionTool.swift",
        "Entity/Tool/TextEditorTool.swift",
        "Entity/Tool/Tool.swift",
        "Entity/ToolChoice.swift",
        "Network/AnthropicAPIClient.swift",
        "Network/Extension/StreamingResponse+Extension.swift",
        "Network/HeaderProvider/AnthropicHeaderProvider.swift",
        "Network/HeaderProvider/AuthenticationHeaderProvider.swift",
        "Network/ObjectListable.swift",
        "Network/Request/APIKeys/GetAPIKeyRequest.swift",
        "Network/Request/APIKeys/UpdateAPIKeyRequest.swift",
        "Network/Request/CountTokenRequest.swift",
        "Network/Request/ListObjectRequest.swift",
        "Network/Request/MessageBatches/CancelMessageBatchRequest.swift",
        "Network/Request/MessageBatches/MessageBatchesRequest.swift",
        "Network/Request/MessageBatches/RetrieveMessageBatchResultsRequest.swift",
        "Network/Request/MessageBatches/RetrieveMessageBatchesRequest.swift",
        "Network/Request/MessagesRequest.swift",
        "Network/Request/OrganizationInvites/CreateOrganizationInviteRequest.swift",
        "Network/Request/OrganizationInvites/DeleteOrganizationInviteRequest.swift",
        "Network/Request/OrganizationInvites/GetOrganizationInviteRequest.swift",
        "Network/Request/OrganizationMembers/GetOrganizationMemberRequest.swift",
        "Network/Request/OrganizationMembers/RemoveOrganizationMemberRequest.swift",
        "Network/Request/OrganizationMembers/UpdateOrganizationMemberRequest.swift",
        "Network/Request/Request.swift",
        "Network/Request/WorkspaceMembers/CreateWorkspaceMemberRequest.swift",
        "Network/Request/WorkspaceMembers/DeleteWorkspaceMemberRequest.swift",
        "Network/Request/WorkspaceMembers/GetWorkspaceMemberRequest.swift",
        "Network/Request/WorkspaceMembers/UpdateWorkspaceMemberRequest.swift",
        "Network/Request/Workspaces/ArchiveWorkspaceRequest.swift",
        "Network/Request/Workspaces/CreateWorkspaceRequest.swift",
        "Network/Request/Workspaces/GetWorkspaceRequest.swift",
        "Network/Request/Workspaces/UpdateWorkspaceRequest.swift",
        "Network/Response/APIKeyResponse.swift",
        "Network/Response/BatchResponse.swift",
        "Network/Response/BatchResultResponse.swift",
        "Network/Response/CountTokenResponse.swift",
        "Network/Response/InvitationRemoveResponse.swift",
        "Network/Response/InvitationResponse.swift",
        "Network/Response/MessagesResponse.swift",
        "Network/Response/ObjectListResponse.swift",
        "Network/Response/OrganizationMemberRemoveResponse.swift",
        "Network/Response/OrganizationMemberResponse.swift",
        "Network/Response/StreamingResponse.swift",
        "Network/Response/WorkspaceMemberRemoveResponse.swift",
        "Network/Response/WorkspaceMemberResponse.swift",
        "Network/Response/WorkspaceResponse.swift",
        "Network/StreamingParser/AnthropicStreamingParser.swift",
        "Network/StreamingParser/StreamingDataLineParser.swift",
        "Network/StreamingParser/StreamingEventLineParser.swift",
        "Network/StreamingParser/StreamingResponseParser.swift",
        "Util/AnthropicJSONDecoder.swift",
        "Util/AnthropicJSONEncoder.swift",
        "Util/AnyDecodable.swift",
        "Util/InputJSONDeltaAccumulator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.