The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TempestKit, reference v1.0.1 (8b8344), with Swift 6.2 for Wasm on 30 Nov 2026 11:00:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.2.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wells-consulting/TempestKit.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/wells-consulting/TempestKit
 * tag               v1.0.1     -> FETCH_HEAD
HEAD is now at 8b8344f TempestKit 1.0
Cloned https://github.com/wells-consulting/TempestKit.git
Revision (git rev-parse @):
8b8344f1b6f8a8ada4b63137d86eb123ad806e69
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wells-consulting/TempestKit.git at v1.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/wells-consulting/TempestKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0edccce2083c005c7cf1d4a8cd47fd86214ad7a39c32bca4f7db4cf90ab01f49
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/61] Emitting module TempestKit
[6/68] Compiling TempestKit TempestForecast+CurrentConditions.swift
[7/68] Compiling TempestKit TempestForecast+Day.swift
[8/68] Compiling TempestKit TempestForecast+Hour.swift
[9/68] Compiling TempestKit TempestForecast+Icon.swift
[10/68] Compiling TempestKit TempestForecast+PrecipitationIcon.swift
[11/68] Compiling TempestKit TempestForecast+PrecipitationType.swift
[12/68] Compiling TempestKit TempestForecast+Station.swift
[13/68] Compiling TempestKit TempestForecast.swift
[14/68] Compiling TempestKit DeviceObservations.swift
[15/68] Compiling TempestKit DeviceStatus.swift
[16/68] Compiling TempestKit DeviceSummary.swift
[17/68] Compiling TempestKit DisplayUnits.swift
[18/68] Compiling TempestKit HubStatus.swift
[19/68] Compiling TempestKit Mapping.swift
[20/68] Compiling TempestKit ObservationBucket.swift
[21/68] Compiling TempestKit PrecipitationAnalysis.swift
[22/68] Compiling TempestKit StationDeviceDTO.swift
[23/68] Compiling TempestKit StationItemDTO.swift
[24/68] Compiling TempestKit StationMetaDTO.swift
[25/68] Compiling TempestKit StationObservationsResponseDTO.swift
[26/68] Compiling TempestKit StationStatsResponseDTO.swift
[27/68] Compiling TempestKit StationsResponseDTO.swift
[28/68] Compiling TempestKit DeviceObservation.swift
[29/68] Compiling TempestKit DeviceObservationRange.swift
[30/68] Compiling TempestKit PrecipitationType.swift
[31/68] Compiling TempestKit PressureTrend.swift
[32/68] Compiling TempestKit RadioState.swift
[33/68] Compiling TempestKit RadioStats.swift
[34/68] Compiling TempestKit ResetFlags.swift
[35/68] Compiling TempestKit ResponseStatus.swift
[36/68] Compiling TempestKit SensorStatus.swift
[37/68] Compiling TempestKit StationConditions.swift
[38/68] Compiling TempestKit DeviceObservationsResponseDTO.swift
[39/68] Compiling TempestKit DeviceSettingsDTO.swift
[40/68] Compiling TempestKit ForecastCurrentConditionsDTO.swift
[41/68] Compiling TempestKit ForecastStationDTO.swift
[42/68] Compiling TempestKit ResponseStatusDTO.swift
[43/68] Compiling TempestKit StationCapabilityDTO.swift
[44/68] Compiling TempestKit StationConditionsResponseDTO.swift
[45/68] Compiling TempestKit StationDTO.swift
[46/68] Compiling TempestKit CalculatedValues.swift
[47/68] Compiling TempestKit CompassPoint.swift
[48/68] Compiling TempestKit BetterForecastBlockDTO.swift
[49/68] Compiling TempestKit BetterForecastDayDTO.swift
[50/68] Compiling TempestKit BetterForecastHourDTO.swift
[51/68] Compiling TempestKit BetterForecastResponseDTO.swift
[52/68] Compiling TempestKit DeviceMetaDTO.swift
[53/68] Compiling TempestKit DeviceObservationSummaryDTO.swift
[54/68] Compiling TempestKit StationObservation+Device.swift
[55/68] Compiling TempestKit StationObservation.swift
[56/68] Compiling TempestKit StationObservations.swift
[57/68] Compiling TempestKit StationSet.swift
[58/68] Compiling TempestKit StationStatistics+Day.swift
[59/68] Compiling TempestKit StationStatistics.swift
[60/68] Compiling TempestKit TempestClient.swift
[61/68] Compiling TempestKit TempestError.swift
[62/68] Compiling TempestKit Transport.swift
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:31:23: error: cannot find 'URLRequest' in scope
29 |     @concurrent
30 |     func get(_ url: URL) async throws(TempestError) -> (data: Data, statusCode: Int) {
31 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
32 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
33 |
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:35:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |         let data: Data
35 |         let response: URLResponse
   |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |         do {
37 |             (data, response) = try await URLSession.shared.data(for: request)
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/Sources/TempestKit/Transport.swift:37:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |         let response: URLResponse
36 |         do {
37 |             (data, response) = try await URLSession.shared.data(for: request)
   |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |         } catch {
39 |             // URLSession reports URLError, but the signature isn't typed, so
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:44:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
42 |         }
43 |
44 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
45 |             throw TempestError.invalidResponse
46 |         }
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:44:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         }
43 |
44 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |             throw TempestError.invalidResponse
46 |         }
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/TempestKit/Transport.swift:47:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
45 |             throw TempestError.invalidResponse
46 |         }
47 |         return (data, http.statusCode)
   |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
