Build Information
Failed to build Swollama, reference 4.2.0 (f0d56d), with Swift 6.4 for Android on 26 Sep 2026 09:46:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guitaripod/Swollama.git
Reference: 4.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/guitaripod/Swollama
* tag 4.2.0 -> FETCH_HEAD
HEAD is now at f0d56d5 feat: 4.2.0 — streaming correctness, auth, and Swift 6 readiness
Cloned https://github.com/guitaripod/Swollama.git
Revision (git rev-parse @):
f0d56d5db6bf7126c33f7ffd6c1112ec58385f8b
SUCCESS checkout https://github.com/guitaripod/Swollama.git at 4.2.0
========================================
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-54344844-1":/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
[33 / 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: [1;31merror: [1;39mvalue of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'[0;0m
[0;36m32 |[0;0m
[0;36m33 |[0;0m #if !os(Linux)
[0;36m34 |[0;0m [4;39mconfig[0;0m.[4;39mallowsExpensiveNetworkAccess[0;0m = true
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'URLSessionConfiguration' has no member 'allowsExpensiveNetworkAccess'[0;0m
[0;36m35 |[0;0m config.allowsConstrainedNetworkAccess = true
[0;36m36 |[0;0m config.waitsForConnectivity = false
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:35:20: [1;31merror: [1;39mvalue of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'[0;0m
[0;36m33 |[0;0m #if !os(Linux)
[0;36m34 |[0;0m config.allowsExpensiveNetworkAccess = true
[0;36m35 |[0;0m [4;39mconfig[0;0m.[4;39mallowsConstrainedNetworkAccess[0;0m = true
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'URLSessionConfiguration' has no member 'allowsConstrainedNetworkAccess'[0;0m
[0;36m36 |[0;0m config.waitsForConnectivity = false
[0;36m37 |[0;0m #endif
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:36:20: [1;31merror: [1;39mcannot assign to property: 'waitsForConnectivity' is a get-only property[0;0m
[0;36m34 |[0;0m config.allowsExpensiveNetworkAccess = true
[0;36m35 |[0;0m config.allowsConstrainedNetworkAccess = true
[0;36m36 |[0;0m [4;39mconfig.waitsForConnectivity[0;0m = false
[0;36m|[0;0m `- [1;31merror: [1;39mcannot assign to property: 'waitsForConnectivity' is a get-only property[0;0m
[0;36m37 |[0;0m #endif
[0;36m38 |[0;0m
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:139:20: [1;31merror: [1;39m'NSURLAuthenticationMethodServerTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.[0;0m
[0;36m137 |[0;0m ) {
[0;36m138 |[0;0m if challenge.protectionSpace.authenticationMethod
[0;36m139 |[0;0m == [4;39mNSURLAuthenticationMethodServerTrust[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'NSURLAuthenticationMethodServerTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.[0;0m
[0;36m140 |[0;0m let trust = challenge.protectionSpace.serverTrust
[0;36m141 |[0;0m {
FoundationNetworking.NSURLAuthenticationMethodServerTrust:2:12: [1;39mnote: [1;39m'NSURLAuthenticationMethodServerTrust' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.")
[0;36m2 |[0;0m public let NSURLAuthenticationMethodServerTrust: String
[0;36m|[0;0m `- [1;39mnote: [1;39m'NSURLAuthenticationMethodServerTrust' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:140:55: [1;31merror: [1;39m'serverTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.[0;0m
[0;36m138 |[0;0m if challenge.protectionSpace.authenticationMethod
[0;36m139 |[0;0m == NSURLAuthenticationMethodServerTrust,
[0;36m140 |[0;0m let trust = challenge.protectionSpace.[4;39mserverTrust[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'serverTrust' is unavailable: swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.[0;0m
[0;36m141 |[0;0m {
[0;36m142 |[0;0m completionHandler(.useCredential, URLCredential(trust: trust))
FoundationNetworking.URLProtectionSpace.serverTrust:3:14: [1;39mnote: [1;39m'serverTrust' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m class URLProtectionSpace {
[0;36m2 |[0;0m @available(*, unavailable, message: "swift-corelibs-foundation does not support methods of authentication that rely on the Darwin Security framework.")
[0;36m3 |[0;0m public var serverTrust: Any? { get }}
[0;36m|[0;0m `- [1;39mnote: [1;39m'serverTrust' has been explicitly marked unavailable here[0;0m
[0;36m4 |[0;0m
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:142:64: [1;31merror: [1;39mincorrect argument label in call (have 'trust:', expected 'coder:')[0;0m
[0;36m140 |[0;0m let trust = challenge.protectionSpace.serverTrust
[0;36m141 |[0;0m {
[0;36m142 |[0;0m completionHandler(.useCredential, URLCredential(trust: trust))
[0;36m|[0;0m `- [1;31merror: [1;39mincorrect argument label in call (have 'trust:', expected 'coder:')[0;0m
[0;36m143 |[0;0m } else {
[0;36m144 |[0;0m completionHandler(.performDefaultHandling, nil)
/host/spi-builder-workspace/Sources/Swollama/NetworkingSupport.swift:142:72: [1;31merror: [1;39mcannot convert value of type 'Any' to expected argument type 'NSCoder'[0;0m
[0;36m140 |[0;0m let trust = challenge.protectionSpace.serverTrust
[0;36m141 |[0;0m {
[0;36m142 |[0;0m completionHandler(.useCredential, URLCredential(trust: trust))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type 'Any' to expected argument type 'NSCoder'[0;0m
[0;36m143 |[0;0m } else {
[0;36m144 |[0;0m 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