Build Information
Failed to build olleh, reference main (35e941), with Swift 6.4 for Wasm on 23 Sep 2026 02:34:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-2":/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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/olleh.git
Reference: main
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/mattt/olleh
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 35e941d Update FoundationModels usage for macOS 26 GM APIs
Cloned https://github.com/mattt/olleh.git
Revision (git rev-parse @):
35e941dae9562a75833f25cfe6db37f81549a136
SUCCESS checkout https://github.com/mattt/olleh.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/mattt/olleh.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-2":/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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/hummingbird-project/hummingbird
Fetching https://github.com/mattt/bestline-swift
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/mattt/ollama-swift
[1/762] Fetching ollama-swift
[261/8353] Fetching ollama-swift, swift-dependencies
[915/8386] Fetching ollama-swift, swift-dependencies, bestline-swift
[1100/36801] Fetching ollama-swift, swift-dependencies, bestline-swift, hummingbird
Fetched https://github.com/mattt/ollama-swift (0.91s)
[29788/36039] Fetching swift-dependencies, bestline-swift, hummingbird
Fetched https://github.com/pointfreeco/swift-dependencies (0.91s)
[22765/28448] Fetching bestline-swift, hummingbird
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/hummingbird-project/hummingbird (1.25s)
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/mattt/bestline-swift (2.17s)
Fetched https://github.com/apple/swift-argument-parser (0.95s)
Computing version for https://github.com/mattt/bestline-swift
Computed https://github.com/mattt/bestline-swift at 1.0.0 (2.43s)
Computing version for https://github.com/mattt/ollama-swift
Computed https://github.com/mattt/ollama-swift at 1.8.0 (0.31s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.34s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.17.1 (0.35s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/2686] Fetching combine-schedulers
[2607/3744] Fetching combine-schedulers, swift-concurrency-extras
[2920/5190] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks
[3370/11351] Fetching combine-schedulers, swift-concurrency-extras, swift-clocks, swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-concurrency-extras (0.62s)
[5562/10293] Fetching combine-schedulers, swift-clocks, swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-clocks (0.86s)
Fetched https://github.com/pointfreeco/combine-schedulers (0.87s)
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.87s)
[1/80010] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (4.50s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (6.20s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.1.1 (0.31s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.2 (0.34s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8295] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git (0.79s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (2.51s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.4.1 (0.30s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.47s)
Computing version for https://github.com/hummingbird-project/hummingbird
Computed https://github.com/hummingbird-project/hummingbird at 2.27.0 (0.38s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/16065] Fetching swift-nio-ssl
[805/19581] Fetching swift-nio-ssl, swift-metrics
[4537/26271] Fetching swift-nio-ssl, swift-metrics, swift-nio-extras
[4671/29114] Fetching swift-nio-ssl, swift-metrics, swift-nio-extras, swift-service-lifecycle
Fetched https://github.com/apple/swift-metrics.git (0.63s)
[9374/25598] Fetching swift-nio-ssl, swift-nio-extras, swift-service-lifecycle
Fetching https://github.com/apple/swift-log.git
[11784/41795] Fetching swift-nio-ssl, swift-nio-extras, swift-service-lifecycle, async-http-client
[40833/49943] Fetching swift-nio-ssl, swift-nio-extras, swift-service-lifecycle, async-http-client, swift-log
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.27s)
Fetched https://github.com/apple/swift-nio-extras.git (1.28s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/swift-server/async-http-client.git (1.29s)
Fetching https://github.com/apple/swift-configuration.git
Fetched https://github.com/apple/swift-log.git (0.72s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/1935] Fetching swift-http-types
[1936/5714] Fetching swift-http-types, swift-configuration
[3864/8577] Fetching swift-http-types, swift-configuration, swift-nio-transport-services
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/apple/swift-nio-ssl.git (1.87s)
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-configuration.git (0.66s)
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-nio-transport-services.git (0.63s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/86065] Fetching swift-nio
[14633/92385] Fetching swift-nio, swift-distributed-tracing
[26842/94260] Fetching swift-nio, swift-distributed-tracing, swift-atomics
[43071/121946] Fetching swift-nio, swift-distributed-tracing, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-http-types.git (1.37s)
Fetched https://github.com/apple/swift-distributed-tracing.git (0.81s)
Fetching https://github.com/apple/swift-nio-http2.git
[40268/115626] Fetching swift-nio, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git (0.76s)
[57454/113751] Fetching swift-nio, swift-collections
[75661/120474] Fetching swift-nio, swift-collections, swift-async-algorithms
[97238/132726] Fetching swift-nio, swift-collections, swift-async-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-async-algorithms.git (1.26s)
[90637/126003] Fetching swift-nio, swift-collections, swift-nio-http2
Fetched https://github.com/apple/swift-collections.git (1.75s)
[80737/98317] Fetching swift-nio, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git (1.45s)
Fetched https://github.com/apple/swift-nio.git (4.45s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (6.06s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.37s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.28s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (0.44s)
Fetching https://github.com/apple/swift-system
[1/6916] Fetching swift-system
Fetched https://github.com/apple/swift-system (0.73s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (1.26s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1983] Fetching swift-asn1
[557/8128] Fetching swift-asn1, swift-algorithms
Fetched https://github.com/apple/swift-asn1.git (0.48s)
[4179/6145] Fetching swift-algorithms
Fetching https://github.com/apple/swift-http-structured-headers.git
[6146/13720] Fetching swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-certificates.git (0.68s)
[1/1253] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git (1.05s)
Fetched https://github.com/apple/swift-algorithms.git (1.59s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.95s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (1.08s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.32s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.29s)
Fetching https://github.com/apple/swift-service-context.git
[1/1364] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.54s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.82s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.42s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.24s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (0.26s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.39s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.51s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.31s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.31s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.31s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.35s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.1 (0.32s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.34s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.35s)
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.66s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (2.00s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (0.43s)
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/mattt/ollama-swift
Working copy of https://github.com/mattt/ollama-swift resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.4.1
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/mattt/bestline-swift
Working copy of https://github.com/mattt/bestline-swift resolved at 1.0.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.0
Creating working copy for https://github.com/hummingbird-project/hummingbird
Working copy of https://github.com/hummingbird-project/hummingbird resolved at 2.27.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.17.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.2
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
Building for debugging...
[Computing dependencies]
[Provisioning 88 / 89]
[Constructing description]
[Pre-planning 1 / 1705]
[Planning 635 / 1705]
[Planning 1388 / 1705]
[Planning deferred tasks]
[Constructing 473 / 3723]
[Starting]
[1 / 596]
[162 / 596] HTTPTypes
[269 / 602]
[281 / 638] NIOConcurrencyHelpers
[282 / 656] _NIOBase64
[293 / 656] _NIODataStructures
[301 / 656] Logging
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:37:31: [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m35 |[0;0m /// - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
[0;36m36 |[0;0m public init(
[0;36m37 |[0;0m session: URLSession = [4;39mURLSession[0;0m(configuration: .default),
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m38 |[0;0m host: URL,
[0;36m39 |[0;0m userAgent: String? = nil
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:37:31: [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m35 |[0;0m /// - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
[0;36m36 |[0;0m public init(
[0;36m37 |[0;0m session: URLSession = [4;39mURLSession(configuration: .default)[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mdefault argument value of type '_' cannot be converted to type 'AnyObject'[0;0m
[0;36m38 |[0;0m host: URL,
[0;36m39 |[0;0m userAgent: String? = nil
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:28:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m /// The underlying client session.
[0;36m28 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m
[0;36m30 |[0;0m /// Creates a client with the specified session, host, and user agent.
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:37:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m35 |[0;0m /// - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
[0;36m36 |[0;0m public init(
[0;36m37 |[0;0m session: [4;39mURLSession[0;0m = URLSession(configuration: .default),
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m38 |[0;0m host: URL,
[0;36m39 |[0;0m userAgent: String? = nil
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:57:38: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m55 |[0;0m
[0;36m56 |[0;0m /// An error returned by the Ollama HTTP API.
[0;36m57 |[0;0m case responseError(response: [4;39mHTTPURLResponse[0;0m, detail: String)
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m
[0;36m59 |[0;0m /// An error encountered while decoding the response.
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:60:38: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m
[0;36m59 |[0;0m /// An error encountered while decoding the response.
[0;36m60 |[0;0m case decodingError(response: [4;39mHTTPURLResponse[0;0m, detail: String)
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m
[0;36m62 |[0;0m /// An unexpected error.
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:206:17: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m204 |[0;0m _ path: String,
[0;36m205 |[0;0m params: [String: Value]? = nil
[0;36m206 |[0;0m ) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m207 |[0;0m var urlComponents = URLComponents(url: host, resolvingAgainstBaseURL: true)
[0;36m208 |[0;0m urlComponents?.path = path
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:247:47: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m245 |[0;0m }
[0;36m246 |[0;0m
[0;36m247 |[0;0m private func validateResponse(_ response: [4;39mURLResponse[0;0m) throws -> HTTPURLResponse {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m248 |[0;0m guard let httpResponse = response as? HTTPURLResponse else {
[0;36m249 |[0;0m throw Error.unexpectedError("Response is not HTTPURLResponse")
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:247:70: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m245 |[0;0m }
[0;36m246 |[0;0m
[0;36m247 |[0;0m private func validateResponse(_ response: URLResponse) throws -> [4;39mHTTPURLResponse[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m248 |[0;0m guard let httpResponse = response as? HTTPURLResponse else {
[0;36m249 |[0;0m throw Error.unexpectedError("Response is not HTTPURLResponse")
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Chat.swift /host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift /host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Embeddings.swift /host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Extensions/Data+Extensions.swift /host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Extensions/JSONDecoder+Extensions.swift /host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/KeepAlive.swift /host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Model.swift /host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Tool.swift /host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Value.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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 -suppress-warnings -swift-version 6 -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 /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 1.8.0 -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_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Ollama.build/Debug-webassembly-wasm32/Ollama-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Ollama.build/Debug-webassembly-wasm32/Ollama-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Ollama.build/Debug-webassembly-wasm32/Ollama-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Ollama -package-name ollama_swift -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Ollama.build/Debug-webassembly-wasm32/Ollama-t.build/Objects-normal/wasm32/Ollama_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Ollama.build/Debug-webassembly-wasm32/Ollama-t.build/Objects-normal/wasm32/Modules/Ollama.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Ollama.build/Debug-webassembly-wasm32/Ollama-t.build/Objects-normal/wasm32/Modules/Ollama.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Ollama.build/Debug-webassembly-wasm32/Ollama-t.build/Objects-normal/wasm32/Ollama-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Ollama.build/Debug-webassembly-wasm32/Ollama-t.build/Objects-normal/wasm32/Ollama-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Ollama.build/Debug-webassembly-wasm32/Ollama-t.build/Objects-normal/wasm32/Ollama-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Ollama.build/Debug-webassembly-wasm32/Ollama-t.build/Objects-normal/wasm32/Modules/Ollama.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm