Build Information
Failed to build Muharrir, reference v1.0.0 (b89495), with Swift 6.3 for Wasm on 18 Apr 2026 19:14:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alpozcan/yazman.git
Reference: v1.0.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/alpozcan/yazman
* tag v1.0.0 -> FETCH_HEAD
HEAD is now at b89495f Fix CI/release: use Xcode toolchain instead of standalone Swift
Cloned https://github.com/alpozcan/yazman.git
Revision (git rev-parse @):
b89495f71c50d74d2bc1fb27f22ed196c3a5f3b3
SUCCESS checkout https://github.com/alpozcan/yazman.git at v1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/alpozcan/yazman.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/mattt/ollama-swift.git
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/759] Fetching ollama-swift
[578/2201] Fetching ollama-swift, rainbow
[1784/19730] Fetching ollama-swift, rainbow, swift-argument-parser
[1785/25659] Fetching ollama-swift, rainbow, swift-argument-parser, swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.12s)
Fetched https://github.com/mattt/ollama-swift.git from cache (1.52s)
Fetched https://github.com/onevcat/Rainbow.git from cache (1.53s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.57s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.1 (4.83s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.71s)
Computing version for https://github.com/mattt/ollama-swift.git
Computed https://github.com/mattt/ollama-swift.git at 1.8.0 (0.42s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.4 (0.55s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.4
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.2.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/mattt/ollama-swift.git
Working copy of https://github.com/mattt/ollama-swift.git resolved at 1.8.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[8/17] Write swift-version-24593BA9C3E375BF.txt
[10/97] Compiling SwiftSoup DataNode.swift
[11/97] Compiling SwiftSoup DebugTrace.swift
[12/97] Compiling SwiftSoup Comment.swift
[13/97] Compiling SwiftSoup CssSelector.swift
[14/97] Compiling SwiftSoup Attribute.swift
[15/97] Compiling SwiftSoup Attributes.swift
[16/98] Compiling Ollama Tool.swift
[17/99] Emitting module ArgumentParserToolInfo
[18/99] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/100] Wrapping AST for ArgumentParserToolInfo for debugging
[21/146] Compiling ArgumentParser CompletionKind.swift
[22/146] Compiling ArgumentParser Errors.swift
[23/146] Compiling ArgumentParser Parsed.swift
[24/146] Compiling ArgumentParser ParsedValues.swift
[25/146] Compiling ArgumentParser ParserError.swift
[26/146] Compiling ArgumentParser SplitArguments.swift
[27/146] Compiling ArgumentParser ParentCommand.swift
[28/146] Compiling ArgumentParser AsyncParsableCommand.swift
[29/146] Compiling ArgumentParser CommandConfiguration.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/153] Emitting module Ollama
/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:58: error: cannot infer contextual base in reference to member 'default'
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: cannot infer contextual base in reference to member 'default'
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
[31/153] Compiling ArgumentParser BashCompletionsGenerator.swift
/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:58: error: cannot infer contextual base in reference to member 'default'
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: cannot infer contextual base in reference to member 'default'
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
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:72:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
70 | return "Request error: \(detail)"
71 | case .responseError(let response, let detail):
72 | return "Response error (Status \(response.statusCode)): \(detail)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
73 | case .decodingError(let response, let detail):
74 | return "Decoding error (Status \(response.statusCode)): \(detail)"
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:74:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
72 | return "Response error (Status \(response.statusCode)): \(detail)"
73 | case .decodingError(let response, let detail):
74 | return "Decoding error (Status \(response.statusCode)): \(detail)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
75 | case .unexpectedError(let detail):
76 | return "Unexpected error: \(detail)"
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:97:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
95 | ) async throws -> T {
96 | let request = try createRequest(method, path, params: params)
97 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
98 | let httpResponse = try validateResponse(response)
99 |
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:231:22: error: cannot find type 'URLRequest' in scope
229 | #"Unable to construct URL with host "\#(host)" and path "\#(path)""#)
230 | }
231 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
232 | request.httpMethod = method.rawValue
233 |
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:231:35: error: cannot find 'URLRequest' in scope
229 | #"Unable to construct URL with host "\#(host)" and path "\#(path)""#)
230 | }
231 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
232 | request.httpMethod = method.rawValue
233 |
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:248:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
246 |
247 | private func validateResponse(_ response: URLResponse) throws -> HTTPURLResponse {
248 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
249 | throw Error.unexpectedError("Response is not HTTPURLResponse")
250 | }
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
[32/153] Compiling ArgumentParser CompletionsGenerator.swift
/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:58: error: cannot infer contextual base in reference to member 'default'
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: cannot infer contextual base in reference to member 'default'
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
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:72:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
70 | return "Request error: \(detail)"
71 | case .responseError(let response, let detail):
72 | return "Response error (Status \(response.statusCode)): \(detail)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
73 | case .decodingError(let response, let detail):
74 | return "Decoding error (Status \(response.statusCode)): \(detail)"
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:74:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
72 | return "Response error (Status \(response.statusCode)): \(detail)"
73 | case .decodingError(let response, let detail):
74 | return "Decoding error (Status \(response.statusCode)): \(detail)"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
75 | case .unexpectedError(let detail):
76 | return "Unexpected error: \(detail)"
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:97:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
95 | ) async throws -> T {
96 | let request = try createRequest(method, path, params: params)
97 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
98 | let httpResponse = try validateResponse(response)
99 |
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:231:22: error: cannot find type 'URLRequest' in scope
229 | #"Unable to construct URL with host "\#(host)" and path "\#(path)""#)
230 | }
231 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find type 'URLRequest' in scope
232 | request.httpMethod = method.rawValue
233 |
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:231:35: error: cannot find 'URLRequest' in scope
229 | #"Unable to construct URL with host "\#(host)" and path "\#(path)""#)
230 | }
231 | var request: URLRequest = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
232 | request.httpMethod = method.rawValue
233 |
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:248:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
246 |
247 | private func validateResponse(_ response: URLResponse) throws -> HTTPURLResponse {
248 | guard let httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
249 | throw Error.unexpectedError("Response is not HTTPURLResponse")
250 | }
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
[33/153] Compiling Rainbow StyledStringBuilder.swift
[34/153] Emitting module Rainbow
[35/153] Compiling ArgumentParser FishCompletionsGenerator.swift
[36/153] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/153] Compiling ArgumentParser ArgumentHelp.swift
[38/153] Compiling ArgumentParser ArgumentVisibility.swift
[39/153] Compiling ArgumentParser Argument.swift
[40/153] Compiling ArgumentParser ArgumentDiscussion.swift
[43/154] Compiling ArgumentParser Flag.swift
[44/154] Compiling ArgumentParser NameSpecification.swift
[45/154] Compiling ArgumentParser Option.swift
[46/154] Compiling ArgumentParser OptionGroup.swift
[47/154] Compiling ArgumentParser InputOrigin.swift
[48/154] Compiling ArgumentParser Name.swift
[49/154] Compiling ArgumentParser Foundation.swift
[50/154] Compiling ArgumentParser Mutex.swift
[51/154] Compiling ArgumentParser Platform.swift
[52/154] Compiling ArgumentParser SequenceExtensions.swift
[53/154] Compiling ArgumentParser StringExtensions.swift
[54/154] Compiling ArgumentParser SwiftExtensions.swift
[55/154] Compiling SwiftSoup StructuralEvaluator.swift
[57/154] Compiling Ollama Value.swift
[57/154] Wrapping AST for Rainbow for debugging
[59/154] Compiling Ollama JSONDecoder+Extensions.swift
[60/154] Compiling Ollama KeepAlive.swift
[61/154] Compiling Ollama Model.swift
[70/154] Emitting module SwiftSoup
[84/160] Compiling Ollama Data+Extensions.swift
[85/160] Compiling Ollama Embeddings.swift
[86/160] Emitting module ArgumentParser
[87/160] Compiling ArgumentParser CommandGroup.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[88/160] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[89/160] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[90/160] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[91/160] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[92/160] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[93/160] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
[94/160] Compiling ArgumentParser ArgumentSet.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 | init() {
82 | pthread_mutex_init(&mutex, nil)
| `- error: 'nil' requires a contextual type
83 | }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 | deinit {
86 | pthread_mutex_destroy(&mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
87 | }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 | func lock() {
90 | pthread_mutex_lock(&mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 | func unlock() {
94 | pthread_mutex_unlock(&mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
95 | }
96 | #endif
BUILD FAILURE 6.3 wasm