Build Information
Successful build of Swollama, reference 3.0.1 (1eada8), with Swift 6.1 for macOS (SPM) on 1 Oct 2025 21:52:20 UTC.
Swift 6 data race errors: 20
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
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guitaripod/Swollama.git
Reference: 3.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/guitaripod/Swollama
* tag 3.0.1 -> FETCH_HEAD
HEAD is now at 1eada84 chore: remove automated release workflow
Cloned https://github.com/guitaripod/Swollama.git
Revision (git rev-parse @):
1eada844ce5e477fa5a2178483b3540e1c07c5e0
SUCCESS checkout https://github.com/guitaripod/Swollama.git at 3.0.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/guitaripod/Swollama.git
https://github.com/guitaripod/Swollama.git
{
"dependencies" : [
],
"manifest_display_name" : "Swollama",
"name" : "Swollama",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "Swollama",
"targets" : [
"Swollama"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwollamaCLI",
"targets" : [
"SwollamaCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwollamaTests",
"module_type" : "SwiftTarget",
"name" : "SwollamaTests",
"path" : "Tests/SwollamaTests",
"sources" : [
"AgentTests.swift",
"ConfigurationTests.swift",
"DigestValidationTests.swift",
"ErrorHandlingTests.swift",
"ModelNameParsingTests.swift",
"NewFeaturesTests.swift",
"RetryLogicTests.swift",
"StreamingBufferTests.swift",
"SwollamaTests.swift"
],
"target_dependencies" : [
"Swollama"
],
"type" : "test"
},
{
"c99name" : "SwollamaCLI",
"module_type" : "SwiftTarget",
"name" : "SwollamaCLI",
"path" : "Sources/SwollamaCLI",
"product_memberships" : [
"SwollamaCLI"
],
"sources" : [
"Commands/AgentCommand.swift",
"Commands/BlobCommand.swift",
"Commands/ChatCommand.swift",
"Commands/CommandProtocol.swift",
"Commands/CopyModelCommand.swift",
"Commands/CreateCommand.swift",
"Commands/DeleteModelCommand.swift",
"Commands/EmbeddingsCommand.swift",
"Commands/EnhancedChatCommand.swift",
"Commands/GenerateCommand.swift",
"Commands/ListModelsCommand.swift",
"Commands/ListRunningModelsCommand.swift",
"Commands/PullModelCommand.swift",
"Commands/PushCommand.swift",
"Commands/ShowModelCommand.swift",
"Commands/TestCommand.swift",
"Commands/VersionCommand.swift",
"EnhancedSwollamaCLI.swift",
"ErrorRecovery.swift",
"InputHandler.swift",
"LinuxSupport.swift",
"StreamDebugger.swift",
"SwollamaCLI.swift",
"Tools/CLIError.swift",
"Tools/ModelFormatter.swift",
"Tools/ProgressTracker.swift",
"Tools/SpeedCalculator.swift",
"Tools/TerminalHelper.swift"
],
"target_dependencies" : [
"Swollama"
],
"type" : "executable"
},
{
"c99name" : "Swollama",
"module_type" : "SwiftTarget",
"name" : "Swollama",
"path" : "Sources/Swollama",
"product_memberships" : [
"Swollama",
"SwollamaCLI"
],
"sources" : [
"Agent/AgentConfiguration.swift",
"Agent/AgentEvent.swift",
"Agent/OllamaAgent.swift",
"ChatOptions.swift",
"EmbeddingOptions.swift",
"GenerationOptions.swift",
"Models/ChatRequest.swift",
"Models/ChatResponse.swift",
"Models/CreateModelRequest.swift",
"Models/EmbeddingRequest.swift",
"Models/EmbeddingResponse.swift",
"Models/GenerateRequest.swift",
"Models/GenerateResponse.swift",
"Models/ModelFamily.swift",
"Models/ModelFormat.swift",
"Models/ModelInformation.swift",
"Models/ModelsResponse.swift",
"Models/OllamaModelName.swift",
"Models/OperationProgress.swift",
"Models/QuantizationLevel.swift",
"Models/RunningModelsResponse.swift",
"Models/ShowModelRequest.swift",
"Models/ToolCall.swift",
"Models/ToolDefinition.swift",
"Models/VersionResponse.swift",
"NetworkingSupport+Streaming.swift",
"NetworkingSupport.swift",
"OllamaClient+Generation.swift",
"OllamaClient+ModelManagement.swift",
"OllamaClient.swift",
"OllamaConfiguration.swift",
"OllamaError.swift",
"OllamaProtocol.swift",
"WebSearch/OllamaWebSearchClient.swift",
"WebSearch/WebSearchModels.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
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 InferSendableFromCaptures
Building for debugging...
[0/7] Write sources
[0/7] Write SwollamaCLI-entitlement.plist
[0/7] Write sources
[3/7] Write swift-version-2F0A5646E1D333AE.txt
[5/40] Emitting module Swollama
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:56:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// )
16 | /// ```
17 | public struct ChatOptions {
| `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
18 | /// Tool definitions to make available to the model for function calling.
19 | public let tools: [ToolDefinition]?
:
54 |
55 | /// Default chat options with no constraints.
56 | public static let `default` = ChatOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// Controls embedding behavior including input truncation, model parameters, and
6 | /// model keep-alive duration.
7 | public struct EmbeddingOptions {
| `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
8 | /// Whether to truncate input text that exceeds the model's maximum context length. Defaults to `true`.
9 | public let truncate: Bool?
:
32 |
33 | /// Default embedding options with truncation enabled.
34 | public static let `default` = EmbeddingOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// Provides comprehensive control over generation behavior including multimodal inputs,
6 | /// output formatting, system prompts, and conversation context.
7 | public struct GenerationOptions {
| `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
8 | /// Text to append after the model's generated response (for fill-in-the-middle scenarios).
9 | public let suffix: String?
:
74 |
75 | /// Default generation options with no constraints.
76 | public static let `default` = GenerationOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:53:12: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'OllamaConfiguration'; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration settings for the client including timeouts, retries, and keep-alive behavior.
53 | public nonisolated let configuration: OllamaConfiguration
| `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'OllamaConfiguration'; this is an error in the Swift 6 language mode
54 |
55 | private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:20:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 | /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 | public let timeoutInterval: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:53:28: warning: non-sendable type 'OllamaConfiguration' cannot be returned from nonisolated implementation to caller of protocol requirement 'configuration'; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration settings for the client including timeouts, retries, and keep-alive behavior.
53 | public nonisolated let configuration: OllamaConfiguration
| `- warning: non-sendable type 'OllamaConfiguration' cannot be returned from nonisolated implementation to caller of protocol requirement 'configuration'; this is an error in the Swift 6 language mode
54 |
55 | private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:20:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 | /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 | public let timeoutInterval: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:11:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'showModel(name:verbose:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public func showModel(name: OllamaModelName, verbose: Bool? = nil) async throws
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'showModel(name:verbose:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
12 | -> ModelInformation
13 | {
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:29:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
27 | }
28 |
29 | public func pullModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
30 | name: OllamaModelName,
31 | options: PullOptions
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:29:17: warning: non-sendable parameter type 'PullOptions' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
27 | }
28 |
29 | public func pullModel(
| `- warning: non-sendable parameter type 'PullOptions' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
30 | name: OllamaModelName,
31 | options: PullOptions
:
198 |
199 | /// Options for pulling models from the Ollama registry.
200 | public struct PullOptions {
| `- note: consider making struct 'PullOptions' conform to the 'Sendable' protocol
201 | /// Whether to allow insecure (non-HTTPS) connections to the registry.
202 | public let allowInsecure: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:47:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public func pushModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
48 | name: OllamaModelName,
49 | options: PushOptions
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:47:17: warning: non-sendable parameter type 'PushOptions' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public func pushModel(
| `- warning: non-sendable parameter type 'PushOptions' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
48 | name: OllamaModelName,
49 | options: PushOptions
:
211 |
212 | /// Options for pushing models to the Ollama registry.
213 | public struct PushOptions {
| `- note: consider making struct 'PushOptions' conform to the 'Sendable' protocol
214 | /// Whether to allow insecure (non-HTTPS) connections to the registry.
215 | public let allowInsecure: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:70:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
68 | }
69 |
70 | public func copyModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
71 | source: OllamaModelName,
72 | destination: OllamaModelName
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:70:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
68 | }
69 |
70 | public func copyModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
71 | source: OllamaModelName,
72 | destination: OllamaModelName
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:86:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'deleteModel(name:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
84 | }
85 |
86 | public func deleteModel(name: OllamaModelName) async throws {
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'deleteModel(name:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
87 | let request = DeleteModelRequest(name: name.fullName)
88 | _ = try await makeRequest(
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:62:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OllamaConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 | /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 | public let timeoutInterval: TimeInterval
:
60 |
61 | /// Default configuration with standard settings.
62 | public static let `default` = OllamaConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OllamaConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[6/43] Compiling Swollama OllamaProtocol.swift
[7/43] Compiling Swollama OllamaWebSearchClient.swift
[8/43] Compiling Swollama WebSearchModels.swift
[9/43] Compiling Swollama OllamaClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:53:12: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'OllamaConfiguration'; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration settings for the client including timeouts, retries, and keep-alive behavior.
53 | public nonisolated let configuration: OllamaConfiguration
| `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'OllamaConfiguration'; this is an error in the Swift 6 language mode
54 |
55 | private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:20:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 | /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 | public let timeoutInterval: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:53:28: warning: non-sendable type 'OllamaConfiguration' cannot be returned from nonisolated implementation to caller of protocol requirement 'configuration'; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration settings for the client including timeouts, retries, and keep-alive behavior.
53 | public nonisolated let configuration: OllamaConfiguration
| `- warning: non-sendable type 'OllamaConfiguration' cannot be returned from nonisolated implementation to caller of protocol requirement 'configuration'; this is an error in the Swift 6 language mode
54 |
55 | private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:20:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 | /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 | public let timeoutInterval: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:11:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'showModel(name:verbose:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public func showModel(name: OllamaModelName, verbose: Bool? = nil) async throws
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'showModel(name:verbose:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
12 | -> ModelInformation
13 | {
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:29:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
27 | }
28 |
29 | public func pullModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
30 | name: OllamaModelName,
31 | options: PullOptions
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:29:17: warning: non-sendable parameter type 'PullOptions' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
27 | }
28 |
29 | public func pullModel(
| `- warning: non-sendable parameter type 'PullOptions' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
30 | name: OllamaModelName,
31 | options: PullOptions
:
198 |
199 | /// Options for pulling models from the Ollama registry.
200 | public struct PullOptions {
| `- note: consider making struct 'PullOptions' conform to the 'Sendable' protocol
201 | /// Whether to allow insecure (non-HTTPS) connections to the registry.
202 | public let allowInsecure: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:47:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public func pushModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
48 | name: OllamaModelName,
49 | options: PushOptions
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:47:17: warning: non-sendable parameter type 'PushOptions' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public func pushModel(
| `- warning: non-sendable parameter type 'PushOptions' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
48 | name: OllamaModelName,
49 | options: PushOptions
:
211 |
212 | /// Options for pushing models to the Ollama registry.
213 | public struct PushOptions {
| `- note: consider making struct 'PushOptions' conform to the 'Sendable' protocol
214 | /// Whether to allow insecure (non-HTTPS) connections to the registry.
215 | public let allowInsecure: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:70:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
68 | }
69 |
70 | public func copyModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
71 | source: OllamaModelName,
72 | destination: OllamaModelName
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:70:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
68 | }
69 |
70 | public func copyModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
71 | source: OllamaModelName,
72 | destination: OllamaModelName
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:86:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'deleteModel(name:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
84 | }
85 |
86 | public func deleteModel(name: OllamaModelName) async throws {
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'deleteModel(name:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
87 | let request = DeleteModelRequest(name: name.fullName)
88 | _ = try await makeRequest(
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:62:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OllamaConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 | /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 | public let timeoutInterval: TimeInterval
:
60 |
61 | /// Default configuration with standard settings.
62 | public static let `default` = OllamaConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OllamaConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[10/43] Compiling Swollama OllamaConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:53:12: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'OllamaConfiguration'; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration settings for the client including timeouts, retries, and keep-alive behavior.
53 | public nonisolated let configuration: OllamaConfiguration
| `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'OllamaConfiguration'; this is an error in the Swift 6 language mode
54 |
55 | private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:20:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 | /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 | public let timeoutInterval: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:53:28: warning: non-sendable type 'OllamaConfiguration' cannot be returned from nonisolated implementation to caller of protocol requirement 'configuration'; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration settings for the client including timeouts, retries, and keep-alive behavior.
53 | public nonisolated let configuration: OllamaConfiguration
| `- warning: non-sendable type 'OllamaConfiguration' cannot be returned from nonisolated implementation to caller of protocol requirement 'configuration'; this is an error in the Swift 6 language mode
54 |
55 | private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:20:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 | /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 | public let timeoutInterval: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:11:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'showModel(name:verbose:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public func showModel(name: OllamaModelName, verbose: Bool? = nil) async throws
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'showModel(name:verbose:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
12 | -> ModelInformation
13 | {
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:29:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
27 | }
28 |
29 | public func pullModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
30 | name: OllamaModelName,
31 | options: PullOptions
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:29:17: warning: non-sendable parameter type 'PullOptions' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
27 | }
28 |
29 | public func pullModel(
| `- warning: non-sendable parameter type 'PullOptions' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
30 | name: OllamaModelName,
31 | options: PullOptions
:
198 |
199 | /// Options for pulling models from the Ollama registry.
200 | public struct PullOptions {
| `- note: consider making struct 'PullOptions' conform to the 'Sendable' protocol
201 | /// Whether to allow insecure (non-HTTPS) connections to the registry.
202 | public let allowInsecure: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:47:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public func pushModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
48 | name: OllamaModelName,
49 | options: PushOptions
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:47:17: warning: non-sendable parameter type 'PushOptions' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public func pushModel(
| `- warning: non-sendable parameter type 'PushOptions' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
48 | name: OllamaModelName,
49 | options: PushOptions
:
211 |
212 | /// Options for pushing models to the Ollama registry.
213 | public struct PushOptions {
| `- note: consider making struct 'PushOptions' conform to the 'Sendable' protocol
214 | /// Whether to allow insecure (non-HTTPS) connections to the registry.
215 | public let allowInsecure: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:70:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
68 | }
69 |
70 | public func copyModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
71 | source: OllamaModelName,
72 | destination: OllamaModelName
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:70:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
68 | }
69 |
70 | public func copyModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
71 | source: OllamaModelName,
72 | destination: OllamaModelName
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:86:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'deleteModel(name:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
84 | }
85 |
86 | public func deleteModel(name: OllamaModelName) async throws {
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'deleteModel(name:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
87 | let request = DeleteModelRequest(name: name.fullName)
88 | _ = try await makeRequest(
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:62:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OllamaConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 | /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 | public let timeoutInterval: TimeInterval
:
60 |
61 | /// Default configuration with standard settings.
62 | public static let `default` = OllamaConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OllamaConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[11/43] Compiling Swollama OllamaError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:53:12: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'OllamaConfiguration'; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration settings for the client including timeouts, retries, and keep-alive behavior.
53 | public nonisolated let configuration: OllamaConfiguration
| `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'OllamaConfiguration'; this is an error in the Swift 6 language mode
54 |
55 | private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:20:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 | /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 | public let timeoutInterval: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:53:28: warning: non-sendable type 'OllamaConfiguration' cannot be returned from nonisolated implementation to caller of protocol requirement 'configuration'; this is an error in the Swift 6 language mode
51 |
52 | /// Configuration settings for the client including timeouts, retries, and keep-alive behavior.
53 | public nonisolated let configuration: OllamaConfiguration
| `- warning: non-sendable type 'OllamaConfiguration' cannot be returned from nonisolated implementation to caller of protocol requirement 'configuration'; this is an error in the Swift 6 language mode
54 |
55 | private let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:20:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 | /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 | public let timeoutInterval: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:11:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'showModel(name:verbose:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
9 | }
10 |
11 | public func showModel(name: OllamaModelName, verbose: Bool? = nil) async throws
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'showModel(name:verbose:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
12 | -> ModelInformation
13 | {
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:29:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
27 | }
28 |
29 | public func pullModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
30 | name: OllamaModelName,
31 | options: PullOptions
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:29:17: warning: non-sendable parameter type 'PullOptions' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
27 | }
28 |
29 | public func pullModel(
| `- warning: non-sendable parameter type 'PullOptions' cannot be sent from caller of protocol requirement 'pullModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
30 | name: OllamaModelName,
31 | options: PullOptions
:
198 |
199 | /// Options for pulling models from the Ollama registry.
200 | public struct PullOptions {
| `- note: consider making struct 'PullOptions' conform to the 'Sendable' protocol
201 | /// Whether to allow insecure (non-HTTPS) connections to the registry.
202 | public let allowInsecure: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:47:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public func pushModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
48 | name: OllamaModelName,
49 | options: PushOptions
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:47:17: warning: non-sendable parameter type 'PushOptions' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public func pushModel(
| `- warning: non-sendable parameter type 'PushOptions' cannot be sent from caller of protocol requirement 'pushModel(name:options:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
48 | name: OllamaModelName,
49 | options: PushOptions
:
211 |
212 | /// Options for pushing models to the Ollama registry.
213 | public struct PushOptions {
| `- note: consider making struct 'PushOptions' conform to the 'Sendable' protocol
214 | /// Whether to allow insecure (non-HTTPS) connections to the registry.
215 | public let allowInsecure: Bool
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:70:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
68 | }
69 |
70 | public func copyModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
71 | source: OllamaModelName,
72 | destination: OllamaModelName
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:70:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
68 | }
69 |
70 | public func copyModel(
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'copyModel(source:destination:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
71 | source: OllamaModelName,
72 | destination: OllamaModelName
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:86:17: warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'deleteModel(name:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
84 | }
85 |
86 | public func deleteModel(name: OllamaModelName) async throws {
| `- warning: non-sendable parameter type 'OllamaModelName' cannot be sent from caller of protocol requirement 'deleteModel(name:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
87 | let request = DeleteModelRequest(name: name.fullName)
88 | _ = try await makeRequest(
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:62:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OllamaConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// let client = OllamaClient(configuration: config)
19 | /// ```
20 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
21 | /// Timeout for individual HTTP requests in seconds. Defaults to 30 seconds.
22 | public let timeoutInterval: TimeInterval
:
60 |
61 | /// Default configuration with standard settings.
62 | public static let `default` = OllamaConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OllamaConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | }
64 |
[12/43] Compiling Swollama ToolDefinition.swift
[13/43] Compiling Swollama VersionResponse.swift
[14/43] Compiling Swollama NetworkingSupport+Streaming.swift
[15/43] Compiling Swollama ModelsResponse.swift
[16/43] Compiling Swollama OllamaModelName.swift
[17/43] Compiling Swollama OperationProgress.swift
[18/43] Compiling Swollama QuantizationLevel.swift
[19/43] Compiling Swollama AgentConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:56:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// )
16 | /// ```
17 | public struct ChatOptions {
| `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
18 | /// Tool definitions to make available to the model for function calling.
19 | public let tools: [ToolDefinition]?
:
54 |
55 | /// Default chat options with no constraints.
56 | public static let `default` = ChatOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Agent/OllamaAgent.swift:110:18: 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
108 | ) -> AsyncThrowingStream<AgentEvent, Error> {
109 | AsyncThrowingStream { continuation in
110 | Task {
| `- 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
111 |
112 | do {
:
122 | let response = try await self.client.chat(
123 | messages: messages,
124 | model: model,
| `- note: closure captures 'model' which is accessible to code in the current task
125 | options: ChatOptions(
126 | tools: [
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Agent/OllamaAgent.swift:122:62: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
120 | iterations += 1
121 |
122 | let response = try await self.client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
123 | messages: messages,
124 | model: model,
[20/43] Compiling Swollama AgentEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:56:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// )
16 | /// ```
17 | public struct ChatOptions {
| `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
18 | /// Tool definitions to make available to the model for function calling.
19 | public let tools: [ToolDefinition]?
:
54 |
55 | /// Default chat options with no constraints.
56 | public static let `default` = ChatOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Agent/OllamaAgent.swift:110:18: 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
108 | ) -> AsyncThrowingStream<AgentEvent, Error> {
109 | AsyncThrowingStream { continuation in
110 | Task {
| `- 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
111 |
112 | do {
:
122 | let response = try await self.client.chat(
123 | messages: messages,
124 | model: model,
| `- note: closure captures 'model' which is accessible to code in the current task
125 | options: ChatOptions(
126 | tools: [
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Agent/OllamaAgent.swift:122:62: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
120 | iterations += 1
121 |
122 | let response = try await self.client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
123 | messages: messages,
124 | model: model,
[21/43] Compiling Swollama OllamaAgent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:56:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// )
16 | /// ```
17 | public struct ChatOptions {
| `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
18 | /// Tool definitions to make available to the model for function calling.
19 | public let tools: [ToolDefinition]?
:
54 |
55 | /// Default chat options with no constraints.
56 | public static let `default` = ChatOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Agent/OllamaAgent.swift:110:18: 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
108 | ) -> AsyncThrowingStream<AgentEvent, Error> {
109 | AsyncThrowingStream { continuation in
110 | Task {
| `- 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
111 |
112 | do {
:
122 | let response = try await self.client.chat(
123 | messages: messages,
124 | model: model,
| `- note: closure captures 'model' which is accessible to code in the current task
125 | options: ChatOptions(
126 | tools: [
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Agent/OllamaAgent.swift:122:62: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
120 | iterations += 1
121 |
122 | let response = try await self.client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
123 | messages: messages,
124 | model: model,
[22/43] Compiling Swollama ChatOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:56:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | /// )
16 | /// ```
17 | public struct ChatOptions {
| `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
18 | /// Tool definitions to make available to the model for function calling.
19 | public let tools: [ToolDefinition]?
:
54 |
55 | /// Default chat options with no constraints.
56 | public static let `default` = ChatOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ChatOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Agent/OllamaAgent.swift:110:18: 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
108 | ) -> AsyncThrowingStream<AgentEvent, Error> {
109 | AsyncThrowingStream { continuation in
110 | Task {
| `- 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
111 |
112 | do {
:
122 | let response = try await self.client.chat(
123 | messages: messages,
124 | model: model,
| `- note: closure captures 'model' which is accessible to code in the current task
125 | options: ChatOptions(
126 | tools: [
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Agent/OllamaAgent.swift:122:62: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
120 | iterations += 1
121 |
122 | let response = try await self.client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
123 | messages: messages,
124 | model: model,
[23/43] Compiling Swollama RunningModelsResponse.swift
[24/43] Compiling Swollama ShowModelRequest.swift
[25/43] Compiling Swollama ToolCall.swift
[26/43] Compiling Swollama NetworkingSupport.swift
[27/43] Compiling Swollama OllamaClient+Generation.swift
[28/43] Compiling Swollama OllamaClient+ModelManagement.swift
[29/43] Compiling Swollama EmbeddingOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// Controls embedding behavior including input truncation, model parameters, and
6 | /// model keep-alive duration.
7 | public struct EmbeddingOptions {
| `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
8 | /// Whether to truncate input text that exceeds the model's maximum context length. Defaults to `true`.
9 | public let truncate: Bool?
:
32 |
33 | /// Default embedding options with truncation enabled.
34 | public static let `default` = EmbeddingOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// Provides comprehensive control over generation behavior including multimodal inputs,
6 | /// output formatting, system prompts, and conversation context.
7 | public struct GenerationOptions {
| `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
8 | /// Text to append after the model's generated response (for fill-in-the-middle scenarios).
9 | public let suffix: String?
:
74 |
75 | /// Default generation options with no constraints.
76 | public static let `default` = GenerationOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
[30/43] Compiling Swollama GenerationOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// Controls embedding behavior including input truncation, model parameters, and
6 | /// model keep-alive duration.
7 | public struct EmbeddingOptions {
| `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
8 | /// Whether to truncate input text that exceeds the model's maximum context length. Defaults to `true`.
9 | public let truncate: Bool?
:
32 |
33 | /// Default embedding options with truncation enabled.
34 | public static let `default` = EmbeddingOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// Provides comprehensive control over generation behavior including multimodal inputs,
6 | /// output formatting, system prompts, and conversation context.
7 | public struct GenerationOptions {
| `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
8 | /// Text to append after the model's generated response (for fill-in-the-middle scenarios).
9 | public let suffix: String?
:
74 |
75 | /// Default generation options with no constraints.
76 | public static let `default` = GenerationOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
[31/43] Compiling Swollama ChatRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// Controls embedding behavior including input truncation, model parameters, and
6 | /// model keep-alive duration.
7 | public struct EmbeddingOptions {
| `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
8 | /// Whether to truncate input text that exceeds the model's maximum context length. Defaults to `true`.
9 | public let truncate: Bool?
:
32 |
33 | /// Default embedding options with truncation enabled.
34 | public static let `default` = EmbeddingOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// Provides comprehensive control over generation behavior including multimodal inputs,
6 | /// output formatting, system prompts, and conversation context.
7 | public struct GenerationOptions {
| `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
8 | /// Text to append after the model's generated response (for fill-in-the-middle scenarios).
9 | public let suffix: String?
:
74 |
75 | /// Default generation options with no constraints.
76 | public static let `default` = GenerationOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
[32/43] Compiling Swollama ChatResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:34:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// Controls embedding behavior including input truncation, model parameters, and
6 | /// model keep-alive duration.
7 | public struct EmbeddingOptions {
| `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
8 | /// Whether to truncate input text that exceeds the model's maximum context length. Defaults to `true`.
9 | public let truncate: Bool?
:
32 |
33 | /// Default embedding options with truncation enabled.
34 | public static let `default` = EmbeddingOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EmbeddingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:76:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// Provides comprehensive control over generation behavior including multimodal inputs,
6 | /// output formatting, system prompts, and conversation context.
7 | public struct GenerationOptions {
| `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
8 | /// Text to append after the model's generated response (for fill-in-the-middle scenarios).
9 | public let suffix: String?
:
74 |
75 | /// Default generation options with no constraints.
76 | public static let `default` = GenerationOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GenerationOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | }
78 |
[33/43] Compiling Swollama CreateModelRequest.swift
[34/43] Compiling Swollama EmbeddingRequest.swift
[35/43] Compiling Swollama EmbeddingResponse.swift
[36/43] Compiling Swollama GenerateRequest.swift
[37/43] Compiling Swollama GenerateResponse.swift
[38/43] Compiling Swollama ModelFamily.swift
[39/43] Compiling Swollama ModelFormat.swift
[40/43] Compiling Swollama ModelInformation.swift
[41/70] Emitting module SwollamaCLI
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/ErrorRecovery.swift:153:10: warning: associated value 'fallbackRequired(model:)' of 'Sendable'-conforming enum 'RecoveryError' has non-sendable type 'OllamaModelName'; this is an error in the Swift 6 language mode
151 |
152 | enum RecoveryError: LocalizedError {
153 | case fallbackRequired(model: OllamaModelName)
| `- warning: associated value 'fallbackRequired(model:)' of 'Sendable'-conforming enum 'RecoveryError' has non-sendable type 'OllamaModelName'; this is an error in the Swift 6 language mode
154 | case hostSwitchRequired(host: String)
155 | case reconnectFailed
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: struct 'OllamaModelName' does not conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: struct 'OllamaModelName' does not conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/ErrorRecovery.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Swollama'
1 | import Foundation
2 | import Swollama
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Swollama'
3 |
4 | enum RecoveryStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:5:16: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct StreamDebugger {
5 | static var isEnabled = false
| |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | static var logFile: FileHandle?
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:6:16: warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | struct StreamDebugger {
5 | static var isEnabled = false
6 | static var logFile: FileHandle?
| |- warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logFile' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:121:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
118 | }
119 |
120 | class NetworkMonitor {
| `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
121 | static let shared = NetworkMonitor()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | private var requestCount = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Tools/ProgressTracker.swift:184:24: warning: static property 'cachedWidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 |
183 | class CachedTerminalHelper: TerminalHelper {
184 | private static var cachedWidth: Int?
| |- warning: static property 'cachedWidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedWidth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cachedWidth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | private static var lastCheck: Date?
186 | private static let cacheDuration: TimeInterval = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Tools/ProgressTracker.swift:185:24: warning: static property 'lastCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 | class CachedTerminalHelper: TerminalHelper {
184 | private static var cachedWidth: Int?
185 | private static var lastCheck: Date?
| |- warning: static property 'lastCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastCheck' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastCheck' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private static let cacheDuration: TimeInterval = 1.0
187 |
[42/72] Compiling SwollamaCLI CommandProtocol.swift
[43/72] Compiling SwollamaCLI CopyModelCommand.swift
[44/72] Compiling SwollamaCLI CreateCommand.swift
[45/72] Compiling SwollamaCLI SpeedCalculator.swift
[46/72] Compiling SwollamaCLI TerminalHelper.swift
[47/72] Compiling SwollamaCLI ModelFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Tools/ProgressTracker.swift:184:24: warning: static property 'cachedWidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 |
183 | class CachedTerminalHelper: TerminalHelper {
184 | private static var cachedWidth: Int?
| |- warning: static property 'cachedWidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedWidth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cachedWidth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | private static var lastCheck: Date?
186 | private static let cacheDuration: TimeInterval = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Tools/ProgressTracker.swift:185:24: warning: static property 'lastCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 | class CachedTerminalHelper: TerminalHelper {
184 | private static var cachedWidth: Int?
185 | private static var lastCheck: Date?
| |- warning: static property 'lastCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastCheck' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastCheck' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private static let cacheDuration: TimeInterval = 1.0
187 |
[48/72] Compiling SwollamaCLI ProgressTracker.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Tools/ProgressTracker.swift:184:24: warning: static property 'cachedWidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 |
183 | class CachedTerminalHelper: TerminalHelper {
184 | private static var cachedWidth: Int?
| |- warning: static property 'cachedWidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedWidth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cachedWidth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | private static var lastCheck: Date?
186 | private static let cacheDuration: TimeInterval = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Tools/ProgressTracker.swift:185:24: warning: static property 'lastCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 | class CachedTerminalHelper: TerminalHelper {
184 | private static var cachedWidth: Int?
185 | private static var lastCheck: Date?
| |- warning: static property 'lastCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastCheck' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastCheck' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | private static let cacheDuration: TimeInterval = 1.0
187 |
[49/72] Compiling SwollamaCLI ErrorRecovery.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/ErrorRecovery.swift:153:10: warning: associated value 'fallbackRequired(model:)' of 'Sendable'-conforming enum 'RecoveryError' has non-sendable type 'OllamaModelName'; this is an error in the Swift 6 language mode
151 |
152 | enum RecoveryError: LocalizedError {
153 | case fallbackRequired(model: OllamaModelName)
| `- warning: associated value 'fallbackRequired(model:)' of 'Sendable'-conforming enum 'RecoveryError' has non-sendable type 'OllamaModelName'; this is an error in the Swift 6 language mode
154 | case hostSwitchRequired(host: String)
155 | case reconnectFailed
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: struct 'OllamaModelName' does not conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: struct 'OllamaModelName' does not conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/ErrorRecovery.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Swollama'
1 | import Foundation
2 | import Swollama
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Swollama'
3 |
4 | enum RecoveryStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/ErrorRecovery.swift:230:39: warning: sending 'self.currentModel' risks causing data races; this is an error in the Swift 6 language mode
228 | }
229 |
230 | let stream = try await client.chat(
| |- warning: sending 'self.currentModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.currentModel' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
231 | messages: messages,
232 | model: currentModel,
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/ErrorRecovery.swift:286:14: 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
284 |
285 | func startMonitoring() {
286 | Task {
| `- 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
287 | while true {
288 | await checkHealth()
| `- note: closure captures 'self' which is accessible to code in the current task
289 | try? await Task.sleep(nanoseconds: UInt64(checkInterval * 1_000_000_000))
290 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/InputHandler.swift:275:14: 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
273 | func start() {
274 | isRunning = true
275 | Task {
| `- 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
276 | while isRunning {
| `- note: closure captures 'self' which is accessible to code in the current task
277 | print(
278 | "\r\(EnhancedTerminalStyle.neonBlue)\(frames[currentFrame])\(EnhancedTerminalStyle.reset) \(message)",
[50/72] Compiling SwollamaCLI InputHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/ErrorRecovery.swift:153:10: warning: associated value 'fallbackRequired(model:)' of 'Sendable'-conforming enum 'RecoveryError' has non-sendable type 'OllamaModelName'; this is an error in the Swift 6 language mode
151 |
152 | enum RecoveryError: LocalizedError {
153 | case fallbackRequired(model: OllamaModelName)
| `- warning: associated value 'fallbackRequired(model:)' of 'Sendable'-conforming enum 'RecoveryError' has non-sendable type 'OllamaModelName'; this is an error in the Swift 6 language mode
154 | case hostSwitchRequired(host: String)
155 | case reconnectFailed
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: struct 'OllamaModelName' does not conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: struct 'OllamaModelName' does not conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/ErrorRecovery.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Swollama'
1 | import Foundation
2 | import Swollama
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Swollama'
3 |
4 | enum RecoveryStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/ErrorRecovery.swift:230:39: warning: sending 'self.currentModel' risks causing data races; this is an error in the Swift 6 language mode
228 | }
229 |
230 | let stream = try await client.chat(
| |- warning: sending 'self.currentModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.currentModel' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
231 | messages: messages,
232 | model: currentModel,
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/ErrorRecovery.swift:286:14: 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
284 |
285 | func startMonitoring() {
286 | Task {
| `- 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
287 | while true {
288 | await checkHealth()
| `- note: closure captures 'self' which is accessible to code in the current task
289 | try? await Task.sleep(nanoseconds: UInt64(checkInterval * 1_000_000_000))
290 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/InputHandler.swift:275:14: 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
273 | func start() {
274 | isRunning = true
275 | Task {
| `- 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
276 | while isRunning {
| `- note: closure captures 'self' which is accessible to code in the current task
277 | print(
278 | "\r\(EnhancedTerminalStyle.neonBlue)\(frames[currentFrame])\(EnhancedTerminalStyle.reset) \(message)",
[51/72] Compiling SwollamaCLI LinuxSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/ErrorRecovery.swift:153:10: warning: associated value 'fallbackRequired(model:)' of 'Sendable'-conforming enum 'RecoveryError' has non-sendable type 'OllamaModelName'; this is an error in the Swift 6 language mode
151 |
152 | enum RecoveryError: LocalizedError {
153 | case fallbackRequired(model: OllamaModelName)
| `- warning: associated value 'fallbackRequired(model:)' of 'Sendable'-conforming enum 'RecoveryError' has non-sendable type 'OllamaModelName'; this is an error in the Swift 6 language mode
154 | case hostSwitchRequired(host: String)
155 | case reconnectFailed
/Users/admin/builder/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:24:15: note: struct 'OllamaModelName' does not conform to the 'Sendable' protocol
22 | /// print(model3.namespace)
23 | /// ```
24 | public struct OllamaModelName {
| `- note: struct 'OllamaModelName' does not conform to the 'Sendable' protocol
25 | /// The model's namespace (e.g., "library", "username"). Optional for local-only models.
26 | public let namespace: String?
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/ErrorRecovery.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Swollama'
1 | import Foundation
2 | import Swollama
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Swollama'
3 |
4 | enum RecoveryStrategy {
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/ErrorRecovery.swift:230:39: warning: sending 'self.currentModel' risks causing data races; this is an error in the Swift 6 language mode
228 | }
229 |
230 | let stream = try await client.chat(
| |- warning: sending 'self.currentModel' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.currentModel' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
231 | messages: messages,
232 | model: currentModel,
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/ErrorRecovery.swift:286:14: 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
284 |
285 | func startMonitoring() {
286 | Task {
| `- 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
287 | while true {
288 | await checkHealth()
| `- note: closure captures 'self' which is accessible to code in the current task
289 | try? await Task.sleep(nanoseconds: UInt64(checkInterval * 1_000_000_000))
290 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/InputHandler.swift:275:14: 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
273 | func start() {
274 | isRunning = true
275 | Task {
| `- 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
276 | while isRunning {
| `- note: closure captures 'self' which is accessible to code in the current task
277 | print(
278 | "\r\(EnhancedTerminalStyle.neonBlue)\(frames[currentFrame])\(EnhancedTerminalStyle.reset) \(message)",
[52/72] Compiling SwollamaCLI PullModelCommand.swift
[53/72] Compiling SwollamaCLI PushCommand.swift
[54/72] Compiling SwollamaCLI ShowModelCommand.swift
[55/72] Compiling SwollamaCLI AgentCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Commands/ChatCommand.swift:124:47: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
122 |
123 | do {
124 | let stream = try await client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| |- note: sending 'model' to actor-isolated callee risks causing data races between actor-isolated and local nonisolated uses
| `- note: access can happen concurrently
125 | messages: messages,
126 | model: model,
[56/72] Compiling SwollamaCLI BlobCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Commands/ChatCommand.swift:124:47: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
122 |
123 | do {
124 | let stream = try await client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| |- note: sending 'model' to actor-isolated callee risks causing data races between actor-isolated and local nonisolated uses
| `- note: access can happen concurrently
125 | messages: messages,
126 | model: model,
[57/72] Compiling SwollamaCLI ChatCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Commands/ChatCommand.swift:124:47: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
122 |
123 | do {
124 | let stream = try await client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| |- note: sending 'model' to actor-isolated callee risks causing data races between actor-isolated and local nonisolated uses
| `- note: access can happen concurrently
125 | messages: messages,
126 | model: model,
[58/72] Compiling SwollamaCLI TestCommand.swift
[59/72] Compiling SwollamaCLI VersionCommand.swift
[60/72] Compiling SwollamaCLI EnhancedSwollamaCLI.swift
[61/72] Compiling SwollamaCLI DeleteModelCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:384:43: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
382 | }
383 |
384 | let stream = try await client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
385 | messages: messages,
386 | model: model,
[62/72] Compiling SwollamaCLI EmbeddingsCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:384:43: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
382 | }
383 |
384 | let stream = try await client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
385 | messages: messages,
386 | model: model,
[63/72] Compiling SwollamaCLI EnhancedChatCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:384:43: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
382 | }
383 |
384 | let stream = try await client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
385 | messages: messages,
386 | model: model,
[64/72] Compiling SwollamaCLI GenerateCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Commands/GenerateCommand.swift:109:47: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
107 | )
108 |
109 | let stream = try await client.generateText(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| |- note: sending 'model' to actor-isolated callee risks causing data races between actor-isolated and local nonisolated uses
| `- note: access can happen concurrently
110 | prompt: input,
111 | model: model,
[65/72] Compiling SwollamaCLI ListModelsCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Commands/GenerateCommand.swift:109:47: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
107 | )
108 |
109 | let stream = try await client.generateText(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| |- note: sending 'model' to actor-isolated callee risks causing data races between actor-isolated and local nonisolated uses
| `- note: access can happen concurrently
110 | prompt: input,
111 | model: model,
[66/72] Compiling SwollamaCLI ListRunningModelsCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/Commands/GenerateCommand.swift:109:47: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
107 | )
108 |
109 | let stream = try await client.generateText(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| |- note: sending 'model' to actor-isolated callee risks causing data races between actor-isolated and local nonisolated uses
| `- note: access can happen concurrently
110 | prompt: input,
111 | model: model,
[67/72] Compiling SwollamaCLI StreamDebugger.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:5:16: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct StreamDebugger {
5 | static var isEnabled = false
| |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | static var logFile: FileHandle?
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:6:16: warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | struct StreamDebugger {
5 | static var isEnabled = false
6 | static var logFile: FileHandle?
| |- warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logFile' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:121:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
118 | }
119 |
120 | class NetworkMonitor {
| `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
121 | static let shared = NetworkMonitor()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | private var requestCount = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:80:18: 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
78 | func monitoredStream() -> AsyncThrowingStream<T, Error> {
79 | AsyncThrowingStream { continuation in
80 | Task {
| `- 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
81 | do {
82 | for try await value in stream {
| `- note: closure captures 'self' which is accessible to code in the current task
83 | chunkCount += 1
84 |
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:99:38: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
97 | }
98 |
99 | 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
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:218:39: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
216 | print("Prompt: \(prompt)")
217 |
218 | let stream = try await client.generateText(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
219 | prompt: prompt,
220 | model: model,
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:241:39: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
239 | print("Messages: \(messages[0].content)")
240 |
241 | let stream = try await client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
242 | messages: messages,
243 | model: model,
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:262:31: 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
260 | await withTaskGroup(of: Void.self) { group in
261 | for i in 1...3 {
262 | 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
263 | do {
264 | let messages = [
:
268 | let stream = try await client.chat(
269 | messages: messages,
270 | model: model,
| `- note: closure captures 'model' which is accessible to code in the current task
271 | options: .default
272 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:268:55: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
266 | ]
267 |
268 | let stream = try await client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
269 | messages: messages,
270 | model: model,
[68/72] Compiling SwollamaCLI SwollamaCLI.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:5:16: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct StreamDebugger {
5 | static var isEnabled = false
| |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | static var logFile: FileHandle?
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:6:16: warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | struct StreamDebugger {
5 | static var isEnabled = false
6 | static var logFile: FileHandle?
| |- warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logFile' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:121:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
118 | }
119 |
120 | class NetworkMonitor {
| `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
121 | static let shared = NetworkMonitor()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | private var requestCount = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:80:18: 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
78 | func monitoredStream() -> AsyncThrowingStream<T, Error> {
79 | AsyncThrowingStream { continuation in
80 | Task {
| `- 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
81 | do {
82 | for try await value in stream {
| `- note: closure captures 'self' which is accessible to code in the current task
83 | chunkCount += 1
84 |
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:99:38: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
97 | }
98 |
99 | 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
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:218:39: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
216 | print("Prompt: \(prompt)")
217 |
218 | let stream = try await client.generateText(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
219 | prompt: prompt,
220 | model: model,
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:241:39: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
239 | print("Messages: \(messages[0].content)")
240 |
241 | let stream = try await client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
242 | messages: messages,
243 | model: model,
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:262:31: 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
260 | await withTaskGroup(of: Void.self) { group in
261 | for i in 1...3 {
262 | 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
263 | do {
264 | let messages = [
:
268 | let stream = try await client.chat(
269 | messages: messages,
270 | model: model,
| `- note: closure captures 'model' which is accessible to code in the current task
271 | options: .default
272 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:268:55: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
266 | ]
267 |
268 | let stream = try await client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
269 | messages: messages,
270 | model: model,
[69/72] Compiling SwollamaCLI CLIError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:5:16: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct StreamDebugger {
5 | static var isEnabled = false
| |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | static var logFile: FileHandle?
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:6:16: warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | struct StreamDebugger {
5 | static var isEnabled = false
6 | static var logFile: FileHandle?
| |- warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logFile' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private static let dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:121:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
118 | }
119 |
120 | class NetworkMonitor {
| `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
121 | static let shared = NetworkMonitor()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 | private var requestCount = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:80:18: 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
78 | func monitoredStream() -> AsyncThrowingStream<T, Error> {
79 | AsyncThrowingStream { continuation in
80 | Task {
| `- 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
81 | do {
82 | for try await value in stream {
| `- note: closure captures 'self' which is accessible to code in the current task
83 | chunkCount += 1
84 |
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:99:38: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
97 | }
98 |
99 | 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
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:218:39: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
216 | print("Prompt: \(prompt)")
217 |
218 | let stream = try await client.generateText(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
219 | prompt: prompt,
220 | model: model,
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:241:39: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
239 | print("Messages: \(messages[0].content)")
240 |
241 | let stream = try await client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
242 | messages: messages,
243 | model: model,
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:262:31: 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
260 | await withTaskGroup(of: Void.self) { group in
261 | for i in 1...3 {
262 | 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
263 | do {
264 | let messages = [
:
268 | let stream = try await client.chat(
269 | messages: messages,
270 | model: model,
| `- note: closure captures 'model' which is accessible to code in the current task
271 | options: .default
272 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:268:55: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
266 | ]
267 |
268 | let stream = try await client.chat(
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
269 | messages: messages,
270 | model: model,
[69/72] Write Objects.LinkFileList
[70/72] Linking SwollamaCLI
[71/72] Applying SwollamaCLI
Build complete! (8.39s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Swollama",
"name" : "Swollama",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "Swollama",
"targets" : [
"Swollama"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwollamaCLI",
"targets" : [
"SwollamaCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwollamaTests",
"module_type" : "SwiftTarget",
"name" : "SwollamaTests",
"path" : "Tests/SwollamaTests",
"sources" : [
"AgentTests.swift",
"ConfigurationTests.swift",
"DigestValidationTests.swift",
"ErrorHandlingTests.swift",
"ModelNameParsingTests.swift",
"NewFeaturesTests.swift",
"RetryLogicTests.swift",
"StreamingBufferTests.swift",
"SwollamaTests.swift"
],
"target_dependencies" : [
"Swollama"
],
"type" : "test"
},
{
"c99name" : "SwollamaCLI",
"module_type" : "SwiftTarget",
"name" : "SwollamaCLI",
"path" : "Sources/SwollamaCLI",
"product_memberships" : [
"SwollamaCLI"
],
"sources" : [
"Commands/AgentCommand.swift",
"Commands/BlobCommand.swift",
"Commands/ChatCommand.swift",
"Commands/CommandProtocol.swift",
"Commands/CopyModelCommand.swift",
"Commands/CreateCommand.swift",
"Commands/DeleteModelCommand.swift",
"Commands/EmbeddingsCommand.swift",
"Commands/EnhancedChatCommand.swift",
"Commands/GenerateCommand.swift",
"Commands/ListModelsCommand.swift",
"Commands/ListRunningModelsCommand.swift",
"Commands/PullModelCommand.swift",
"Commands/PushCommand.swift",
"Commands/ShowModelCommand.swift",
"Commands/TestCommand.swift",
"Commands/VersionCommand.swift",
"EnhancedSwollamaCLI.swift",
"ErrorRecovery.swift",
"InputHandler.swift",
"LinuxSupport.swift",
"StreamDebugger.swift",
"SwollamaCLI.swift",
"Tools/CLIError.swift",
"Tools/ModelFormatter.swift",
"Tools/ProgressTracker.swift",
"Tools/SpeedCalculator.swift",
"Tools/TerminalHelper.swift"
],
"target_dependencies" : [
"Swollama"
],
"type" : "executable"
},
{
"c99name" : "Swollama",
"module_type" : "SwiftTarget",
"name" : "Swollama",
"path" : "Sources/Swollama",
"product_memberships" : [
"Swollama",
"SwollamaCLI"
],
"sources" : [
"Agent/AgentConfiguration.swift",
"Agent/AgentEvent.swift",
"Agent/OllamaAgent.swift",
"ChatOptions.swift",
"EmbeddingOptions.swift",
"GenerationOptions.swift",
"Models/ChatRequest.swift",
"Models/ChatResponse.swift",
"Models/CreateModelRequest.swift",
"Models/EmbeddingRequest.swift",
"Models/EmbeddingResponse.swift",
"Models/GenerateRequest.swift",
"Models/GenerateResponse.swift",
"Models/ModelFamily.swift",
"Models/ModelFormat.swift",
"Models/ModelInformation.swift",
"Models/ModelsResponse.swift",
"Models/OllamaModelName.swift",
"Models/OperationProgress.swift",
"Models/QuantizationLevel.swift",
"Models/RunningModelsResponse.swift",
"Models/ShowModelRequest.swift",
"Models/ToolCall.swift",
"Models/ToolDefinition.swift",
"Models/VersionResponse.swift",
"NetworkingSupport+Streaming.swift",
"NetworkingSupport.swift",
"OllamaClient+Generation.swift",
"OllamaClient+ModelManagement.swift",
"OllamaClient.swift",
"OllamaConfiguration.swift",
"OllamaError.swift",
"OllamaProtocol.swift",
"WebSearch/OllamaWebSearchClient.swift",
"WebSearch/WebSearchModels.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.