The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Swollama, reference master (72dc85), with Swift 6.4 for Android on 26 Sep 2026 09:43:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guitaripod/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/guitaripod/Swollama
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 72dc852 docs: refresh README features (auth, Swift 6, platforms)
Cloned https://github.com/guitaripod/Swollama.git
Revision (git rev-parse @):
72dc8524d6531a59aa8e358a0d63644a912ab150
SUCCESS checkout https://github.com/guitaripod/Swollama.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/guitaripod/Swollama.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Planning deferred tasks]
[32 / 44] Swollama
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile NetworkingSupport.swift
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:34:20: error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
 32 |
 33 |         #if !os(Linux)
 34 |             config.allowsExpensiveNetworkAccess = true
    |                    `- error: value of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'
 35 |             config.allowsConstrainedNetworkAccess = true
 36 |             config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:35:20: error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
 33 |         #if !os(Linux)
 34 |             config.allowsExpensiveNetworkAccess = true
 35 |             config.allowsConstrainedNetworkAccess = true
    |                    `- error: value of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'
 36 |             config.waitsForConnectivity = false
 37 |         #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:36:20: error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 34 |             config.allowsExpensiveNetworkAccess = true
 35 |             config.allowsConstrainedNetworkAccess = true
 36 |             config.waitsForConnectivity = false
    |                    `- error: cannot assign to property: 'waitsForConnectivity' is a get-only property
 37 |         #endif
 38 |
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:139:20: error: 'NSURLAuthenticationMethodServerTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.
137 |         ) {
138 |             if challenge.protectionSpace.authenticationMethod
139 |                 == NSURLAuthenticationMethodServerTrust,
    |                    `- error: 'NSURLAuthenticationMethodServerTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.
