Build Information
Successful build of Hume, reference 0.0.1-beta9 (ff0303), with Swift 6.1 for macOS (SPM) on 24 Feb 2026 23:15:41 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
| | `- note: closure captures non-Sendable 'value'
| `- note: closure captures non-Sendable 'self'
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:107:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
105 | },
106 | receiveValue: { value in
107 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
108 | }
109 | )
[95/132] Compiling Hume TTSMillisecondInterval.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:53:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |
52 | private func waitForWithTimeout(_ value: Output, timeout: TimeInterval) async throws -> Output {
53 | try await withThrowingTaskGroup(of: Output.self) { group in
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | // Add the value waiting task
55 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:60:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 |
59 | // Add the timeout task
60 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
61 | try await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000_000))
62 | throw WaitError.timeout
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:67:38: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | // Wait for first completion
66 | do {
67 | let result = try await group.next()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:70:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
70 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | guard let result else { throw WaitError.valueNotFound }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:75:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | return result
74 | } catch {
75 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | throw error
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:112:9: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |
111 | continuation.onTermination = { _ in
112 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | }
114 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:46:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
44 | receiveValue: { value in
45 | foundValue = true
46 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
47 | }
48 | )
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
| | `- note: closure captures non-Sendable 'value'
| `- note: closure captures non-Sendable 'self'
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:107:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
105 | },
106 | receiveValue: { value in
107 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
108 | }
109 | )
[96/132] Compiling Hume TTSVoiceProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:53:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |
52 | private func waitForWithTimeout(_ value: Output, timeout: TimeInterval) async throws -> Output {
53 | try await withThrowingTaskGroup(of: Output.self) { group in
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | // Add the value waiting task
55 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:60:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 |
59 | // Add the timeout task
60 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
61 | try await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000_000))
62 | throw WaitError.timeout
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:67:38: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | // Wait for first completion
66 | do {
67 | let result = try await group.next()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:70:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
70 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | guard let result else { throw WaitError.valueNotFound }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:75:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | return result
74 | } catch {
75 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | throw error
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:112:9: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |
111 | continuation.onTermination = { _ in
112 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | }
114 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:46:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
44 | receiveValue: { value in
45 | foundValue = true
46 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
47 | }
48 | )
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
| | `- note: closure captures non-Sendable 'value'
| `- note: closure captures non-Sendable 'self'
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:107:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
105 | },
106 | receiveValue: { value in
107 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
108 | }
109 | )
[97/132] Compiling Hume Timestamp.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:53:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |
52 | private func waitForWithTimeout(_ value: Output, timeout: TimeInterval) async throws -> Output {
53 | try await withThrowingTaskGroup(of: Output.self) { group in
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | // Add the value waiting task
55 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:60:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 |
59 | // Add the timeout task
60 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
61 | try await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000_000))
62 | throw WaitError.timeout
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:67:38: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | // Wait for first completion
66 | do {
67 | let result = try await group.next()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:70:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
70 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | guard let result else { throw WaitError.valueNotFound }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:75:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | return result
74 | } catch {
75 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | throw error
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:112:9: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |
111 | continuation.onTermination = { _ in
112 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | }
114 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:46:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
44 | receiveValue: { value in
45 | foundValue = true
46 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
47 | }
48 | )
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
| | `- note: closure captures non-Sendable 'value'
| `- note: closure captures non-Sendable 'self'
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:107:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
105 | },
106 | receiveValue: { value in
107 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
108 | }
109 | )
[98/132] Compiling Hume TimestampMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:53:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |
52 | private func waitForWithTimeout(_ value: Output, timeout: TimeInterval) async throws -> Output {
53 | try await withThrowingTaskGroup(of: Output.self) { group in
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | // Add the value waiting task
55 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:60:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 |
59 | // Add the timeout task
60 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
61 | try await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000_000))
62 | throw WaitError.timeout
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:67:38: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | // Wait for first completion
66 | do {
67 | let result = try await group.next()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:70:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
70 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | guard let result else { throw WaitError.valueNotFound }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:75:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | return result
74 | } catch {
75 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | throw error
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:112:9: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |
111 | continuation.onTermination = { _ in
112 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | }
114 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:46:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
44 | receiveValue: { value in
45 | foundValue = true
46 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
47 | }
48 | )
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
| | `- note: closure captures non-Sendable 'value'
| `- note: closure captures non-Sendable 'self'
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:107:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
105 | },
106 | receiveValue: { value in
107 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
108 | }
109 | )
[99/132] Compiling Hume TimestampType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:53:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |
52 | private func waitForWithTimeout(_ value: Output, timeout: TimeInterval) async throws -> Output {
53 | try await withThrowingTaskGroup(of: Output.self) { group in
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | // Add the value waiting task
55 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:60:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 |
59 | // Add the timeout task
60 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
61 | try await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000_000))
62 | throw WaitError.timeout
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:67:38: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | // Wait for first completion
66 | do {
67 | let result = try await group.next()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:70:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
70 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | guard let result else { throw WaitError.valueNotFound }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:75:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | return result
74 | } catch {
75 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | throw error
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:112:9: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |
111 | continuation.onTermination = { _ in
112 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | }
114 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:46:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
44 | receiveValue: { value in
45 | foundValue = true
46 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
47 | }
48 | )
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
| | `- note: closure captures non-Sendable 'value'
| `- note: closure captures non-Sendable 'self'
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:107:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
105 | },
106 | receiveValue: { value in
107 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
108 | }
109 | )
[100/132] Compiling Hume TtsVoiceRef.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:53:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |
52 | private func waitForWithTimeout(_ value: Output, timeout: TimeInterval) async throws -> Output {
53 | try await withThrowingTaskGroup(of: Output.self) { group in
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | // Add the value waiting task
55 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:60:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 |
59 | // Add the timeout task
60 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
61 | try await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000_000))
62 | throw WaitError.timeout
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:67:38: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | // Wait for first completion
66 | do {
67 | let result = try await group.next()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:70:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
70 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | guard let result else { throw WaitError.valueNotFound }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:75:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | return result
74 | } catch {
75 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | throw error
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:112:9: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |
111 | continuation.onTermination = { _ in
112 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | }
114 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:46:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
44 | receiveValue: { value in
45 | foundValue = true
46 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
47 | }
48 | )
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
| | `- note: closure captures non-Sendable 'value'
| `- note: closure captures non-Sendable 'self'
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:107:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
105 | },
106 | receiveValue: { value in
107 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
108 | }
109 | )
[101/132] Compiling Hume ValidationError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:53:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |
52 | private func waitForWithTimeout(_ value: Output, timeout: TimeInterval) async throws -> Output {
53 | try await withThrowingTaskGroup(of: Output.self) { group in
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | // Add the value waiting task
55 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:60:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 |
59 | // Add the timeout task
60 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
61 | try await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000_000))
62 | throw WaitError.timeout
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:67:38: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | // Wait for first completion
66 | do {
67 | let result = try await group.next()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:70:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
70 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | guard let result else { throw WaitError.valueNotFound }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:75:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | return result
74 | } catch {
75 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | throw error
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:112:9: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |
111 | continuation.onTermination = { _ in
112 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | }
114 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:46:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
44 | receiveValue: { value in
45 | foundValue = true
46 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
47 | }
48 | )
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
| | `- note: closure captures non-Sendable 'value'
| `- note: closure captures non-Sendable 'self'
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:107:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
105 | },
106 | receiveValue: { value in
107 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
108 | }
109 | )
[102/132] Compiling Hume TTS.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:53:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |
52 | private func waitForWithTimeout(_ value: Output, timeout: TimeInterval) async throws -> Output {
53 | try await withThrowingTaskGroup(of: Output.self) { group in
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | // Add the value waiting task
55 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:60:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 |
59 | // Add the timeout task
60 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
61 | try await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000_000))
62 | throw WaitError.timeout
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:67:38: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | // Wait for first completion
66 | do {
67 | let result = try await group.next()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:70:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
70 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | guard let result else { throw WaitError.valueNotFound }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:75:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | return result
74 | } catch {
75 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | throw error
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:112:9: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |
111 | continuation.onTermination = { _ in
112 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | }
114 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:46:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
44 | receiveValue: { value in
45 | foundValue = true
46 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
47 | }
48 | )
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
| | `- note: closure captures non-Sendable 'value'
| `- note: closure captures non-Sendable 'self'
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:107:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
105 | },
106 | receiveValue: { value in
107 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
108 | }
109 | )
[103/132] Compiling Hume AVAdditions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:53:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |
52 | private func waitForWithTimeout(_ value: Output, timeout: TimeInterval) async throws -> Output {
53 | try await withThrowingTaskGroup(of: Output.self) { group in
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | // Add the value waiting task
55 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:60:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 |
59 | // Add the timeout task
60 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
61 | try await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000_000))
62 | throw WaitError.timeout
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:67:38: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | // Wait for first completion
66 | do {
67 | let result = try await group.next()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:70:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
70 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | guard let result else { throw WaitError.valueNotFound }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:75:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | return result
74 | } catch {
75 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | throw error
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:112:9: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |
111 | continuation.onTermination = { _ in
112 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | }
114 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:46:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
44 | receiveValue: { value in
45 | foundValue = true
46 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
47 | }
48 | )
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
| | `- note: closure captures non-Sendable 'value'
| `- note: closure captures non-Sendable 'self'
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:107:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
105 | },
106 | receiveValue: { value in
107 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
108 | }
109 | )
[104/132] Compiling Hume AnyPublisher+Additions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:53:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |
52 | private func waitForWithTimeout(_ value: Output, timeout: TimeInterval) async throws -> Output {
53 | try await withThrowingTaskGroup(of: Output.self) { group in
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | // Add the value waiting task
55 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:60:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 |
59 | // Add the timeout task
60 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
61 | try await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000_000))
62 | throw WaitError.timeout
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:67:38: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | // Wait for first completion
66 | do {
67 | let result = try await group.next()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:70:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
70 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | guard let result else { throw WaitError.valueNotFound }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:75:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | return result
74 | } catch {
75 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | throw error
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:112:9: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |
111 | continuation.onTermination = { _ in
112 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | }
114 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:46:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
44 | receiveValue: { value in
45 | foundValue = true
46 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
47 | }
48 | )
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
| | `- note: closure captures non-Sendable 'value'
| `- note: closure captures non-Sendable 'self'
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:107:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
105 | },
106 | receiveValue: { value in
107 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
108 | }
109 | )
[105/132] Compiling Hume AssistantInput+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:53:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |
52 | private func waitForWithTimeout(_ value: Output, timeout: TimeInterval) async throws -> Output {
53 | try await withThrowingTaskGroup(of: Output.self) { group in
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | // Add the value waiting task
55 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:60:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 |
59 | // Add the timeout task
60 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
61 | try await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000_000))
62 | throw WaitError.timeout
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:67:38: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | // Wait for first completion
66 | do {
67 | let result = try await group.next()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:70:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
70 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | guard let result else { throw WaitError.valueNotFound }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:75:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | return result
74 | } catch {
75 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | throw error
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:112:9: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |
111 | continuation.onTermination = { _ in
112 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | }
114 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:46:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
44 | receiveValue: { value in
45 | foundValue = true
46 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
47 | }
48 | )
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
| | `- note: closure captures non-Sendable 'value'
| `- note: closure captures non-Sendable 'self'
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:107:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
105 | },
106 | receiveValue: { value in
107 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
108 | }
109 | )
[106/132] Compiling Hume AudioOutput+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:53:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
51 |
52 | private func waitForWithTimeout(_ value: Output, timeout: TimeInterval) async throws -> Output {
53 | try await withThrowingTaskGroup(of: Output.self) { group in
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
54 | // Add the value waiting task
55 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:60:13: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 |
59 | // Add the timeout task
60 | group.addTask {
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
61 | try await Task.sleep(nanoseconds: UInt64(timeout * 1_000_000_000))
62 | throw WaitError.timeout
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:67:38: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
65 | // Wait for first completion
66 | do {
67 | let result = try await group.next()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:70:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 |
69 | // Cancel other tasks
70 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 |
72 | guard let result else { throw WaitError.valueNotFound }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:75:15: warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
73 | return result
74 | } catch {
75 | group.cancelAll()
| `- warning: type 'Self.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | throw error
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:112:9: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 |
111 | continuation.onTermination = { _ in
112 | cancellable.cancel()
| `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 | }
114 | }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | final public class AnyCancellable : Cancellable, Hashable {
| `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
3 | public init(_ cancel: @escaping () -> Void)
4 | public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
1 | import Combine
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
2 | import Foundation
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:46:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
44 | receiveValue: { value in
45 | foundValue = true
46 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
47 | }
48 | )
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:55:21: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
53 | try await withThrowingTaskGroup(of: Output.self) { group in
54 | // Add the value waiting task
55 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
56 | try await self.waitForWithoutTimeout(value)
| | `- note: closure captures non-Sendable 'value'
| `- note: closure captures non-Sendable 'self'
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Extensions/AnyPublisher+Additions.swift:107:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
105 | },
106 | receiveValue: { value in
107 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
108 | }
109 | )
[107/132] Compiling Hume PauseAssistantMessage.swift
[108/132] Compiling Hume ProsodyInference.swift
[109/132] Compiling Hume ResumeAssistantMessage.swift
[110/132] Compiling Hume Role.swift
[111/132] Compiling Hume SessionSettings.swift
[112/132] Compiling Hume Tool.swift
[113/132] Compiling Hume ToolCallMessage.swift
[114/132] Compiling Hume ToolErrorMessage.swift
[115/132] Compiling Hume ToolResponseMessage.swift
[116/132] Compiling Hume ToolType.swift
[117/132] Compiling Hume UserInput.swift
[118/132] Compiling Hume UserInterruption.swift
[119/132] Compiling Hume UserMessage.swift
[120/132] Compiling Hume NetworkService.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:11: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:45: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:50: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:96:46: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
94 | return decodedResponse
95 | }
96 | let responseValue = try await response.value
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | Logger.debug("Received response for (\(request.url?.absoluteString ?? ""))")
98 | if let jsonString = String(data: data, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:10:7: warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class NetworkStreamingClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | // MARK: - Typealiases
12 | typealias DataHandler = (_ data: Data?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:17:15: warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
15 |
16 | // MARK: - Properties
17 | private var urlSession: URLSession!
| `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
18 | private var dataHandler: DataHandler?
19 | private var responseHandler: ResponseHandler?
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Constants.swift:13:14: warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static let SampleRate: Double = 48000
12 | static let InputChannels = 1
13 | static var SampleSize: Int = { Int(Self.SampleRate * Self.InputBufferDuration) }()
| |- warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SampleSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SampleSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let InputBufferDuration = 0.02
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Logger.swift:12:21: warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Configures the Logger to call this closure instead of printing to the console
12 | public static var logCallback: ((String, LogLevel) -> Void)? = nil
| |- warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logCallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:85: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
:
91 | return data as! Response
92 | }
93 | let decodedResponse = try self.decoder.decode(Response.self, from: data)
| `- note: closure captures 'self' which is accessible to code in the current task
94 | return decodedResponse
95 | }
[121/132] Compiling Hume NetworkStreamingClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:11: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:45: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:50: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:96:46: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
94 | return decodedResponse
95 | }
96 | let responseValue = try await response.value
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | Logger.debug("Received response for (\(request.url?.absoluteString ?? ""))")
98 | if let jsonString = String(data: data, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:10:7: warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class NetworkStreamingClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | // MARK: - Typealiases
12 | typealias DataHandler = (_ data: Data?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:17:15: warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
15 |
16 | // MARK: - Properties
17 | private var urlSession: URLSession!
| `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
18 | private var dataHandler: DataHandler?
19 | private var responseHandler: ResponseHandler?
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Constants.swift:13:14: warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static let SampleRate: Double = 48000
12 | static let InputChannels = 1
13 | static var SampleSize: Int = { Int(Self.SampleRate * Self.InputBufferDuration) }()
| |- warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SampleSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SampleSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let InputBufferDuration = 0.02
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Logger.swift:12:21: warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Configures the Logger to call this closure instead of printing to the console
12 | public static var logCallback: ((String, LogLevel) -> Void)? = nil
| |- warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logCallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:85: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
:
91 | return data as! Response
92 | }
93 | let decodedResponse = try self.decoder.decode(Response.self, from: data)
| `- note: closure captures 'self' which is accessible to code in the current task
94 | return decodedResponse
95 | }
[122/132] Compiling Hume NetworkingServiceSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:11: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:45: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:50: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:96:46: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
94 | return decodedResponse
95 | }
96 | let responseValue = try await response.value
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | Logger.debug("Received response for (\(request.url?.absoluteString ?? ""))")
98 | if let jsonString = String(data: data, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:10:7: warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class NetworkStreamingClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | // MARK: - Typealiases
12 | typealias DataHandler = (_ data: Data?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:17:15: warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
15 |
16 | // MARK: - Properties
17 | private var urlSession: URLSession!
| `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
18 | private var dataHandler: DataHandler?
19 | private var responseHandler: ResponseHandler?
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Constants.swift:13:14: warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static let SampleRate: Double = 48000
12 | static let InputChannels = 1
13 | static var SampleSize: Int = { Int(Self.SampleRate * Self.InputBufferDuration) }()
| |- warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SampleSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SampleSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let InputBufferDuration = 0.02
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Logger.swift:12:21: warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Configures the Logger to call this closure instead of printing to the console
12 | public static var logCallback: ((String, LogLevel) -> Void)? = nil
| |- warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logCallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:85: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
:
91 | return data as! Response
92 | }
93 | let decodedResponse = try self.decoder.decode(Response.self, from: data)
| `- note: closure captures 'self' which is accessible to code in the current task
94 | return decodedResponse
95 | }
[123/132] Compiling Hume RequestBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:11: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:45: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:50: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:96:46: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
94 | return decodedResponse
95 | }
96 | let responseValue = try await response.value
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | Logger.debug("Received response for (\(request.url?.absoluteString ?? ""))")
98 | if let jsonString = String(data: data, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:10:7: warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class NetworkStreamingClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | // MARK: - Typealiases
12 | typealias DataHandler = (_ data: Data?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:17:15: warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
15 |
16 | // MARK: - Properties
17 | private var urlSession: URLSession!
| `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
18 | private var dataHandler: DataHandler?
19 | private var responseHandler: ResponseHandler?
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Constants.swift:13:14: warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static let SampleRate: Double = 48000
12 | static let InputChannels = 1
13 | static var SampleSize: Int = { Int(Self.SampleRate * Self.InputBufferDuration) }()
| |- warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SampleSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SampleSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let InputBufferDuration = 0.02
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Logger.swift:12:21: warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Configures the Logger to call this closure instead of printing to the console
12 | public static var logCallback: ((String, LogLevel) -> Void)? = nil
| |- warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logCallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:85: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
:
91 | return data as! Response
92 | }
93 | let decodedResponse = try self.decoder.decode(Response.self, from: data)
| `- note: closure captures 'self' which is accessible to code in the current task
94 | return decodedResponse
95 | }
[124/132] Compiling Hume TokenProvidable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:11: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:45: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:50: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:96:46: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
94 | return decodedResponse
95 | }
96 | let responseValue = try await response.value
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | Logger.debug("Received response for (\(request.url?.absoluteString ?? ""))")
98 | if let jsonString = String(data: data, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:10:7: warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class NetworkStreamingClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | // MARK: - Typealiases
12 | typealias DataHandler = (_ data: Data?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:17:15: warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
15 |
16 | // MARK: - Properties
17 | private var urlSession: URLSession!
| `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
18 | private var dataHandler: DataHandler?
19 | private var responseHandler: ResponseHandler?
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Constants.swift:13:14: warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static let SampleRate: Double = 48000
12 | static let InputChannels = 1
13 | static var SampleSize: Int = { Int(Self.SampleRate * Self.InputBufferDuration) }()
| |- warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SampleSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SampleSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let InputBufferDuration = 0.02
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Logger.swift:12:21: warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Configures the Logger to call this closure instead of printing to the console
12 | public static var logCallback: ((String, LogLevel) -> Void)? = nil
| |- warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logCallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:85: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
:
91 | return data as! Response
92 | }
93 | let decodedResponse = try self.decoder.decode(Response.self, from: data)
| `- note: closure captures 'self' which is accessible to code in the current task
94 | return decodedResponse
95 | }
[125/132] Compiling Hume AsyncLock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:11: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:45: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:50: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:96:46: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
94 | return decodedResponse
95 | }
96 | let responseValue = try await response.value
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | Logger.debug("Received response for (\(request.url?.absoluteString ?? ""))")
98 | if let jsonString = String(data: data, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:10:7: warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class NetworkStreamingClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | // MARK: - Typealiases
12 | typealias DataHandler = (_ data: Data?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:17:15: warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
15 |
16 | // MARK: - Properties
17 | private var urlSession: URLSession!
| `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
18 | private var dataHandler: DataHandler?
19 | private var responseHandler: ResponseHandler?
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Constants.swift:13:14: warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static let SampleRate: Double = 48000
12 | static let InputChannels = 1
13 | static var SampleSize: Int = { Int(Self.SampleRate * Self.InputBufferDuration) }()
| |- warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SampleSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SampleSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let InputBufferDuration = 0.02
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Logger.swift:12:21: warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Configures the Logger to call this closure instead of printing to the console
12 | public static var logCallback: ((String, LogLevel) -> Void)? = nil
| |- warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logCallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:85: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
:
91 | return data as! Response
92 | }
93 | let decodedResponse = try self.decoder.decode(Response.self, from: data)
| `- note: closure captures 'self' which is accessible to code in the current task
94 | return decodedResponse
95 | }
[126/132] Compiling Hume Constants.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:11: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:45: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:50: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:96:46: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
94 | return decodedResponse
95 | }
96 | let responseValue = try await response.value
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | Logger.debug("Received response for (\(request.url?.absoluteString ?? ""))")
98 | if let jsonString = String(data: data, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:10:7: warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class NetworkStreamingClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | // MARK: - Typealiases
12 | typealias DataHandler = (_ data: Data?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:17:15: warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
15 |
16 | // MARK: - Properties
17 | private var urlSession: URLSession!
| `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
18 | private var dataHandler: DataHandler?
19 | private var responseHandler: ResponseHandler?
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Constants.swift:13:14: warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static let SampleRate: Double = 48000
12 | static let InputChannels = 1
13 | static var SampleSize: Int = { Int(Self.SampleRate * Self.InputBufferDuration) }()
| |- warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SampleSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SampleSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let InputBufferDuration = 0.02
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Logger.swift:12:21: warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Configures the Logger to call this closure instead of printing to the console
12 | public static var logCallback: ((String, LogLevel) -> Void)? = nil
| |- warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logCallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:85: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
:
91 | return data as! Response
92 | }
93 | let decodedResponse = try self.decoder.decode(Response.self, from: data)
| `- note: closure captures 'self' which is accessible to code in the current task
94 | return decodedResponse
95 | }
[127/132] Compiling Hume Defaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:11: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:45: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:50: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:96:46: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
94 | return decodedResponse
95 | }
96 | let responseValue = try await response.value
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | Logger.debug("Received response for (\(request.url?.absoluteString ?? ""))")
98 | if let jsonString = String(data: data, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:10:7: warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class NetworkStreamingClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | // MARK: - Typealiases
12 | typealias DataHandler = (_ data: Data?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:17:15: warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
15 |
16 | // MARK: - Properties
17 | private var urlSession: URLSession!
| `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
18 | private var dataHandler: DataHandler?
19 | private var responseHandler: ResponseHandler?
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Constants.swift:13:14: warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static let SampleRate: Double = 48000
12 | static let InputChannels = 1
13 | static var SampleSize: Int = { Int(Self.SampleRate * Self.InputBufferDuration) }()
| |- warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SampleSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SampleSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let InputBufferDuration = 0.02
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Logger.swift:12:21: warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Configures the Logger to call this closure instead of printing to the console
12 | public static var logCallback: ((String, LogLevel) -> Void)? = nil
| |- warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logCallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:85: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
:
91 | return data as! Response
92 | }
93 | let decodedResponse = try self.decoder.decode(Response.self, from: data)
| `- note: closure captures 'self' which is accessible to code in the current task
94 | return decodedResponse
95 | }
[128/132] Compiling Hume HumeError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:11: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:45: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:50: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:96:46: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
94 | return decodedResponse
95 | }
96 | let responseValue = try await response.value
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | Logger.debug("Received response for (\(request.url?.absoluteString ?? ""))")
98 | if let jsonString = String(data: data, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:10:7: warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class NetworkStreamingClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | // MARK: - Typealiases
12 | typealias DataHandler = (_ data: Data?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:17:15: warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
15 |
16 | // MARK: - Properties
17 | private var urlSession: URLSession!
| `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
18 | private var dataHandler: DataHandler?
19 | private var responseHandler: ResponseHandler?
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Constants.swift:13:14: warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static let SampleRate: Double = 48000
12 | static let InputChannels = 1
13 | static var SampleSize: Int = { Int(Self.SampleRate * Self.InputBufferDuration) }()
| |- warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SampleSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SampleSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let InputBufferDuration = 0.02
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Logger.swift:12:21: warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Configures the Logger to call this closure instead of printing to the console
12 | public static var logCallback: ((String, LogLevel) -> Void)? = nil
| |- warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logCallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:85: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
:
91 | return data as! Response
92 | }
93 | let decodedResponse = try self.decoder.decode(Response.self, from: data)
| `- note: closure captures 'self' which is accessible to code in the current task
94 | return decodedResponse
95 | }
[129/132] Compiling Hume Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:11: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:45: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:50: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:96:46: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
94 | return decodedResponse
95 | }
96 | let responseValue = try await response.value
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | Logger.debug("Received response for (\(request.url?.absoluteString ?? ""))")
98 | if let jsonString = String(data: data, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:10:7: warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class NetworkStreamingClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | // MARK: - Typealiases
12 | typealias DataHandler = (_ data: Data?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:17:15: warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
15 |
16 | // MARK: - Properties
17 | private var urlSession: URLSession!
| `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
18 | private var dataHandler: DataHandler?
19 | private var responseHandler: ResponseHandler?
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Constants.swift:13:14: warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static let SampleRate: Double = 48000
12 | static let InputChannels = 1
13 | static var SampleSize: Int = { Int(Self.SampleRate * Self.InputBufferDuration) }()
| |- warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SampleSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SampleSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let InputBufferDuration = 0.02
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Logger.swift:12:21: warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Configures the Logger to call this closure instead of printing to the console
12 | public static var logCallback: ((String, LogLevel) -> Void)? = nil
| |- warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logCallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:85: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
:
91 | return data as! Response
92 | }
93 | let decodedResponse = try self.decoder.decode(Response.self, from: data)
| `- note: closure captures 'self' which is accessible to code in the current task
94 | return decodedResponse
95 | }
[130/132] Compiling Hume SDKConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:11: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:45: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:50: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:96:46: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
94 | return decodedResponse
95 | }
96 | let responseValue = try await response.value
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | Logger.debug("Received response for (\(request.url?.absoluteString ?? ""))")
98 | if let jsonString = String(data: data, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:10:7: warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class NetworkStreamingClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | // MARK: - Typealiases
12 | typealias DataHandler = (_ data: Data?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:17:15: warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
15 |
16 | // MARK: - Properties
17 | private var urlSession: URLSession!
| `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
18 | private var dataHandler: DataHandler?
19 | private var responseHandler: ResponseHandler?
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Constants.swift:13:14: warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static let SampleRate: Double = 48000
12 | static let InputChannels = 1
13 | static var SampleSize: Int = { Int(Self.SampleRate * Self.InputBufferDuration) }()
| |- warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SampleSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SampleSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let InputBufferDuration = 0.02
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Logger.swift:12:21: warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Configures the Logger to call this closure instead of printing to the console
12 | public static var logCallback: ((String, LogLevel) -> Void)? = nil
| |- warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logCallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:85: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
:
91 | return data as! Response
92 | }
93 | let decodedResponse = try self.decoder.decode(Response.self, from: data)
| `- note: closure captures 'self' which is accessible to code in the current task
94 | return decodedResponse
95 | }
[131/132] Compiling Hume AudioBufferProcessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:11: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:45: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:50: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:96:46: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
94 | return decodedResponse
95 | }
96 | let responseValue = try await response.value
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | Logger.debug("Received response for (\(request.url?.absoluteString ?? ""))")
98 | if let jsonString = String(data: data, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:10:7: warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class NetworkStreamingClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | // MARK: - Typealiases
12 | typealias DataHandler = (_ data: Data?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:17:15: warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
15 |
16 | // MARK: - Properties
17 | private var urlSession: URLSession!
| `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
18 | private var dataHandler: DataHandler?
19 | private var responseHandler: ResponseHandler?
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Constants.swift:13:14: warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static let SampleRate: Double = 48000
12 | static let InputChannels = 1
13 | static var SampleSize: Int = { Int(Self.SampleRate * Self.InputBufferDuration) }()
| |- warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SampleSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SampleSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let InputBufferDuration = 0.02
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Logger.swift:12:21: warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Configures the Logger to call this closure instead of printing to the console
12 | public static var logCallback: ((String, LogLevel) -> Void)? = nil
| |- warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logCallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:85: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
:
91 | return data as! Response
92 | }
93 | let decodedResponse = try self.decoder.decode(Response.self, from: data)
| `- note: closure captures 'self' which is accessible to code in the current task
94 | return decodedResponse
95 | }
[132/132] Compiling Hume AudioFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:11: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:45: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:50: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:96:46: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private func processResponse<Response: Decodable>(
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
35 | data: Data, response: URLResponse, request: URLRequest
36 | ) async throws -> Response {
:
94 | return decodedResponse
95 | }
96 | let responseValue = try await response.value
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | Logger.debug("Received response for (\(request.url?.absoluteString ?? ""))")
98 | if let jsonString = String(data: data, encoding: .utf8) {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:10:7: warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | class NetworkStreamingClient: NSObject, URLSessionDataDelegate {
| `- warning: non-final class 'NetworkStreamingClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 | // MARK: - Typealiases
12 | typealias DataHandler = (_ data: Data?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkStreamingClient.swift:17:15: warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
15 |
16 | // MARK: - Properties
17 | private var urlSession: URLSession!
| `- warning: stored property 'urlSession' of 'Sendable'-conforming class 'NetworkStreamingClient' is mutable; this is an error in the Swift 6 language mode
18 | private var dataHandler: DataHandler?
19 | private var responseHandler: ResponseHandler?
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Constants.swift:13:14: warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static let SampleRate: Double = 48000
12 | static let InputChannels = 1
13 | static var SampleSize: Int = { Int(Self.SampleRate * Self.InputBufferDuration) }()
| |- warning: static property 'SampleSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'SampleSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'SampleSize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | static let InputBufferDuration = 0.02
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Util/Logger.swift:12:21: warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Configures the Logger to call this closure instead of printing to the console
12 | public static var logCallback: ((String, LogLevel) -> Void)? = nil
| |- warning: static property 'logCallback' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logCallback' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logCallback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Hume/Services/Networking/NetworkService.swift:81:85: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
79 |
80 | do {
81 | let response: Task<Response, Error> = Task.detached(priority: .userInitiated) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | [unowned self] in
83 | // nesting this in task to make sure we're off the main thread for large payloads
:
91 | return data as! Response
92 | }
93 | let decodedResponse = try self.decoder.decode(Response.self, from: data)
| `- note: closure captures 'self' which is accessible to code in the current task
94 | return decodedResponse
95 | }
[133/136] Compiling HumeTestingUtils MockVoiceProvider.swift
[134/136] Compiling HumeTestingUtils MockMicrophoneMode.swift
[135/136] Emitting module HumeTestingUtils
[136/136] Compiling HumeTestingUtils MockExpressionMeasurement.swift
Build complete! (8.99s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Hume",
"name" : "Hume",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Hume",
"targets" : [
"Hume"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HumeTestingUtils",
"targets" : [
"HumeTestingUtils"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HumeTests",
"module_type" : "SwiftTarget",
"name" : "HumeTests",
"path" : "Tests/HumeTests",
"sources" : [
"Api/EmpathicVoice/Client/StreamSocketTest.swift",
"Api/EmpathicVoice/Resources/Chat/Types/SubscribeEventTest.swift",
"Api/EmpathicVoice/Types/AssistantEndTest.swift",
"Api/EmpathicVoice/Types/AssistantMessageTest.swift",
"Api/EmpathicVoice/Types/AudioOutputTest.swift",
"Api/EmpathicVoice/Types/UserInputTest.swift",
"Api/EmpathicVoice/Types/UserMessageTest.swift",
"Api/EmpathicVoice/Types/WebSocketErrorTest.swift",
"HumeClientTests.swift"
],
"target_dependencies" : [
"Hume"
],
"type" : "test"
},
{
"c99name" : "HumeTestingUtils",
"module_type" : "SwiftTarget",
"name" : "HumeTestingUtils",
"path" : "Sources/HumeTestingUtils",
"product_memberships" : [
"HumeTestingUtils"
],
"sources" : [
"Mocks/MockExpressionMeasurement.swift",
"Mocks/MockMicrophoneMode.swift",
"Services/MockVoiceProvider.swift"
],
"target_dependencies" : [
"Hume"
],
"type" : "library"
},
{
"c99name" : "Hume",
"module_type" : "SwiftTarget",
"name" : "Hume",
"path" : "Sources/Hume",
"product_memberships" : [
"Hume",
"HumeTestingUtils"
],
"sources" : [
"API/EmpathicVoice/Client/EmpathicVoiceClient.swift",
"API/EmpathicVoice/Client/StreamSocket.swift",
"API/EmpathicVoice/Models/AssistantEnd.swift",
"API/EmpathicVoice/Models/AssistantInput.swift",
"API/EmpathicVoice/Models/AssistantMessage.swift",
"API/EmpathicVoice/Models/AssistantProsody.swift",
"API/EmpathicVoice/Models/AssistantProsodyMessage.swift",
"API/EmpathicVoice/Models/AudioConfiguration.swift",
"API/EmpathicVoice/Models/AudioInput.swift",
"API/EmpathicVoice/Models/AudioOutput.swift",
"API/EmpathicVoice/Models/Authorization.swift",
"API/EmpathicVoice/Models/BuiltInTool.swift",
"API/EmpathicVoice/Models/BuiltinToolConfig.swift",
"API/EmpathicVoice/Models/ChatConnectOptions.swift",
"API/EmpathicVoice/Models/ChatMessage.swift",
"API/EmpathicVoice/Models/ChatMessageToolResult.swift",
"API/EmpathicVoice/Models/ChatMetadata.swift",
"API/EmpathicVoice/Models/Context.swift",
"API/EmpathicVoice/Models/ContextType.swift",
"API/EmpathicVoice/Models/EmotionScores.swift",
"API/EmpathicVoice/Models/Encoding.swift",
"API/EmpathicVoice/Models/ErrorLevel.swift",
"API/EmpathicVoice/Models/EviConfig.swift",
"API/EmpathicVoice/Models/Inference.swift",
"API/EmpathicVoice/Models/MillisecondInterval.swift",
"API/EmpathicVoice/Models/PaginationDirection.swift",
"API/EmpathicVoice/Models/PauseAssistantMessage.swift",
"API/EmpathicVoice/Models/ProsodyInference.swift",
"API/EmpathicVoice/Models/ResumeAssistantMessage.swift",
"API/EmpathicVoice/Models/Role.swift",
"API/EmpathicVoice/Models/SessionSettings.swift",
"API/EmpathicVoice/Models/Tool.swift",
"API/EmpathicVoice/Models/ToolCallMessage.swift",
"API/EmpathicVoice/Models/ToolErrorMessage.swift",
"API/EmpathicVoice/Models/ToolResponseMessage.swift",
"API/EmpathicVoice/Models/ToolType.swift",
"API/EmpathicVoice/Models/UserInput.swift",
"API/EmpathicVoice/Models/UserInterruption.swift",
"API/EmpathicVoice/Models/UserMessage.swift",
"API/EmpathicVoice/Models/WebSearch/OpenGraph.swift",
"API/EmpathicVoice/Models/WebSearch/WebSearchContent.swift",
"API/EmpathicVoice/Models/WebSearch/WebSearchReference.swift",
"API/EmpathicVoice/Models/WebSocketError.swift",
"API/EmpathicVoice/Resources/Chat/ChatClient.swift",
"API/EmpathicVoice/Resources/Chat/Types/PublishEvent.swift",
"API/EmpathicVoice/Resources/Chat/Types/SubscribeEvent.swift",
"API/TTS/Client/TTSClient.swift",
"API/TTS/Models/AudioEncoding.swift",
"API/TTS/Models/AudioFormatType.swift",
"API/TTS/Models/Format.swift",
"API/TTS/Models/FormatMp3.swift",
"API/TTS/Models/FormatPcm.swift",
"API/TTS/Models/FormatWav.swift",
"API/TTS/Models/HttpValidationError.swift",
"API/TTS/Models/OctaveVersion.swift",
"API/TTS/Models/PostedContextWithGenerationId.swift",
"API/TTS/Models/PostedContextWithUtterances.swift",
"API/TTS/Models/PostedTts.swift",
"API/TTS/Models/PostedTtsContext.swift",
"API/TTS/Models/PostedUtterance.swift",
"API/TTS/Models/PostedUtteranceVoiceWithId.swift",
"API/TTS/Models/PostedUtteranceVoiceWithName.swift",
"API/TTS/Models/ReturnGeneration.swift",
"API/TTS/Models/ReturnTts.swift",
"API/TTS/Models/Snippet.swift",
"API/TTS/Models/SnippetAudioChunk.swift",
"API/TTS/Models/TTSMillisecondInterval.swift",
"API/TTS/Models/TTSVoiceProvider.swift",
"API/TTS/Models/Timestamp.swift",
"API/TTS/Models/TimestampMessage.swift",
"API/TTS/Models/TimestampType.swift",
"API/TTS/Models/TtsVoiceRef.swift",
"API/TTS/Models/ValidationError.swift",
"API/TTS/Resources/TTS/TTS.swift",
"Extensions/AVAdditions.swift",
"Extensions/AnyPublisher+Additions.swift",
"Extensions/AssistantInput+Extensions.swift",
"Extensions/AudioOutput+Extensions.swift",
"Extensions/Data+Additions.swift",
"Extensions/DecodingError+Additions.swift",
"Extensions/EmotionScores+Extensions.swift",
"Extensions/SessionSettings+Copy.swift",
"Extensions/UserInput+Convenience.swift",
"Extensions/WebSocketError+Extensions.swift",
"HumeClient.swift",
"Services/Networking/AccessTokenResolver.swift",
"Services/Networking/Endpoint.swift",
"Services/Networking/HTTPMethod.swift",
"Services/Networking/HumeAuth.swift",
"Services/Networking/NetworkClient.swift",
"Services/Networking/NetworkError.swift",
"Services/Networking/NetworkService.swift",
"Services/Networking/NetworkStreamingClient.swift",
"Services/Networking/NetworkingServiceSession.swift",
"Services/Networking/RequestBuilder.swift",
"Services/Networking/TokenProvidable.swift",
"Util/AsyncLock.swift",
"Util/Constants.swift",
"Util/Defaults.swift",
"Util/HumeError.swift",
"Util/Logger.swift",
"Util/SDKConfiguration.swift",
"Widget/Audio/AudioBufferProcessor.swift",
"Widget/Audio/AudioFormat.swift",
"Widget/Audio/AudioHub/AudioHub.swift",
"Widget/Audio/AudioHub/AudioHubError.swift",
"Widget/Audio/AudioHub/AudioHubState.swift",
"Widget/Audio/AudioHubConfiguration.swift",
"Widget/Audio/Microphone.swift",
"Widget/Audio/MicrophoneMode.swift",
"Widget/Audio/Nodes/MeteredAudioSourceNode.swift",
"Widget/Audio/Nodes/RawAudioPlayer.swift",
"Widget/Audio/Resampler.swift",
"Widget/Audio/Session/AVAudioSessionNotificationHandler.swift",
"Widget/Audio/Session/AudioSession.swift",
"Widget/Audio/Session/AudioSessionError.swift",
"Widget/Audio/Session/AudioSessionIO.swift",
"Widget/Audio/SoundPlayer.swift",
"Widget/Models/SoundClip.swift",
"Widget/Models/VoiceProviderError.swift",
"Widget/Models/WAVHeader.swift",
"Widget/TTSPlayer.swift",
"Widget/VoiceProvider/VoiceProvidable.swift",
"Widget/VoiceProvider/VoiceProvider.swift",
"Widget/VoiceProvider/VoiceProviderDelegate.swift",
"Widget/VoiceProvider/VoiceProviderFactory.swift",
"Widget/VoiceProvider/VoiceProviderState.swift",
"Widget/VoiceProvider/VoiceProviderStateActor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.