Build Information
Failed to build Swollama, reference master (21b4bc
), with Swift 6.1 for Android on 28 Jun 2025 01:36:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marcusziade/Swollama.git
Reference: master
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/marcusziade/Swollama
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 21b4bc7 fix: Remove 'Release' prefix from GitHub release titles
Cloned https://github.com/marcusziade/Swollama.git
Revision (git rev-parse @):
21b4bc72d6dd0ce9e76fa7b91c68215c44f38328
SUCCESS checkout https://github.com/marcusziade/Swollama.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/marcusziade/Swollama.git
https://github.com/marcusziade/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" : [
"NewFeaturesTests.swift",
"SwollamaTests.swift"
],
"target_dependencies" : [
"Swollama"
],
"type" : "test"
},
{
"c99name" : "SwollamaCLI",
"module_type" : "SwiftTarget",
"name" : "SwollamaCLI",
"path" : "Sources/SwollamaCLI",
"product_memberships" : [
"SwollamaCLI"
],
"sources" : [
"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" : [
"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"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SwollamaCLI/README.md
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/35] Emitting module Swollama
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:25: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
2 |
3 | /// Options for chat completion
4 | public struct ChatOptions {
| `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
5 | public let tools: [ToolDefinition]?
6 | public let format: ResponseFormat?
:
23 | }
24 |
25 | 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
26 | }
27 |
/host/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:19: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
2 |
3 | /// Options for embedding generation
4 | public struct EmbeddingOptions {
| `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
5 | public let truncate: Bool?
6 | public let modelOptions: ModelOptions?
:
17 | }
18 |
19 | 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
20 | }
21 |
/host/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:40: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
2 |
3 | /// Options for text generation
4 | public struct GenerationOptions {
| `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
5 | public let suffix: String?
6 | public let images: [String]?
:
38 | }
39 |
40 | 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
41 | }
42 |
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:9:12: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'OllamaConfiguration'; this is an error in the Swift 6 language mode
7 | public actor OllamaClient: OllamaProtocol {
8 | public let baseURL: URL
9 | 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
10 |
11 | private let session: URLSession
/host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:4:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
2 |
3 | /// Configuration options for the Ollama client.
4 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
5 | /// The timeout interval for requests in seconds
6 | public let timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:9: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
7 | public actor OllamaClient: OllamaProtocol {
8 | public let baseURL: URL
9 | 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
10 |
11 | private let session: URLSession
/host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:4:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
2 |
3 | /// Configuration options for the Ollama client.
4 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
5 | /// The timeout interval for requests in seconds
6 | 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 -> ModelInformation {
| `- 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 | let request = ShowModelRequest(model: name.fullName, verbose: verbose)
13 | let data = try await makeRequest(
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:27: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
25 | }
26 |
27 | 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
28 | name: OllamaModelName,
29 | options: PullOptions
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:27: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
25 | }
26 |
27 | 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
28 | name: OllamaModelName,
29 | options: PullOptions
:
160 |
161 | /// Options for pulling models
162 | public struct PullOptions {
| `- note: consider making struct 'PullOptions' conform to the 'Sendable' protocol
163 | /// Whether to allow insecure connections
164 | public let allowInsecure: Bool
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:45: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
43 | }
44 |
45 | 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
46 | name: OllamaModelName,
47 | options: PushOptions
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:45: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
43 | }
44 |
45 | 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
46 | name: OllamaModelName,
47 | options: PushOptions
:
170 |
171 | /// Options for pushing models
172 | public struct PushOptions {
| `- note: consider making struct 'PushOptions' conform to the 'Sendable' protocol
173 | /// Whether to allow insecure connections
174 | public let allowInsecure: Bool
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:68: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
66 | }
67 |
68 | 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
69 | source: OllamaModelName,
70 | destination: OllamaModelName
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:68: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
66 | }
67 |
68 | 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
69 | source: OllamaModelName,
70 | destination: OllamaModelName
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:84: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
82 | }
83 |
84 | 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
85 | let request = DeleteModelRequest(name: name.fullName)
86 | _ = try await makeRequest(
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:42: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
2 |
3 | /// Configuration options for the Ollama client.
4 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
5 | /// The timeout interval for requests in seconds
6 | public let timeoutInterval: TimeInterval
:
40 |
41 | /// The default configuration
42 | 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
43 | }
44 |
[5/38] Compiling Swollama ModelInformation.swift
[6/38] Compiling Swollama ModelsResponse.swift
[7/38] Compiling Swollama OllamaModelName.swift
[8/38] Compiling Swollama OperationProgress.swift
[9/38] Compiling Swollama OllamaConfiguration.swift
/host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:42: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
2 |
3 | /// Configuration options for the Ollama client.
4 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
5 | /// The timeout interval for requests in seconds
6 | public let timeoutInterval: TimeInterval
:
40 |
41 | /// The default configuration
42 | 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
43 | }
44 |
[10/38] Compiling Swollama OllamaError.swift
/host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:42: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
2 |
3 | /// Configuration options for the Ollama client.
4 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
5 | /// The timeout interval for requests in seconds
6 | public let timeoutInterval: TimeInterval
:
40 |
41 | /// The default configuration
42 | 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
43 | }
44 |
[11/38] Compiling Swollama OllamaProtocol.swift
/host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:42: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
2 |
3 | /// Configuration options for the Ollama client.
4 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
5 | /// The timeout interval for requests in seconds
6 | public let timeoutInterval: TimeInterval
:
40 |
41 | /// The default configuration
42 | 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
43 | }
44 |
[12/38] Compiling Swollama ChatOptions.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:25: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
2 |
3 | /// Options for chat completion
4 | public struct ChatOptions {
| `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
5 | public let tools: [ToolDefinition]?
6 | public let format: ResponseFormat?
:
23 | }
24 |
25 | 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
26 | }
27 |
/host/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:19: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
2 |
3 | /// Options for embedding generation
4 | public struct EmbeddingOptions {
| `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
5 | public let truncate: Bool?
6 | public let modelOptions: ModelOptions?
:
17 | }
18 |
19 | 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
20 | }
21 |
/host/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:40: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
2 |
3 | /// Options for text generation
4 | public struct GenerationOptions {
| `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
5 | public let suffix: String?
6 | public let images: [String]?
:
38 | }
39 |
40 | 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
41 | }
42 |
[13/38] Compiling Swollama EmbeddingOptions.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:25: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
2 |
3 | /// Options for chat completion
4 | public struct ChatOptions {
| `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
5 | public let tools: [ToolDefinition]?
6 | public let format: ResponseFormat?
:
23 | }
24 |
25 | 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
26 | }
27 |
/host/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:19: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
2 |
3 | /// Options for embedding generation
4 | public struct EmbeddingOptions {
| `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
5 | public let truncate: Bool?
6 | public let modelOptions: ModelOptions?
:
17 | }
18 |
19 | 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
20 | }
21 |
/host/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:40: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
2 |
3 | /// Options for text generation
4 | public struct GenerationOptions {
| `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
5 | public let suffix: String?
6 | public let images: [String]?
:
38 | }
39 |
40 | 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
41 | }
42 |
[14/38] Compiling Swollama GenerationOptions.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:25: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
2 |
3 | /// Options for chat completion
4 | public struct ChatOptions {
| `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
5 | public let tools: [ToolDefinition]?
6 | public let format: ResponseFormat?
:
23 | }
24 |
25 | 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
26 | }
27 |
/host/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:19: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
2 |
3 | /// Options for embedding generation
4 | public struct EmbeddingOptions {
| `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
5 | public let truncate: Bool?
6 | public let modelOptions: ModelOptions?
:
17 | }
18 |
19 | 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
20 | }
21 |
/host/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:40: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
2 |
3 | /// Options for text generation
4 | public struct GenerationOptions {
| `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
5 | public let suffix: String?
6 | public let images: [String]?
:
38 | }
39 |
40 | 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
41 | }
42 |
[15/38] Compiling Swollama ChatRequest.swift
/host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift:25: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
2 |
3 | /// Options for chat completion
4 | public struct ChatOptions {
| `- note: consider making struct 'ChatOptions' conform to the 'Sendable' protocol
5 | public let tools: [ToolDefinition]?
6 | public let format: ResponseFormat?
:
23 | }
24 |
25 | 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
26 | }
27 |
/host/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift:19: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
2 |
3 | /// Options for embedding generation
4 | public struct EmbeddingOptions {
| `- note: consider making struct 'EmbeddingOptions' conform to the 'Sendable' protocol
5 | public let truncate: Bool?
6 | public let modelOptions: ModelOptions?
:
17 | }
18 |
19 | 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
20 | }
21 |
/host/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift:40: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
2 |
3 | /// Options for text generation
4 | public struct GenerationOptions {
| `- note: consider making struct 'GenerationOptions' conform to the 'Sendable' protocol
5 | public let suffix: String?
6 | public let images: [String]?
:
38 | }
39 |
40 | 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
41 | }
42 |
[16/38] Compiling Swollama QuantizationLevel.swift
[17/38] Compiling Swollama RunningModelsResponse.swift
[18/38] Compiling Swollama ShowModelRequest.swift
[19/38] Compiling Swollama ToolCall.swift
[20/38] Compiling Swollama GenerateRequest.swift
[21/38] Compiling Swollama GenerateResponse.swift
[22/38] Compiling Swollama ModelFamily.swift
[23/38] Compiling Swollama ModelFormat.swift
[24/38] Compiling Swollama ToolDefinition.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:31:16: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
29 |
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:32:16: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
33 | config.waitsForConnectivity = false
34 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:33:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
34 | #endif
35 |
[25/38] Compiling Swollama VersionResponse.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:31:16: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
29 |
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:32:16: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
33 | config.waitsForConnectivity = false
34 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:33:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
34 | #endif
35 |
[26/38] Compiling Swollama NetworkingSupport+Streaming.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:31:16: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
29 |
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:32:16: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
33 | config.waitsForConnectivity = false
34 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:33:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
34 | #endif
35 |
[27/38] Compiling Swollama NetworkingSupport.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:31:16: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
29 |
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:32:16: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
33 | config.waitsForConnectivity = false
34 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:33:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
34 | #endif
35 |
[28/38] Compiling Swollama ChatResponse.swift
[29/38] Compiling Swollama CreateModelRequest.swift
[30/38] Compiling Swollama EmbeddingRequest.swift
[31/38] Compiling Swollama EmbeddingResponse.swift
[32/38] Compiling Swollama OllamaClient+Generation.swift
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:9:12: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'OllamaConfiguration'; this is an error in the Swift 6 language mode
7 | public actor OllamaClient: OllamaProtocol {
8 | public let baseURL: URL
9 | 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
10 |
11 | private let session: URLSession
/host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:4:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
2 |
3 | /// Configuration options for the Ollama client.
4 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
5 | /// The timeout interval for requests in seconds
6 | public let timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:9: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
7 | public actor OllamaClient: OllamaProtocol {
8 | public let baseURL: URL
9 | 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
10 |
11 | private let session: URLSession
/host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:4:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
2 |
3 | /// Configuration options for the Ollama client.
4 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
5 | /// The timeout interval for requests in seconds
6 | 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 -> ModelInformation {
| `- 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 | let request = ShowModelRequest(model: name.fullName, verbose: verbose)
13 | let data = try await makeRequest(
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:27: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
25 | }
26 |
27 | 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
28 | name: OllamaModelName,
29 | options: PullOptions
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:27: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
25 | }
26 |
27 | 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
28 | name: OllamaModelName,
29 | options: PullOptions
:
160 |
161 | /// Options for pulling models
162 | public struct PullOptions {
| `- note: consider making struct 'PullOptions' conform to the 'Sendable' protocol
163 | /// Whether to allow insecure connections
164 | public let allowInsecure: Bool
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:45: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
43 | }
44 |
45 | 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
46 | name: OllamaModelName,
47 | options: PushOptions
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:45: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
43 | }
44 |
45 | 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
46 | name: OllamaModelName,
47 | options: PushOptions
:
170 |
171 | /// Options for pushing models
172 | public struct PushOptions {
| `- note: consider making struct 'PushOptions' conform to the 'Sendable' protocol
173 | /// Whether to allow insecure connections
174 | public let allowInsecure: Bool
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:68: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
66 | }
67 |
68 | 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
69 | source: OllamaModelName,
70 | destination: OllamaModelName
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:68: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
66 | }
67 |
68 | 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
69 | source: OllamaModelName,
70 | destination: OllamaModelName
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:84: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
82 | }
83 |
84 | 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
85 | let request = DeleteModelRequest(name: name.fullName)
86 | _ = try await makeRequest(
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
[33/38] Compiling Swollama OllamaClient+ModelManagement.swift
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:9:12: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'OllamaConfiguration'; this is an error in the Swift 6 language mode
7 | public actor OllamaClient: OllamaProtocol {
8 | public let baseURL: URL
9 | 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
10 |
11 | private let session: URLSession
/host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:4:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
2 |
3 | /// Configuration options for the Ollama client.
4 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
5 | /// The timeout interval for requests in seconds
6 | public let timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:9: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
7 | public actor OllamaClient: OllamaProtocol {
8 | public let baseURL: URL
9 | 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
10 |
11 | private let session: URLSession
/host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:4:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
2 |
3 | /// Configuration options for the Ollama client.
4 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
5 | /// The timeout interval for requests in seconds
6 | 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 -> ModelInformation {
| `- 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 | let request = ShowModelRequest(model: name.fullName, verbose: verbose)
13 | let data = try await makeRequest(
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:27: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
25 | }
26 |
27 | 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
28 | name: OllamaModelName,
29 | options: PullOptions
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:27: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
25 | }
26 |
27 | 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
28 | name: OllamaModelName,
29 | options: PullOptions
:
160 |
161 | /// Options for pulling models
162 | public struct PullOptions {
| `- note: consider making struct 'PullOptions' conform to the 'Sendable' protocol
163 | /// Whether to allow insecure connections
164 | public let allowInsecure: Bool
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:45: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
43 | }
44 |
45 | 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
46 | name: OllamaModelName,
47 | options: PushOptions
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:45: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
43 | }
44 |
45 | 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
46 | name: OllamaModelName,
47 | options: PushOptions
:
170 |
171 | /// Options for pushing models
172 | public struct PushOptions {
| `- note: consider making struct 'PushOptions' conform to the 'Sendable' protocol
173 | /// Whether to allow insecure connections
174 | public let allowInsecure: Bool
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:68: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
66 | }
67 |
68 | 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
69 | source: OllamaModelName,
70 | destination: OllamaModelName
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:68: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
66 | }
67 |
68 | 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
69 | source: OllamaModelName,
70 | destination: OllamaModelName
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:84: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
82 | }
83 |
84 | 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
85 | let request = DeleteModelRequest(name: name.fullName)
86 | _ = try await makeRequest(
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
[34/38] Compiling Swollama OllamaClient.swift
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:9:12: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'OllamaConfiguration'; this is an error in the Swift 6 language mode
7 | public actor OllamaClient: OllamaProtocol {
8 | public let baseURL: URL
9 | 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
10 |
11 | private let session: URLSession
/host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:4:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
2 |
3 | /// Configuration options for the Ollama client.
4 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
5 | /// The timeout interval for requests in seconds
6 | public let timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:9: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
7 | public actor OllamaClient: OllamaProtocol {
8 | public let baseURL: URL
9 | 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
10 |
11 | private let session: URLSession
/host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift:4:15: note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
2 |
3 | /// Configuration options for the Ollama client.
4 | public struct OllamaConfiguration {
| `- note: consider making struct 'OllamaConfiguration' conform to the 'Sendable' protocol
5 | /// The timeout interval for requests in seconds
6 | 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 -> ModelInformation {
| `- 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 | let request = ShowModelRequest(model: name.fullName, verbose: verbose)
13 | let data = try await makeRequest(
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:27: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
25 | }
26 |
27 | 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
28 | name: OllamaModelName,
29 | options: PullOptions
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:27: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
25 | }
26 |
27 | 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
28 | name: OllamaModelName,
29 | options: PullOptions
:
160 |
161 | /// Options for pulling models
162 | public struct PullOptions {
| `- note: consider making struct 'PullOptions' conform to the 'Sendable' protocol
163 | /// Whether to allow insecure connections
164 | public let allowInsecure: Bool
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:45: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
43 | }
44 |
45 | 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
46 | name: OllamaModelName,
47 | options: PushOptions
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:45: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
43 | }
44 |
45 | 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
46 | name: OllamaModelName,
47 | options: PushOptions
:
170 |
171 | /// Options for pushing models
172 | public struct PushOptions {
| `- note: consider making struct 'PushOptions' conform to the 'Sendable' protocol
173 | /// Whether to allow insecure connections
174 | public let allowInsecure: Bool
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:68: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
66 | }
67 |
68 | 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
69 | source: OllamaModelName,
70 | destination: OllamaModelName
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:68: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
66 | }
67 |
68 | 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
69 | source: OllamaModelName,
70 | destination: OllamaModelName
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
/host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift:84: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
82 | }
83 |
84 | 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
85 | let request = DeleteModelRequest(name: name.fullName)
86 | _ = try await makeRequest(
/host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift:4:15: note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
2 |
3 | /// A type-safe representation of an Ollama model name
4 | public struct OllamaModelName {
| `- note: consider making struct 'OllamaModelName' conform to the 'Sendable' protocol
5 | /// The namespace of the model (optional)
6 | public let namespace: String?
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SwollamaCLI/README.md
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/33] Compiling Swollama ToolDefinition.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:31:16: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
29 |
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:32:16: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
33 | config.waitsForConnectivity = false
34 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:33:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
34 | #endif
35 |
[3/33] Compiling Swollama VersionResponse.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:31:16: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
29 |
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:32:16: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
33 | config.waitsForConnectivity = false
34 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:33:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
34 | #endif
35 |
[4/33] Compiling Swollama NetworkingSupport+Streaming.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:31:16: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
29 |
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:32:16: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
33 | config.waitsForConnectivity = false
34 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:33:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
34 | #endif
35 |
[5/33] Compiling Swollama NetworkingSupport.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:31:16: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
29 |
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:32:16: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
30 | #if !os(Linux)
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
| `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
33 | config.waitsForConnectivity = false
34 | #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:33:16: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
31 | config.allowsExpensiveNetworkAccess = true
32 | config.allowsConstrainedNetworkAccess = true
33 | config.waitsForConnectivity = false
| `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
34 | #endif
35 |
[6/36] Emitting module Swollama
[7/36] Compiling Swollama ChatOptions.swift
[8/36] Compiling Swollama EmbeddingOptions.swift
[9/36] Compiling Swollama GenerationOptions.swift
[10/36] Compiling Swollama ChatRequest.swift
[11/36] Compiling Swollama OllamaConfiguration.swift
[12/36] Compiling Swollama OllamaError.swift
[13/36] Compiling Swollama OllamaProtocol.swift
[14/36] Compiling Swollama ModelInformation.swift
[15/36] Compiling Swollama ModelsResponse.swift
[16/36] Compiling Swollama OllamaModelName.swift
[17/36] Compiling Swollama OperationProgress.swift
[18/36] Compiling Swollama ChatResponse.swift
[19/36] Compiling Swollama CreateModelRequest.swift
[20/36] Compiling Swollama EmbeddingRequest.swift
[21/36] Compiling Swollama EmbeddingResponse.swift
[22/36] Compiling Swollama GenerateRequest.swift
[23/36] Compiling Swollama GenerateResponse.swift
[24/36] Compiling Swollama ModelFamily.swift
[25/36] Compiling Swollama ModelFormat.swift
[26/36] Compiling Swollama QuantizationLevel.swift
[27/36] Compiling Swollama RunningModelsResponse.swift
[28/36] Compiling Swollama ShowModelRequest.swift
[29/36] Compiling Swollama ToolCall.swift
[30/36] Compiling Swollama OllamaClient+Generation.swift
[31/36] Compiling Swollama OllamaClient+ModelManagement.swift
[32/36] Compiling Swollama OllamaClient.swift
BUILD FAILURE 6.1 android