48 |     }
49 |
[63/68] Compiling TempestKit Units.swift
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:31:23: error: cannot find 'URLRequest' in scope
29 |     @concurrent
30 |     func get(_ url: URL) async throws(TempestError) -> (data: Data, statusCode: Int) {
31 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
32 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
33 |
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:35:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |         let data: Data
35 |         let response: URLResponse
   |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |         do {
37 |             (data, response) = try await URLSession.shared.data(for: request)
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/Sources/TempestKit/Transport.swift:37:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |         let response: URLResponse
36 |         do {
37 |             (data, response) = try await URLSession.shared.data(for: request)
   |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |         } catch {
39 |             // URLSession reports URLError, but the signature isn't typed, so
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:44:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
42 |         }
43 |
44 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
45 |             throw TempestError.invalidResponse
46 |         }
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:44:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         }
43 |
44 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |             throw TempestError.invalidResponse
46 |         }
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/TempestKit/Transport.swift:47:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
45 |             throw TempestError.invalidResponse
46 |         }
47 |         return (data, http.statusCode)
   |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
48 |     }
49 |
[64/68] Compiling TempestKit WeatherStation+Capability.swift
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:31:23: error: cannot find 'URLRequest' in scope
29 |     @concurrent
30 |     func get(_ url: URL) async throws(TempestError) -> (data: Data, statusCode: Int) {
31 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
32 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
33 |
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:35:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |         let data: Data
35 |         let response: URLResponse
   |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |         do {
37 |             (data, response) = try await URLSession.shared.data(for: request)
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/Sources/TempestKit/Transport.swift:37:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |         let response: URLResponse
36 |         do {
37 |             (data, response) = try await URLSession.shared.data(for: request)
   |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |         } catch {
39 |             // URLSession reports URLError, but the signature isn't typed, so
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:44:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
42 |         }
43 |
44 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
45 |             throw TempestError.invalidResponse
46 |         }
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:44:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         }
43 |
44 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |             throw TempestError.invalidResponse
46 |         }
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/TempestKit/Transport.swift:47:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
45 |             throw TempestError.invalidResponse
46 |         }
47 |         return (data, http.statusCode)
   |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
