The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Likyly, reference v1.0.1 (8103ea), with Swift 6.3 for Wasm on 12 Nov 2026 06:49:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Likyly/likyly-swift.git
Reference: v1.0.1
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/Likyly/likyly-swift
 * tag               v1.0.1     -> FETCH_HEAD
HEAD is now at 8103ead swift 1.0.1 (Likyly/sdks@218fbdd)
Cloned https://github.com/Likyly/likyly-swift.git
Revision (git rev-parse @):
8103ead92e25476dba1c361280491a8e1b79429e
SUCCESS checkout https://github.com/Likyly/likyly-swift.git at v1.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Likyly/likyly-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:404d9f92dde919fe554c9d5fda9b03708bc2858ae850b6a992d65e289f55b404
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling Likyly Session.swift
[4/13] Compiling Likyly Likyly.swift
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:6:26: error: cannot find type 'URLRequest' in scope
  4 | /// tests, proxies or tracing.
  5 | public protocol LikylyTransport: Sendable {
  6 |     func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
    |                          `- error: cannot find type 'URLRequest' in scope
  7 | }
  8 |
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:12:40: error: value of type '_' expected to be instance of class or class-constrained type
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
 12 |     public init(session: URLSession = .shared) { self.session = session }
    |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:12:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
 12 |     public init(session: URLSession = .shared) { self.session = session }
    |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
[5/13] Compiling Likyly Placements.swift
[6/13] Compiling Likyly Recommendations.swift
[7/13] Compiling Likyly JSONValue.swift
/host/spi-builder-workspace/Sources/Likyly/JSONValue.swift:37:16: error: cannot find 'CFGetTypeID' in scope
35 |         case let s as String: self = .string(s)
36 |         case let n as NSNumber:
37 |             if CFGetTypeID(n) == CFBooleanGetTypeID() { self = .bool(n.boolValue) } else { self = .number(n.doubleValue) }
   |                `- error: cannot find 'CFGetTypeID' in scope
38 |         case let a as [Any]: self = .array(a.map(JSONValue.init(foundation:)))
39 |         case let o as [String: Any]: self = .object(o.mapValues(JSONValue.init(foundation:)))
/host/spi-builder-workspace/Sources/Likyly/JSONValue.swift:37:34: error: cannot find 'CFBooleanGetTypeID' in scope
35 |         case let s as String: self = .string(s)
36 |         case let n as NSNumber:
37 |             if CFGetTypeID(n) == CFBooleanGetTypeID() { self = .bool(n.boolValue) } else { self = .number(n.doubleValue) }
   |                                  `- error: cannot find 'CFBooleanGetTypeID' in scope
38 |         case let a as [Any]: self = .array(a.map(JSONValue.init(foundation:)))
39 |         case let o as [String: Any]: self = .object(o.mapValues(JSONValue.init(foundation:)))
[8/13] Compiling Likyly Events.swift
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:6:26: error: cannot find type 'URLRequest' in scope
  4 | /// tests, proxies or tracing.
  5 | public protocol LikylyTransport: Sendable {
  6 |     func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
    |                          `- error: cannot find type 'URLRequest' in scope
  7 | }
  8 |
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:6:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  4 | /// tests, proxies or tracing.
  5 | public protocol LikylyTransport: Sendable {
  6 |     func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  7 | }
  8 |
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/Sources/Likyly/HTTP.swift:11:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 | /// The default transport, on `URLSession`.
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     public init(session: URLSession = .shared) { self.session = session }
 13 |
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/Sources/Likyly/HTTP.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
 12 |     public init(session: URLSession = .shared) { self.session = session }
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
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/Sources/Likyly/HTTP.swift:12:40: error: value of type '_' expected to be instance of class or class-constrained type
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
 12 |     public init(session: URLSession = .shared) { self.session = session }
    |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:12:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
 12 |     public init(session: URLSession = .shared) { self.session = session }
    |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:14:33: error: cannot find type 'URLRequest' in scope
 12 |     public init(session: URLSession = .shared) { self.session = session }
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                 `- error: cannot find type 'URLRequest' in scope
 15 |         let (data, response) = try await session.data(for: request)
 16 |         guard let http = response as? HTTPURLResponse else { throw URLError(.badServerResponse) }
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:14:68: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     public init(session: URLSession = .shared) { self.session = session }
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 |         let (data, response) = try await session.data(for: request)
 16 |         guard let http = response as? HTTPURLResponse else { throw URLError(.badServerResponse) }
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/Sources/Likyly/HTTP.swift:11:17: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'; this is an error in the Swift 6 language mode
  9 | /// The default transport, on `URLSession`.
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
    |                 `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'; this is an error in the Swift 6 language mode
 12 |     public init(session: URLSession = .shared) { self.session = session }
 13 |
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:15:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
 15 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 16 |         guard let http = response as? HTTPURLResponse else { throw URLError(.badServerResponse) }
 17 |         return (data, http)
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:140:23: error: cannot find 'URLRequest' in scope
138 |
139 |     private func once(_ method: String, _ url: URL, _ payload: Data?, _ timeout: TimeInterval) async throws -> Response {
140 |         var request = URLRequest(url: url, timeoutInterval: timeout)
    |                       `- error: cannot find 'URLRequest' in scope
141 |         request.httpMethod = method
142 |         request.setValue(apiKey, forHTTPHeaderField: "X-API-Key")
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:151:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 |
150 |         let data: Data
151 |         let response: HTTPURLResponse
    |                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 |         do {
153 |             (data, response) = try await transport.send(request)
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/Sources/Likyly/HTTP.swift:167:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
165 |         }
166 |
167 |         guard response.statusCode >= 400 else { return Response(data: data) }
    |                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
168 |         var body: JSONValue?
169 |         if !data.isEmpty {
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:176:34: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
174 |             }
175 |         }
176 |         var requestId = response.value(forHTTPHeaderField: "X-Request-ID")
    |                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
177 |         if requestId == nil || requestId == "", case .string(let id)? = body?["request_id"] { requestId = id }
178 |         let retryAfter = Self.parseRetryAfter(response.value(forHTTPHeaderField: "Retry-After"))
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:178:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
176 |         var requestId = response.value(forHTTPHeaderField: "X-Request-ID")
177 |         if requestId == nil || requestId == "", case .string(let id)? = body?["request_id"] { requestId = id }
178 |         let retryAfter = Self.parseRetryAfter(response.value(forHTTPHeaderField: "Retry-After"))
    |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
179 |         throw LikylyError.from(status: response.statusCode, body: body, requestId: requestId, retryAfter: retryAfter)
180 |     }
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:179:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
177 |         if requestId == nil || requestId == "", case .string(let id)? = body?["request_id"] { requestId = id }
178 |         let retryAfter = Self.parseRetryAfter(response.value(forHTTPHeaderField: "Retry-After"))
179 |         throw LikylyError.from(status: response.statusCode, body: body, requestId: requestId, retryAfter: retryAfter)
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
180 |     }
181 |
[9/13] Compiling Likyly HTTP.swift
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:6:26: error: cannot find type 'URLRequest' in scope
  4 | /// tests, proxies or tracing.
  5 | public protocol LikylyTransport: Sendable {
  6 |     func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
    |                          `- error: cannot find type 'URLRequest' in scope
  7 | }
  8 |
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:6:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  4 | /// tests, proxies or tracing.
  5 | public protocol LikylyTransport: Sendable {
  6 |     func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  7 | }
  8 |
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/Sources/Likyly/HTTP.swift:11:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 | /// The default transport, on `URLSession`.
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     public init(session: URLSession = .shared) { self.session = session }
 13 |
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/Sources/Likyly/HTTP.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
 12 |     public init(session: URLSession = .shared) { self.session = session }
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
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/Sources/Likyly/HTTP.swift:12:40: error: value of type '_' expected to be instance of class or class-constrained type
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
 12 |     public init(session: URLSession = .shared) { self.session = session }
    |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:12:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
 12 |     public init(session: URLSession = .shared) { self.session = session }
    |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:14:33: error: cannot find type 'URLRequest' in scope
 12 |     public init(session: URLSession = .shared) { self.session = session }
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                 `- error: cannot find type 'URLRequest' in scope
 15 |         let (data, response) = try await session.data(for: request)
 16 |         guard let http = response as? HTTPURLResponse else { throw URLError(.badServerResponse) }
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:14:68: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     public init(session: URLSession = .shared) { self.session = session }
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 |         let (data, response) = try await session.data(for: request)
 16 |         guard let http = response as? HTTPURLResponse else { throw URLError(.badServerResponse) }
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/Sources/Likyly/HTTP.swift:11:17: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'; this is an error in the Swift 6 language mode
  9 | /// The default transport, on `URLSession`.
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
    |                 `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'; this is an error in the Swift 6 language mode
 12 |     public init(session: URLSession = .shared) { self.session = session }
 13 |
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:15:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
 15 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 16 |         guard let http = response as? HTTPURLResponse else { throw URLError(.badServerResponse) }
 17 |         return (data, http)
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:140:23: error: cannot find 'URLRequest' in scope
138 |
139 |     private func once(_ method: String, _ url: URL, _ payload: Data?, _ timeout: TimeInterval) async throws -> Response {
140 |         var request = URLRequest(url: url, timeoutInterval: timeout)
    |                       `- error: cannot find 'URLRequest' in scope
141 |         request.httpMethod = method
142 |         request.setValue(apiKey, forHTTPHeaderField: "X-API-Key")
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:151:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 |
150 |         let data: Data
151 |         let response: HTTPURLResponse
    |                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 |         do {
153 |             (data, response) = try await transport.send(request)
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/Sources/Likyly/HTTP.swift:167:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
165 |         }
166 |
167 |         guard response.statusCode >= 400 else { return Response(data: data) }
    |                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
168 |         var body: JSONValue?
169 |         if !data.isEmpty {
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:176:34: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
174 |             }
175 |         }
176 |         var requestId = response.value(forHTTPHeaderField: "X-Request-ID")
    |                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
177 |         if requestId == nil || requestId == "", case .string(let id)? = body?["request_id"] { requestId = id }
178 |         let retryAfter = Self.parseRetryAfter(response.value(forHTTPHeaderField: "Retry-After"))
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:178:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
176 |         var requestId = response.value(forHTTPHeaderField: "X-Request-ID")
177 |         if requestId == nil || requestId == "", case .string(let id)? = body?["request_id"] { requestId = id }
178 |         let retryAfter = Self.parseRetryAfter(response.value(forHTTPHeaderField: "Retry-After"))
    |                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
179 |         throw LikylyError.from(status: response.statusCode, body: body, requestId: requestId, retryAfter: retryAfter)
180 |     }
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:179:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
177 |         if requestId == nil || requestId == "", case .string(let id)? = body?["request_id"] { requestId = id }
178 |         let retryAfter = Self.parseRetryAfter(response.value(forHTTPHeaderField: "Retry-After"))
179 |         throw LikylyError.from(status: response.statusCode, body: body, requestId: requestId, retryAfter: retryAfter)
    |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
180 |     }
181 |
[10/13] Compiling Likyly Encoding.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/13] Compiling Likyly Errors.swift
[12/13] Emitting module Likyly
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:6:26: error: cannot find type 'URLRequest' in scope
  4 | /// tests, proxies or tracing.
  5 | public protocol LikylyTransport: Sendable {
  6 |     func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
    |                          `- error: cannot find type 'URLRequest' in scope
  7 | }
  8 |
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:6:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  4 | /// tests, proxies or tracing.
  5 | public protocol LikylyTransport: Sendable {
  6 |     func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  7 | }
  8 |
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/Sources/Likyly/HTTP.swift:11:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 | /// The default transport, on `URLSession`.
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     public init(session: URLSession = .shared) { self.session = session }
 13 |
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/Sources/Likyly/HTTP.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
 12 |     public init(session: URLSession = .shared) { self.session = session }
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
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/Sources/Likyly/HTTP.swift:12:40: error: value of type '_' expected to be instance of class or class-constrained type
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
 12 |     public init(session: URLSession = .shared) { self.session = session }
    |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:12:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
 12 |     public init(session: URLSession = .shared) { self.session = session }
    |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:14:33: error: cannot find type 'URLRequest' in scope
 12 |     public init(session: URLSession = .shared) { self.session = session }
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                 `- error: cannot find type 'URLRequest' in scope
 15 |         let (data, response) = try await session.data(for: request)
 16 |         guard let http = response as? HTTPURLResponse else { throw URLError(.badServerResponse) }
/host/spi-builder-workspace/Sources/Likyly/HTTP.swift:14:68: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     public init(session: URLSession = .shared) { self.session = session }
 13 |
 14 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 |         let (data, response) = try await session.data(for: request)
 16 |         guard let http = response as? HTTPURLResponse else { throw URLError(.badServerResponse) }
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/Sources/Likyly/HTTP.swift:11:17: warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'; this is an error in the Swift 6 language mode
  9 | /// The default transport, on `URLSession`.
 10 | public struct URLSessionTransport: LikylyTransport {
 11 |     private let session: URLSession
    |                 `- warning: stored property 'session' of 'Sendable'-conforming struct 'URLSessionTransport' has non-Sendable type 'AnyObject'; this is an error in the Swift 6 language mode
 12 |     public init(session: URLSession = .shared) { self.session = session }
 13 |
[13/13] Compiling Likyly Types.swift
BUILD FAILURE 6.3 wasm