The Swift Package Index logo.Swift Package Index

Build Information

Failed to build olleh, reference main (5b7d63), with Swift 6.4 for Wasm on 29 Oct 2026 01:22:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
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 5b7d63c Add version endpoint (#23)
Cloned https://github.com/mattt/olleh.git
Revision (git rev-parse @):
5b7d63cd21ead06fe34847e45fcfe5f31a08e9c5
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-54344844-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/mattt/ollama-swift
Fetching https://github.com/mattt/bestline-swift
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/hummingbird-project/hummingbird
[1/33] Fetching bestline-swift
Fetched https://github.com/mattt/bestline-swift (0.35s)
[1/788] Fetching ollama-swift
[96/8460] Fetching ollama-swift, swift-dependencies
Fetched https://github.com/mattt/ollama-swift (0.41s)
[921/7672] Fetching swift-dependencies
Fetched https://github.com/pointfreeco/swift-dependencies (0.52s)
[1/28999] Fetching hummingbird
[2/48312] Fetching hummingbird, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.85s)
Fetched https://github.com/hummingbird-project/hummingbird (0.99s)
Computing version for https://github.com/mattt/bestline-swift
Computed https://github.com/mattt/bestline-swift at 1.0.0 (1.13s)
Computing version for https://github.com/mattt/ollama-swift
Computed https://github.com/mattt/ollama-swift at 1.9.0 (0.13s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.17.1 (0.18s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-issue-reporting
Fetching https://github.com/pointfreeco/swift-clocks
[1/1118] Fetching swift-concurrency-extras
[449/3808] Fetching swift-concurrency-extras, combine-schedulers
[1573/5518] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks
Fetched https://github.com/pointfreeco/swift-concurrency-extras (0.39s)
[2019/4400] Fetching combine-schedulers, swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks (0.45s)
[1/6180] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.74s)
[1/81292] Fetching swift-syntax
Fetched https://github.com/pointfreeco/combine-schedulers (3.49s)
Fetched https://github.com/swiftlang/swift-syntax (3.51s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.2 (4.59s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.1.1 (0.26s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.2 (0.27s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8306] Fetching opencombine
Computing version for https://github.com/OpenCombine/OpenCombine.git
Fetched https://github.com/OpenCombine/OpenCombine.git (0.78s)
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (2.31s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.4.3 (0.31s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.46s)
Computing version for https://github.com/hummingbird-project/hummingbird
Computed https://github.com/hummingbird-project/hummingbird at 2.28.0 (0.39s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/16894] Fetching swift-nio-ssl
[2/19761] Fetching swift-nio-ssl, swift-nio-transport-services
[3544/26471] Fetching swift-nio-ssl, swift-nio-transport-services, swift-nio-extras
[3545/38790] Fetching swift-nio-ssl, swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[10831/41676] Fetching swift-nio-ssl, swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.78s)
[15776/38790] Fetching swift-nio-ssl, swift-nio-transport-services, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-transport-services.git (0.78s)
[13155/35923] Fetching swift-nio-ssl, swift-nio-extras, swift-nio-http2
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-metrics.git
[35924/39538] Fetching swift-nio-ssl, swift-nio-extras, swift-nio-http2, swift-metrics
[38238/56055] Fetching swift-nio-ssl, swift-nio-extras, swift-nio-http2, swift-metrics, async-http-client
Fetched https://github.com/apple/swift-metrics.git (0.65s)
[39392/52440] Fetching swift-nio-ssl, swift-nio-extras, swift-nio-http2, async-http-client
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-nio-http2.git (1.56s)
[39130/40121] Fetching swift-nio-ssl, swift-nio-extras, async-http-client
Fetching https://github.com/apple/swift-configuration.git
[40122/42082] Fetching swift-nio-ssl, swift-nio-extras, async-http-client, swift-http-types
[42083/128769] Fetching swift-nio-ssl, swift-nio-extras, async-http-client, swift-http-types, swift-nio
[42084/132943] Fetching swift-nio-ssl, swift-nio-extras, async-http-client, swift-http-types, swift-nio, swift-configuration
Fetched https://github.com/apple/swift-http-types.git (0.58s)
[41197/130982] Fetching swift-nio-ssl, swift-nio-extras, async-http-client, swift-nio, swift-configuration
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-configuration.git (0.68s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[45323/126808] Fetching swift-nio-ssl, swift-nio-extras, async-http-client, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git (2.36s)
[42080/120098] Fetching swift-nio-ssl, async-http-client, swift-nio
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/swift-server/async-http-client.git (2.37s)
Fetching https://github.com/apple/swift-async-algorithms.git
[26430/103581] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git (2.39s)
[10403/86687] Fetching swift-nio
Fetching https://github.com/apple/swift-atomics.git
[51147/116049] Fetching swift-nio, swift-collections
[55509/124430] Fetching swift-nio, swift-collections, swift-log
[55593/131127] Fetching swift-nio, swift-collections, swift-log, swift-distributed-tracing
[61097/133020] Fetching swift-nio, swift-collections, swift-log, swift-distributed-tracing, swift-atomics
[72735/139845] Fetching swift-nio, swift-collections, swift-log, swift-distributed-tracing, swift-atomics, swift-async-algorithms
Fetched https://github.com/apple/swift-distributed-tracing.git (0.86s)
Fetched https://github.com/apple/swift-log.git (0.74s)
[74434/124767] Fetching swift-nio, swift-collections, swift-atomics, swift-async-algorithms
Fetched https://github.com/apple/swift-atomics.git (0.73s)
[74596/122874] Fetching swift-nio, swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.79s)
[68945/116049] Fetching swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git (1.93s)
Fetched https://github.com/apple/swift-nio.git (5.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 (6.58s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.30s)
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.32s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.3 (0.29s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.53s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
[1/1284] Fetching swift-http-structured-headers
[53/3335] Fetching swift-http-structured-headers, swift-asn1
[169/9494] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms
[7278/17101] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git (0.52s)
[7976/15050] Fetching swift-http-structured-headers, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git (0.74s)
Fetched https://github.com/apple/swift-certificates.git (0.75s)
Fetched https://github.com/apple/swift-algorithms.git (0.75s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.09s)
Fetching https://github.com/apple/swift-numerics.git
[1/6766] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.65s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.95s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.13.0 (0.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.31s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.35s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.47s)
Fetching https://github.com/apple/swift-system.git
[1/7394] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.83s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.4.0 (1.21s)
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/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.29s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.28s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.35s)
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.33s)
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.2 (0.35s)
Fetching https://github.com/apple/swift-service-context.git
[1/1546] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.46s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.63s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.23s)
Fetching https://github.com/apple/swift-crypto.git
[1/18859] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.29s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.56s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.3 (0.31s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
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.5.1
Creating working copy for https://github.com/hummingbird-project/hummingbird
Working copy of https://github.com/hummingbird-project/hummingbird resolved at 2.28.0
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.7
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.7.3
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.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
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-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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
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-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.13.0
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.1
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.3
Creating working copy for https://github.com/mattt/ollama-swift
Working copy of https://github.com/mattt/ollama-swift resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
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.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.2
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/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.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.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.4.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-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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.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/mattt/bestline-swift
Working copy of https://github.com/mattt/bestline-swift resolved at 1.0.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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/604.0.0/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/604.0.0/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.29s)
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1705]
[Planning 1358 / 1705]
[Planning deferred tasks]
[Writing build description]
[200 / 596] CombineSchedulers
[279 / 634] Ollama
[281 / 652] SystemPackage
[281 / 652] _NIODataStructures
[297 / 652] _NIODataStructures
[305 / 652] SystemPackage
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: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
  35 |     ///   - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
  36 |     public init(
  37 |         session: URLSession = URLSession(configuration: .default),
     |                               `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
  38 |         host: URL,
  39 |         userAgent: String? = nil
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:37:31: error: default argument value of type '_' cannot be converted to type 'AnyObject'
  35 |     ///   - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
  36 |     public init(
  37 |         session: URLSession = URLSession(configuration: .default),
     |                               `- error: default argument value of type '_' cannot be converted to type 'AnyObject'
  38 |         host: URL,
  39 |         userAgent: String? = nil
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:28:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  26 |
  27 |     /// The underlying client session.
  28 |     private let session: URLSession
     |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  29 |
  30 |     /// Creates a client with the specified session, host, and user agent.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:37:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  35 |     ///   - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
  36 |     public init(
  37 |         session: URLSession = URLSession(configuration: .default),
     |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  38 |         host: URL,
  39 |         userAgent: String? = nil
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:57:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  55 |
  56 |         /// An error returned by the Ollama HTTP API.
  57 |         case responseError(response: HTTPURLResponse, detail: String)
     |                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  58 |
  59 |         /// An error encountered while decoding the response.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:60:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  58 |
  59 |         /// An error encountered while decoding the response.
  60 |         case decodingError(response: HTTPURLResponse, detail: String)
     |                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  61 |
  62 |         /// An unexpected error.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:206:17: error: cannot find type 'URLRequest' in scope
 204 |         _ path: String,
 205 |         params: [String: Value]? = nil
 206 |     ) throws -> URLRequest {
     |                 `- error: cannot find type 'URLRequest' in scope
 207 |         var urlComponents = URLComponents(url: host, resolvingAgainstBaseURL: true)
 208 |         urlComponents?.path = path
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:247:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 245 |     }
 246 |
 247 |     private func validateResponse(_ response: URLResponse) throws -> HTTPURLResponse {
     |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 248 |         guard let httpResponse = response as? HTTPURLResponse else {
 249 |             throw Error.unexpectedError("Response is not HTTPURLResponse")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:247:70: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 245 |     }
 246 |
 247 |     private func validateResponse(_ response: URLResponse) throws -> HTTPURLResponse {
     |                                                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 248 |         guard let httpResponse = response as? HTTPURLResponse else {
 249 |             throw Error.unexpectedError("Response is not HTTPURLResponse")
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
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/SystemOne.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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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.9.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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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