48 |     }
49 |
[65/68] Compiling TempestKit WeatherStation+Device.swift
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:31:23: error: cannot find 'URLRequest' in scope
29 |     @concurrent
30 |     func get(_ url: URL) async throws(TempestError) -> (data: Data, statusCode: Int) {
31 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
32 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
33 |
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:35:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |         let data: Data
35 |         let response: URLResponse
   |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |         do {
37 |             (data, response) = try await URLSession.shared.data(for: request)
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/Sources/TempestKit/Transport.swift:37:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |         let response: URLResponse
36 |         do {
37 |             (data, response) = try await URLSession.shared.data(for: request)
   |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |         } catch {
39 |             // URLSession reports URLError, but the signature isn't typed, so
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:44:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
42 |         }
43 |
44 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
45 |             throw TempestError.invalidResponse
46 |         }
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:44:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         }
43 |
44 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |             throw TempestError.invalidResponse
46 |         }
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/TempestKit/Transport.swift:47:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
45 |             throw TempestError.invalidResponse
46 |         }
47 |         return (data, http.statusCode)
   |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
48 |     }
49 |
[66/68] Compiling TempestKit WeatherStation+DeviceType.swift
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:31:23: error: cannot find 'URLRequest' in scope
29 |     @concurrent
30 |     func get(_ url: URL) async throws(TempestError) -> (data: Data, statusCode: Int) {
31 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
32 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
33 |
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:35:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |         let data: Data
35 |         let response: URLResponse
   |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |         do {
37 |             (data, response) = try await URLSession.shared.data(for: request)
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/Sources/TempestKit/Transport.swift:37:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |         let response: URLResponse
36 |         do {
37 |             (data, response) = try await URLSession.shared.data(for: request)
   |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |         } catch {
39 |             // URLSession reports URLError, but the signature isn't typed, so
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:44:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
42 |         }
43 |
44 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
45 |             throw TempestError.invalidResponse
46 |         }
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:44:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         }
43 |
44 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |             throw TempestError.invalidResponse
46 |         }
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/TempestKit/Transport.swift:47:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
45 |             throw TempestError.invalidResponse
46 |         }
47 |         return (data, http.statusCode)
   |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
48 |     }
49 |
[67/68] Compiling TempestKit WeatherStation+Item.swift
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:31:23: error: cannot find 'URLRequest' in scope
29 |     @concurrent
30 |     func get(_ url: URL) async throws(TempestError) -> (data: Data, statusCode: Int) {
31 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
32 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
33 |
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:35:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |         let data: Data
35 |         let response: URLResponse
   |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |         do {
37 |             (data, response) = try await URLSession.shared.data(for: request)
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/Sources/TempestKit/Transport.swift:37:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |         let response: URLResponse
36 |         do {
37 |             (data, response) = try await URLSession.shared.data(for: request)
   |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |         } catch {
39 |             // URLSession reports URLError, but the signature isn't typed, so
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:44:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
42 |         }
43 |
44 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
45 |             throw TempestError.invalidResponse
46 |         }
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:44:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         }
43 |
44 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |             throw TempestError.invalidResponse
46 |         }
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/TempestKit/Transport.swift:47:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
45 |             throw TempestError.invalidResponse
46 |         }
47 |         return (data, http.statusCode)
   |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
48 |     }
49 |
[68/68] Compiling TempestKit WeatherStation.swift
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:31:23: error: cannot find 'URLRequest' in scope
29 |     @concurrent
30 |     func get(_ url: URL) async throws(TempestError) -> (data: Data, statusCode: Int) {
31 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
32 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
33 |
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:35:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |
34 |         let data: Data
35 |         let response: URLResponse
   |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |         do {
37 |             (data, response) = try await URLSession.shared.data(for: request)
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/Sources/TempestKit/Transport.swift:37:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
35 |         let response: URLResponse
36 |         do {
37 |             (data, response) = try await URLSession.shared.data(for: request)
   |                                                     `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |         } catch {
39 |             // URLSession reports URLError, but the signature isn't typed, so
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:44:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
42 |         }
43 |
44 |         guard let http = response as? HTTPURLResponse else {
   |                                   `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
45 |             throw TempestError.invalidResponse
46 |         }
/host/spi-builder-workspace/Sources/TempestKit/Transport.swift:44:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |         }
43 |
44 |         guard let http = response as? HTTPURLResponse else {
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |             throw TempestError.invalidResponse
46 |         }
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/TempestKit/Transport.swift:47:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
45 |             throw TempestError.invalidResponse
46 |         }
47 |         return (data, http.statusCode)
   |                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
48 |     }
49 |
BUILD FAILURE 6.2 wasm