Build Information
Failed to build Swollama, reference 3.0.1 (1eada8), with Swift 6.1 for Android on 1 Oct 2025 21:52:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build 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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/guitaripod/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: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/guitaripod/Swollama.git
https://github.com/guitaripod/Swollama.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Swollama",
"name" : "Swollama",
"path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/39] Emitting module Swollama
/host/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 |
/host/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 |
/host/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 |
/host/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
/host/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
/host/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
/host/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
/host/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 | {
/host/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?
/host/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
/host/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?
/host/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
/host/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
/host/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?
/host/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
/host/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
/host/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?
/host/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
/host/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?
/host/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(
/host/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?
/host/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 |
[5/43] Compiling Swollama EmbeddingResponse.swift
[6/43] Compiling Swollama GenerateRequest.swift
[7/43] Compiling Swollama GenerateResponse.swift
[8/43] Compiling Swollama ModelFamily.swift
[9/43] Compiling Swollama ModelFormat.swift
[10/43] Compiling Swollama AgentConfiguration.swift
/host/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 |
/host/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 |
/host/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: [
/host/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,
[11/43] Compiling Swollama AgentEvent.swift
/host/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 |
/host/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 |
/host/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: [
/host/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,
[12/43] Compiling Swollama OllamaAgent.swift
/host/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 |
/host/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 |
/host/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: [
/host/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,
[13/43] Compiling Swollama ChatOptions.swift
/host/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 |
/host/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 |
/host/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: [
/host/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,
[14/43] Compiling Swollama EmbeddingOptions.swift
/host/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 |
/host/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 |
/host/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: [
/host/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,
[15/43] Compiling Swollama GenerationOptions.swift
/host/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 |
[16/43] Compiling Swollama ChatRequest.swift
/host/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 |
[17/43] Compiling Swollama ChatResponse.swift
/host/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 |
[18/43] Compiling Swollama CreateModelRequest.swift
/host/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 |
[19/43] Compiling Swollama EmbeddingRequest.swift
/host/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 |
[20/43] Compiling Swollama ModelInformation.swift
[21/43] Compiling Swollama ModelsResponse.swift
[22/43] Compiling Swollama OllamaModelName.swift
[23/43] Compiling Swollama OperationProgress.swift
[24/43] Compiling Swollama OllamaClient+Generation.swift
/host/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
/host/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
/host/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
/host/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
/host/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 | {
/host/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?
/host/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
/host/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?
/host/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
/host/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
/host/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?
/host/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
/host/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
/host/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?
/host/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
/host/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?
/host/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(
/host/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?
/host/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 |
[25/43] Compiling Swollama OllamaClient+ModelManagement.swift
/host/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
/host/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
/host/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
/host/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
/host/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 | {
/host/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?
/host/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
/host/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?
/host/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
/host/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
/host/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?
/host/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
/host/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
/host/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?
/host/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
/host/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?
/host/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(
/host/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?
/host/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 |
[26/43] Compiling Swollama OllamaClient.swift
/host/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
/host/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
/host/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
/host/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
/host/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 | {
/host/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?
/host/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
/host/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?
/host/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
/host/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
/host/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?
/host/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
/host/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
/host/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?
/host/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
/host/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?
/host/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(
/host/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?
/host/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 |
[27/43] Compiling Swollama OllamaConfiguration.swift
/host/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
/host/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
/host/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
/host/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
/host/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 | {
/host/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?
/host/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
/host/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?
/host/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
/host/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
/host/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?
/host/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
/host/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
/host/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?
/host/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
/host/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?
/host/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(
/host/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?
/host/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 |
[28/43] Compiling Swollama QuantizationLevel.swift
[29/43] Compiling Swollama RunningModelsResponse.swift
[30/43] Compiling Swollama ShowModelRequest.swift
[31/43] Compiling Swollama ToolCall.swift
[32/43] Compiling Swollama ToolDefinition.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:22:20: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
20 |
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:23:20: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
24 | config.waitsForConnectivity = false
25 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:24:20: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 |
[33/43] Compiling Swollama VersionResponse.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:22:20: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
20 |
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:23:20: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
24 | config.waitsForConnectivity = false
25 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:24:20: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 |
[34/43] Compiling Swollama NetworkingSupport+Streaming.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:22:20: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
20 |
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:23:20: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
24 | config.waitsForConnectivity = false
25 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:24:20: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 |
[35/43] Compiling Swollama NetworkingSupport.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:22:20: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
20 |
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:23:20: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
24 | config.waitsForConnectivity = false
25 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:24:20: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 |
[36/43] Compiling Swollama OllamaError.swift
[37/43] Compiling Swollama OllamaProtocol.swift
[38/43] Compiling Swollama OllamaWebSearchClient.swift
[39/43] Compiling Swollama WebSearchModels.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/37] Emitting module Swollama
[3/41] Compiling Swollama QuantizationLevel.swift
[4/41] Compiling Swollama RunningModelsResponse.swift
[5/41] Compiling Swollama ShowModelRequest.swift
[6/41] Compiling Swollama ToolCall.swift
[7/41] Compiling Swollama ToolDefinition.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:22:20: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
20 |
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:23:20: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
24 | config.waitsForConnectivity = false
25 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:24:20: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 |
[8/41] Compiling Swollama VersionResponse.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:22:20: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
20 |
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:23:20: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
24 | config.waitsForConnectivity = false
25 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:24:20: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 |
[9/41] Compiling Swollama NetworkingSupport+Streaming.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:22:20: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
20 |
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:23:20: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
24 | config.waitsForConnectivity = false
25 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:24:20: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 |
[10/41] Compiling Swollama NetworkingSupport.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:22:20: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
20 |
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:23:20: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
21 | #if !os(Linux)
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
24 | config.waitsForConnectivity = false
25 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:24:20: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
22 | config.allowsExpensiveNetworkAccess = true
23 | config.allowsConstrainedNetworkAccess = true
24 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
25 | #endif
26 |
[11/41] Compiling Swollama AgentConfiguration.swift
[12/41] Compiling Swollama AgentEvent.swift
[13/41] Compiling Swollama OllamaAgent.swift
[14/41] Compiling Swollama ChatOptions.swift
[15/41] Compiling Swollama EmbeddingOptions.swift
[16/41] Compiling Swollama EmbeddingResponse.swift
[17/41] Compiling Swollama GenerateRequest.swift
[18/41] Compiling Swollama GenerateResponse.swift
[19/41] Compiling Swollama ModelFamily.swift
[20/41] Compiling Swollama ModelFormat.swift
[21/41] Compiling Swollama ModelInformation.swift
[22/41] Compiling Swollama ModelsResponse.swift
[23/41] Compiling Swollama OllamaModelName.swift
[24/41] Compiling Swollama OperationProgress.swift
[25/41] Compiling Swollama OllamaClient+Generation.swift
[26/41] Compiling Swollama OllamaClient+ModelManagement.swift
[27/41] Compiling Swollama OllamaClient.swift
[28/41] Compiling Swollama OllamaConfiguration.swift
[29/41] Compiling Swollama GenerationOptions.swift
[30/41] Compiling Swollama ChatRequest.swift
[31/41] Compiling Swollama ChatResponse.swift
[32/41] Compiling Swollama CreateModelRequest.swift
[33/41] Compiling Swollama EmbeddingRequest.swift
[34/41] Compiling Swollama OllamaError.swift
[35/41] Compiling Swollama OllamaProtocol.swift
[36/41] Compiling Swollama OllamaWebSearchClient.swift
[37/41] Compiling Swollama WebSearchModels.swift
BUILD FAILURE 6.1 android