The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Swollama, reference master (21b4bc), with Swift 6.2 (beta) for Android on 28 Jun 2025 01:36:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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.2
Building package at path:  $PWD
https://github.com/marcusziade/Swollama.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-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-8C5A4AE7A8CE2BA.txt
[4/35] Emitting module Swollama
[5/38] Compiling Swollama OllamaConfiguration.swift
[6/38] Compiling Swollama OllamaError.swift
[7/38] Compiling Swollama OllamaProtocol.swift
[8/38] Compiling Swollama QuantizationLevel.swift
[9/38] Compiling Swollama RunningModelsResponse.swift
[10/38] Compiling Swollama ShowModelRequest.swift
[11/38] Compiling Swollama ToolCall.swift
[12/38] Compiling Swollama ChatResponse.swift
[13/38] Compiling Swollama CreateModelRequest.swift
[14/38] Compiling Swollama EmbeddingRequest.swift
[15/38] Compiling Swollama EmbeddingResponse.swift
[16/38] Compiling Swollama GenerateRequest.swift
[17/38] Compiling Swollama GenerateResponse.swift
[18/38] Compiling Swollama ModelFamily.swift
[19/38] Compiling Swollama ModelFormat.swift
[20/38] Compiling Swollama ModelInformation.swift
[21/38] Compiling Swollama ModelsResponse.swift
[22/38] Compiling Swollama OllamaModelName.swift
[23/38] Compiling Swollama OperationProgress.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 OllamaClient+Generation.swift
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:134:63: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
132 |                             let lineData = buffer[..<newlineIndex]
133 |                             if !lineData.isEmpty {
134 |                                 if let decoded = try? decoder.decode(T.self, from: lineData) {
    |                                                               `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
135 |                                     continuation.yield(decoded)
136 |                                 }
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:105:31: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 |         as type: T.Type
104 |     ) -> AsyncThrowingStream<T, Error> {
105 |         AsyncThrowingStream { continuation in
    |                               `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 |             let task = Task {
107 |                 do {
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:156:42: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
154 |             }
155 |
156 |             continuation.onTermination = { @Sendable _ in
    |                                          `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
157 |                 task.cancel()
158 |             }
[29/38] Compiling Swollama OllamaClient+ModelManagement.swift
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:134:63: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
132 |                             let lineData = buffer[..<newlineIndex]
133 |                             if !lineData.isEmpty {
134 |                                 if let decoded = try? decoder.decode(T.self, from: lineData) {
    |                                                               `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
135 |                                     continuation.yield(decoded)
136 |                                 }
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:105:31: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 |         as type: T.Type
104 |     ) -> AsyncThrowingStream<T, Error> {
105 |         AsyncThrowingStream { continuation in
    |                               `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 |             let task = Task {
107 |                 do {
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:156:42: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
154 |             }
155 |
156 |             continuation.onTermination = { @Sendable _ in
    |                                          `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
157 |                 task.cancel()
158 |             }
[30/38] Compiling Swollama OllamaClient.swift
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:134:63: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
132 |                             let lineData = buffer[..<newlineIndex]
133 |                             if !lineData.isEmpty {
134 |                                 if let decoded = try? decoder.decode(T.self, from: lineData) {
    |                                                               `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
135 |                                     continuation.yield(decoded)
136 |                                 }
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:105:31: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 |         as type: T.Type
104 |     ) -> AsyncThrowingStream<T, Error> {
105 |         AsyncThrowingStream { continuation in
    |                               `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 |             let task = Task {
107 |                 do {
/host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift:156:42: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
154 |             }
155 |
156 |             continuation.onTermination = { @Sendable _ in
    |                                          `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
157 |                 task.cancel()
158 |             }
[31/38] Compiling Swollama ChatOptions.swift
[32/38] Compiling Swollama EmbeddingOptions.swift
[33/38] Compiling Swollama GenerationOptions.swift
[34/38] Compiling Swollama ChatRequest.swift
BUILD FAILURE 6.2 android