140 |                 let trust = challenge.protectionSpace.serverTrust
141 |             {
FoundationNetworking.NSURLAuthenticationMethodServerTrust:2:12: note: 'NSURLAuthenticationMethodServerTrust' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.")
2 | public let NSURLAuthenticationMethodServerTrust: String
  |            `- note: 'NSURLAuthenticationMethodServerTrust' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:140:55: error: 'serverTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.
138 |             if challenge.protectionSpace.authenticationMethod
139 |                 == NSURLAuthenticationMethodServerTrust,
140 |                 let trust = challenge.protectionSpace.serverTrust
    |                                                       `- error: 'serverTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.
141 |             {
142 |                 completionHandler(.useCredential, URLCredential(trust: trust))
FoundationNetworking.URLProtectionSpace.serverTrust:3:14: note: 'serverTrust' has been explicitly marked unavailable here
1 | class URLProtectionSpace {
2 | @available(*, unavailable, message: "swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.")
3 |   public var serverTrust: Any? { get }}
  |              `- note: 'serverTrust' has been explicitly marked unavailable here
4 |
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:142:64: error: incorrect argument label in call (have 'trust:', expected 'coder:')
140 |                 let trust = challenge.protectionSpace.serverTrust
141 |             {
142 |                 completionHandler(.useCredential, URLCredential(trust: trust))
    |                                                                `- error: incorrect argument label in call (have 'trust:', expected 'coder:')
143 |             } else {
144 |                 completionHandler(.performDefaultHandling, nil)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:142:72: error: cannot convert value of type 'Any' to expected argument type 'NSCoder'
140 |                 let trust = challenge.protectionSpace.serverTrust
141 |             {
142 |                 completionHandler(.useCredential, URLCredential(trust: trust))
    |                                                                        `- error: cannot convert value of type 'Any' to expected argument type 'NSCoder'
143 |             } else {
144 |                 completionHandler(.performDefaultHandling, nil)
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Swollama/Agent/AgentConfiguration.swift /host/spi-builder-workspace/Sources/Swollama/Agent/AgentEvent.swift /host/spi-builder-workspace/Sources/Swollama/Agent/OllamaAgent.swift /host/spi-builder-workspace/Sources/Swollama/ChatOptions.swift /host/spi-builder-workspace/Sources/Swollama/EmbeddingOptions.swift /host/spi-builder-workspace/Sources/Swollama/GenerationOptions.swift /host/spi-builder-workspace/Sources/Swollama/Models/ChatRequest.swift /host/spi-builder-workspace/Sources/Swollama/Models/ChatResponse.swift /host/spi-builder-workspace/Sources/Swollama/Models/CreateModelRequest.swift /host/spi-builder-workspace/Sources/Swollama/Models/EmbeddingRequest.swift /host/spi-builder-workspace/Sources/Swollama/Models/EmbeddingResponse.swift /host/spi-builder-workspace/Sources/Swollama/Models/GenerateRequest.swift /host/spi-builder-workspace/Sources/Swollama/Models/GenerateResponse.swift /host/spi-builder-workspace/Sources/Swollama/Models/JSONValue.swift /host/spi-builder-workspace/Sources/Swollama/Models/LegacyEmbedding.swift /host/spi-builder-workspace/Sources/Swollama/Models/Logprob.swift /host/spi-builder-workspace/Sources/Swollama/Models/ModelInformation.swift /host/spi-builder-workspace/Sources/Swollama/Models/ModelsResponse.swift /host/spi-builder-workspace/Sources/Swollama/Models/OllamaDate.swift /host/spi-builder-workspace/Sources/Swollama/Models/OllamaModelName.swift /host/spi-builder-workspace/Sources/Swollama/Models/OperationProgress.swift /host/spi-builder-workspace/Sources/Swollama/Models/RunningModelsResponse.swift /host/spi-builder-workspace/Sources/Swollama/Models/ShowModelRequest.swift /host/spi-builder-workspace/Sources/Swollama/Models/ThinkingMode.swift /host/spi-builder-workspace/Sources/Swollama/Models/ToolCall.swift -primary-file /host/spi-builder-workspace/Sources/Swollama/Models/ToolDefinition.swift -primary-file /host/spi-builder-workspace/Sources/Swollama/Models/VersionResponse.swift -primary-file /host/spi-builder-workspace/Sources/Swollama/NetworkingSupport+Streaming.swift -primary-file /host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift -primary-file /host/spi-builder-workspace/Sources/Swollama/OllamaClient+Generation.swift /host/spi-builder-workspace/Sources/Swollama/OllamaClient+ModelManagement.swift /host/spi-builder-workspace/Sources/Swollama/OllamaClient.swift /host/spi-builder-workspace/Sources/Swollama/OllamaConfiguration.swift /host/spi-builder-workspace/Sources/Swollama/OllamaError.swift /host/spi-builder-workspace/Sources/Swollama/OllamaProtocol+Convenience.swift /host/spi-builder-workspace/Sources/Swollama/OllamaProtocol.swift /host/spi-builder-workspace/Sources/Swollama/WebSearch/OllamaWebSearchClient.swift /host/spi-builder-workspace/Sources/Swollama/WebSearch/WebSearchModels.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/Swollama.build/Debug-android-aarch64/Swollama-t.build/Objects-normal/aarch64/supplementaryOutputs-6 -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Swollama.build/Debug-android-aarch64/Swollama-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Swollama.build/Debug-android-aarch64/Swollama-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Swollama.build/Debug-android-aarch64/Swollama-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Swollama -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Swollama.build/Debug-android-aarch64/Swollama-t.build/Objects-normal/aarch64/Swollama_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Swollama.build/Debug-android-aarch64/Swollama-t.build/Objects-normal/aarch64/ToolDefinition.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Swollama.build/Debug-android-aarch64/Swollama-t.build/Objects-normal/aarch64/VersionResponse.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Swollama.build/Debug-android-aarch64/Swollama-t.build/Objects-normal/aarch64/NetworkingSupport+Streaming.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Swollama.build/Debug-android-aarch64/Swollama-t.build/Objects-normal/aarch64/NetworkingSupport.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Swollama.build/Debug-android-aarch64/Swollama-t.build/Objects-normal/aarch64/OllamaClient+Generation.o -index-unit-output-path /Swollama.build/Debug-android-aarch64/Swollama-t.build/Objects-normal/aarch64/ToolDefinition.o -index-unit-output-path /Swollama.build/Debug-android-aarch64/Swollama-t.build/Objects-normal/aarch64/VersionResponse.o -index-unit-output-path /Swollama.build/Debug-android-aarch64/Swollama-t.build/Objects-normal/aarch64/NetworkingSupport+Streaming.o -index-unit-output-path /Swollama.build/Debug-android-aarch64/Swollama-t.build/Objects-normal/aarch64/NetworkingSupport.o -index-unit-output-path /Swollama.build/Debug-android-aarch64/Swollama-t.build/Objects-normal/aarch64/OllamaClient+Generation.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android