The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JolpicaKit, reference v1.1.0 (7140a8), with Swift 6.3 for Wasm on 15 Apr 2026 20:19:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fantasia-y/JolpicaKit.git
Reference: v1.1.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/fantasia-y/JolpicaKit
 * tag               v1.1.0     -> FETCH_HEAD
HEAD is now at 7140a84 Update README.md
Cloned https://github.com/fantasia-y/JolpicaKit.git
Revision (git rev-parse @):
7140a844957b919ada5c6211a7262694da55e4d3
SUCCESS checkout https://github.com/fantasia-y/JolpicaKit.git at v1.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/fantasia-y/JolpicaKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/apple/swift-log.git
[1/6583] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.97s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling Logging LogHandler.swift
[5/9] Compiling Logging LogEvent.swift
[6/9] Compiling Logging MetadataProvider.swift
[7/9] Emitting module Logging
[8/9] Compiling Logging Locks.swift
[9/9] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/37] Emitting module JolpicaKit
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:74:130: error: cannot find type 'URLRequest' in scope
 72 |     }
 73 |
 74 |     private func formRequest(season: String?, round: String?, endpoint: String, filters: [String], offset: Int?, limit: Int?) -> URLRequest {
    |                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
 75 |         var baseURL = self.config.baseURL
 76 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:115:49: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     private func request<T: Decodable>(request: URLRequest, decode: T.Type) async -> Result<T> {
    |                                                 `- error: cannot find type 'URLRequest' in scope
116 |         log("\(request.httpMethod!) \(request.url?.absoluteString ?? "")")
117 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:162:42: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |     }
161 |
162 |     private func parseError<T>(response: HTTPURLResponse) -> Result<T> {
    |                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |         // TODO implement error parsing
164 |         // 429 rate limit
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/JolpicaKit/Extensions.swift:13:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | #endif
12 |
13 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 |     func isSuccessful() -> Bool {
15 |         return statusCode >= 200 && statusCode <= 299
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:18:52: error: cannot find type 'URLRequest' in scope
16 |     let cachePolicy: URLRequest.CachePolicy
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
   |                                                    `- error: cannot find type 'URLRequest' in scope
19 |         self.enableLogging = enableLogging
20 |         self.cachePolicy = cachePolicy
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:39:71: error: cannot find type 'URLRequest' in scope
37 |     public let sprints: SprintsEndpoint
38 |
39 |     public convenience init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
   |                                                                       `- error: cannot find type 'URLRequest' in scope
40 |         self.init(config: JolpicaConfig(
41 |             enableLogging: enableLogging,
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[12/40] Compiling JolpicaKit CircuitsEndpoint.swift
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:74:130: error: cannot find type 'URLRequest' in scope
 72 |     }
 73 |
 74 |     private func formRequest(season: String?, round: String?, endpoint: String, filters: [String], offset: Int?, limit: Int?) -> URLRequest {
    |                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
 75 |         var baseURL = self.config.baseURL
 76 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:115:49: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     private func request<T: Decodable>(request: URLRequest, decode: T.Type) async -> Result<T> {
    |                                                 `- error: cannot find type 'URLRequest' in scope
116 |         log("\(request.httpMethod!) \(request.url?.absoluteString ?? "")")
117 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:162:42: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |     }
161 |
162 |     private func parseError<T>(response: HTTPURLResponse) -> Result<T> {
    |                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |         // TODO implement error parsing
164 |         // 429 rate limit
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/JolpicaKit/Endpoints/Endpoint.swift:105:23: error: cannot find 'URLRequest' in scope
103 |
104 |         let url = components.url!
105 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
106 |
107 |         request.cachePolicy = config.cachePolicy
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:119:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
117 |
118 |         do {
119 |             let (data, response) = try await URLSession.shared.data(for: request)
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
120 |
121 |             guard let httpResponse = response as? HTTPURLResponse else {
[13/40] Compiling JolpicaKit ConstructorsEndpoint.swift
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:74:130: error: cannot find type 'URLRequest' in scope
 72 |     }
 73 |
 74 |     private func formRequest(season: String?, round: String?, endpoint: String, filters: [String], offset: Int?, limit: Int?) -> URLRequest {
    |                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
 75 |         var baseURL = self.config.baseURL
 76 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:115:49: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     private func request<T: Decodable>(request: URLRequest, decode: T.Type) async -> Result<T> {
    |                                                 `- error: cannot find type 'URLRequest' in scope
116 |         log("\(request.httpMethod!) \(request.url?.absoluteString ?? "")")
117 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:162:42: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |     }
161 |
162 |     private func parseError<T>(response: HTTPURLResponse) -> Result<T> {
    |                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |         // TODO implement error parsing
164 |         // 429 rate limit
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/JolpicaKit/Endpoints/Endpoint.swift:105:23: error: cannot find 'URLRequest' in scope
103 |
104 |         let url = components.url!
105 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
106 |
107 |         request.cachePolicy = config.cachePolicy
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:119:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
117 |
118 |         do {
119 |             let (data, response) = try await URLSession.shared.data(for: request)
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
120 |
121 |             guard let httpResponse = response as? HTTPURLResponse else {
[14/40] Compiling JolpicaKit DriversEndpoint.swift
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:74:130: error: cannot find type 'URLRequest' in scope
 72 |     }
 73 |
 74 |     private func formRequest(season: String?, round: String?, endpoint: String, filters: [String], offset: Int?, limit: Int?) -> URLRequest {
    |                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
 75 |         var baseURL = self.config.baseURL
 76 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:115:49: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     private func request<T: Decodable>(request: URLRequest, decode: T.Type) async -> Result<T> {
    |                                                 `- error: cannot find type 'URLRequest' in scope
116 |         log("\(request.httpMethod!) \(request.url?.absoluteString ?? "")")
117 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:162:42: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |     }
161 |
162 |     private func parseError<T>(response: HTTPURLResponse) -> Result<T> {
    |                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |         // TODO implement error parsing
164 |         // 429 rate limit
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/JolpicaKit/Endpoints/Endpoint.swift:105:23: error: cannot find 'URLRequest' in scope
103 |
104 |         let url = components.url!
105 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
106 |
107 |         request.cachePolicy = config.cachePolicy
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:119:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
117 |
118 |         do {
119 |             let (data, response) = try await URLSession.shared.data(for: request)
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
120 |
121 |             guard let httpResponse = response as? HTTPURLResponse else {
[15/40] Compiling JolpicaKit Endpoint.swift
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:74:130: error: cannot find type 'URLRequest' in scope
 72 |     }
 73 |
 74 |     private func formRequest(season: String?, round: String?, endpoint: String, filters: [String], offset: Int?, limit: Int?) -> URLRequest {
    |                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
 75 |         var baseURL = self.config.baseURL
 76 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:115:49: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     private func request<T: Decodable>(request: URLRequest, decode: T.Type) async -> Result<T> {
    |                                                 `- error: cannot find type 'URLRequest' in scope
116 |         log("\(request.httpMethod!) \(request.url?.absoluteString ?? "")")
117 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:162:42: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |     }
161 |
162 |     private func parseError<T>(response: HTTPURLResponse) -> Result<T> {
    |                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |         // TODO implement error parsing
164 |         // 429 rate limit
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/JolpicaKit/Endpoints/Endpoint.swift:105:23: error: cannot find 'URLRequest' in scope
103 |
104 |         let url = components.url!
105 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
106 |
107 |         request.cachePolicy = config.cachePolicy
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:119:57: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
117 |
118 |         do {
119 |             let (data, response) = try await URLSession.shared.data(for: request)
    |                                                         `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
120 |
121 |             guard let httpResponse = response as? HTTPURLResponse else {
[16/40] Compiling JolpicaKit Circuits.swift
[17/40] Compiling JolpicaKit Constructors.swift
[18/40] Compiling JolpicaKit Drivers.swift
[19/40] Compiling JolpicaKit Laps.swift
[20/40] Compiling JolpicaKit ResultsEndpoint.swift
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:74:130: error: cannot find type 'URLRequest' in scope
 72 |     }
 73 |
 74 |     private func formRequest(season: String?, round: String?, endpoint: String, filters: [String], offset: Int?, limit: Int?) -> URLRequest {
    |                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
 75 |         var baseURL = self.config.baseURL
 76 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:115:49: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     private func request<T: Decodable>(request: URLRequest, decode: T.Type) async -> Result<T> {
    |                                                 `- error: cannot find type 'URLRequest' in scope
116 |         log("\(request.httpMethod!) \(request.url?.absoluteString ?? "")")
117 |
[21/40] Compiling JolpicaKit SeasonsEndpoint.swift
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:74:130: error: cannot find type 'URLRequest' in scope
 72 |     }
 73 |
 74 |     private func formRequest(season: String?, round: String?, endpoint: String, filters: [String], offset: Int?, limit: Int?) -> URLRequest {
    |                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
 75 |         var baseURL = self.config.baseURL
 76 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:115:49: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     private func request<T: Decodable>(request: URLRequest, decode: T.Type) async -> Result<T> {
    |                                                 `- error: cannot find type 'URLRequest' in scope
116 |         log("\(request.httpMethod!) \(request.url?.absoluteString ?? "")")
117 |
[22/40] Compiling JolpicaKit SprintsEndpoint.swift
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:74:130: error: cannot find type 'URLRequest' in scope
 72 |     }
 73 |
 74 |     private func formRequest(season: String?, round: String?, endpoint: String, filters: [String], offset: Int?, limit: Int?) -> URLRequest {
    |                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
 75 |         var baseURL = self.config.baseURL
 76 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:115:49: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     private func request<T: Decodable>(request: URLRequest, decode: T.Type) async -> Result<T> {
    |                                                 `- error: cannot find type 'URLRequest' in scope
116 |         log("\(request.httpMethod!) \(request.url?.absoluteString ?? "")")
117 |
[23/40] Compiling JolpicaKit StandingsEndpoint.swift
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:74:130: error: cannot find type 'URLRequest' in scope
 72 |     }
 73 |
 74 |     private func formRequest(season: String?, round: String?, endpoint: String, filters: [String], offset: Int?, limit: Int?) -> URLRequest {
    |                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
 75 |         var baseURL = self.config.baseURL
 76 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:115:49: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     private func request<T: Decodable>(request: URLRequest, decode: T.Type) async -> Result<T> {
    |                                                 `- error: cannot find type 'URLRequest' in scope
116 |         log("\(request.httpMethod!) \(request.url?.absoluteString ?? "")")
117 |
[24/40] Compiling JolpicaKit Pitstops.swift
[25/40] Compiling JolpicaKit Qualifying.swift
[26/40] Compiling JolpicaKit Races.swift
[27/40] Compiling JolpicaKit LapsEndpoint.swift
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:74:130: error: cannot find type 'URLRequest' in scope
 72 |     }
 73 |
 74 |     private func formRequest(season: String?, round: String?, endpoint: String, filters: [String], offset: Int?, limit: Int?) -> URLRequest {
    |                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
 75 |         var baseURL = self.config.baseURL
 76 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:115:49: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     private func request<T: Decodable>(request: URLRequest, decode: T.Type) async -> Result<T> {
    |                                                 `- error: cannot find type 'URLRequest' in scope
116 |         log("\(request.httpMethod!) \(request.url?.absoluteString ?? "")")
117 |
[28/40] Compiling JolpicaKit PitstopsEndpoint.swift
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:74:130: error: cannot find type 'URLRequest' in scope
 72 |     }
 73 |
 74 |     private func formRequest(season: String?, round: String?, endpoint: String, filters: [String], offset: Int?, limit: Int?) -> URLRequest {
    |                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
 75 |         var baseURL = self.config.baseURL
 76 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:115:49: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     private func request<T: Decodable>(request: URLRequest, decode: T.Type) async -> Result<T> {
    |                                                 `- error: cannot find type 'URLRequest' in scope
116 |         log("\(request.httpMethod!) \(request.url?.absoluteString ?? "")")
117 |
[29/40] Compiling JolpicaKit QualifyingEndpoint.swift
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:74:130: error: cannot find type 'URLRequest' in scope
 72 |     }
 73 |
 74 |     private func formRequest(season: String?, round: String?, endpoint: String, filters: [String], offset: Int?, limit: Int?) -> URLRequest {
    |                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
 75 |         var baseURL = self.config.baseURL
 76 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:115:49: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     private func request<T: Decodable>(request: URLRequest, decode: T.Type) async -> Result<T> {
    |                                                 `- error: cannot find type 'URLRequest' in scope
116 |         log("\(request.httpMethod!) \(request.url?.absoluteString ?? "")")
117 |
[30/40] Compiling JolpicaKit RacesEndpoint.swift
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:74:130: error: cannot find type 'URLRequest' in scope
 72 |     }
 73 |
 74 |     private func formRequest(season: String?, round: String?, endpoint: String, filters: [String], offset: Int?, limit: Int?) -> URLRequest {
    |                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
 75 |         var baseURL = self.config.baseURL
 76 |
/host/spi-builder-workspace/Sources/JolpicaKit/Endpoints/Endpoint.swift:115:49: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     private func request<T: Decodable>(request: URLRequest, decode: T.Type) async -> Result<T> {
    |                                                 `- error: cannot find type 'URLRequest' in scope
116 |         log("\(request.httpMethod!) \(request.url?.absoluteString ?? "")")
117 |
[31/40] Compiling JolpicaKit Results.swift
[32/40] Compiling JolpicaKit Seasons.swift
[33/40] Compiling JolpicaKit Sprints.swift
[34/40] Compiling JolpicaKit StatusEndpoint.swift
/host/spi-builder-workspace/Sources/JolpicaKit/Extensions.swift:13:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | #endif
12 |
13 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 |     func isSuccessful() -> Bool {
15 |         return statusCode >= 200 && statusCode <= 299
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:18:52: error: cannot find type 'URLRequest' in scope
16 |     let cachePolicy: URLRequest.CachePolicy
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
   |                                                    `- error: cannot find type 'URLRequest' in scope
19 |         self.enableLogging = enableLogging
20 |         self.cachePolicy = cachePolicy
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:39:71: error: cannot find type 'URLRequest' in scope
37 |     public let sprints: SprintsEndpoint
38 |
39 |     public convenience init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
   |                                                                       `- error: cannot find type 'URLRequest' in scope
40 |         self.init(config: JolpicaConfig(
41 |             enableLogging: enableLogging,
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[35/40] Compiling JolpicaKit Extensions.swift
/host/spi-builder-workspace/Sources/JolpicaKit/Extensions.swift:13:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | #endif
12 |
13 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 |     func isSuccessful() -> Bool {
15 |         return statusCode >= 200 && statusCode <= 299
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:18:52: error: cannot find type 'URLRequest' in scope
16 |     let cachePolicy: URLRequest.CachePolicy
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
   |                                                    `- error: cannot find type 'URLRequest' in scope
19 |         self.enableLogging = enableLogging
20 |         self.cachePolicy = cachePolicy
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:39:71: error: cannot find type 'URLRequest' in scope
37 |     public let sprints: SprintsEndpoint
38 |
39 |     public convenience init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
   |                                                                       `- error: cannot find type 'URLRequest' in scope
40 |         self.init(config: JolpicaConfig(
41 |             enableLogging: enableLogging,
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[36/40] Compiling JolpicaKit JolpicaKit.swift
/host/spi-builder-workspace/Sources/JolpicaKit/Extensions.swift:13:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | #endif
12 |
13 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 |     func isSuccessful() -> Bool {
15 |         return statusCode >= 200 && statusCode <= 299
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:18:52: error: cannot find type 'URLRequest' in scope
16 |     let cachePolicy: URLRequest.CachePolicy
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
   |                                                    `- error: cannot find type 'URLRequest' in scope
19 |         self.enableLogging = enableLogging
20 |         self.cachePolicy = cachePolicy
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:39:71: error: cannot find type 'URLRequest' in scope
37 |     public let sprints: SprintsEndpoint
38 |
39 |     public convenience init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
   |                                                                       `- error: cannot find type 'URLRequest' in scope
40 |         self.init(config: JolpicaConfig(
41 |             enableLogging: enableLogging,
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[37/40] Compiling JolpicaKit Logger.swift
/host/spi-builder-workspace/Sources/JolpicaKit/Extensions.swift:13:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | #endif
12 |
13 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 |     func isSuccessful() -> Bool {
15 |         return statusCode >= 200 && statusCode <= 299
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:16:22: error: cannot find type 'URLRequest' in scope
14 |     let baseURL = "https://api.jolpi.ca/ergast/f1"
15 |     let enableLogging: Bool
16 |     let cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:18:52: error: cannot find type 'URLRequest' in scope
16 |     let cachePolicy: URLRequest.CachePolicy
17 |
18 |     init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
   |                                                    `- error: cannot find type 'URLRequest' in scope
19 |         self.enableLogging = enableLogging
20 |         self.cachePolicy = cachePolicy
/host/spi-builder-workspace/Sources/JolpicaKit/JolpicaKit.swift:39:71: error: cannot find type 'URLRequest' in scope
37 |     public let sprints: SprintsEndpoint
38 |
39 |     public convenience init(enableLogging: Bool = false, cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy) {
   |                                                                       `- error: cannot find type 'URLRequest' in scope
40 |         self.init(config: JolpicaConfig(
41 |             enableLogging: enableLogging,
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[38/40] Compiling JolpicaKit Standings.swift
[39/40] Compiling JolpicaKit Statics.swift
[40/40] Compiling JolpicaKit Status.swift
BUILD FAILURE 6.3 wasm