Build Information
Failed to build FlineDevKit, reference 0.5.0 (1d48c3), with Swift 6.3 for Wasm on 18 Apr 2026 01:51:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FlineDev/FlineDevKit.git
Reference: 0.5.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/FlineDev/FlineDevKit
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at 1d48c31 Update dependencies & upgrade to HandySwiftUI 2.x
Cloned https://github.com/FlineDev/FlineDevKit.git
Revision (git rev-parse @):
1d48c31b8a5cf0246242f33e54da46754bae30ef
SUCCESS checkout https://github.com/FlineDev/FlineDevKit.git at 0.5.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/FlineDev/FlineDevKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/FlineDev/ErrorKit.git
[1/657] Fetching errorkit
Fetched https://github.com/FlineDev/ErrorKit.git from cache (15.91s)
Fetching https://github.com/FlineDev/HandySwift.git
[1/3483] Fetching handyswift
Fetched https://github.com/FlineDev/HandySwift.git from cache (0.72s)
Fetching https://github.com/FlineDev/HandySwiftUI.git
[1/1418] Fetching handyswiftui
Fetched https://github.com/FlineDev/HandySwiftUI.git from cache (0.95s)
Fetching https://github.com/FlineDev/LinksKit.git
[1/321] Fetching linkskit
Fetched https://github.com/FlineDev/LinksKit.git from cache (0.42s)
Fetching https://github.com/FlineDev/ReviewKit.git
[1/150] Fetching reviewkit
Fetched https://github.com/FlineDev/ReviewKit.git from cache (0.38s)
Fetching https://github.com/FlineDev/TranslateKit.git
[1/1100] Fetching translatekit
Fetched https://github.com/FlineDev/TranslateKit.git from cache (1.82s)
Fetching https://github.com/FlineDev/FreemiumKit.git
Fetching https://github.com/TelemetryDeck/SwiftSDK.git
Fetching https://github.com/pointfreeco/swift-identified-collections.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-syntax.git
[1/2896] Fetching swiftsdk
[233/26465] Fetching swiftsdk, swift-collections
[900/29636] Fetching swiftsdk, swift-collections, freemiumkit
[2069/31178] Fetching swiftsdk, swift-collections, freemiumkit, swift-identified-collections
[4872/48585] Fetching swiftsdk, swift-collections, freemiumkit, swift-identified-collections, swift-crypto
[6644/123568] Fetching swiftsdk, swift-collections, freemiumkit, swift-identified-collections, swift-crypto, swift-syntax
Fetched https://github.com/pointfreeco/swift-identified-collections.git from cache (6.53s)
Fetched https://github.com/apple/swift-collections.git from cache (6.60s)
[98106/98457] Fetching swiftsdk, freemiumkit, swift-crypto, swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (14.36s)
Fetched https://github.com/apple/swift-crypto.git from cache (14.37s)
[5748/6067] Fetching swiftsdk, freemiumkit
Fetched https://github.com/TelemetryDeck/SwiftSDK.git from cache (34.22s)
Fetched https://github.com/FlineDev/FreemiumKit.git from cache (35.36s)
Computing version for https://github.com/pointfreeco/swift-identified-collections.git
Computed https://github.com/pointfreeco/swift-identified-collections.git at 1.1.1 (37.67s)
Computing version for https://github.com/TelemetryDeck/SwiftSDK.git
Computed https://github.com/TelemetryDeck/SwiftSDK.git at 2.12.0 (0.80s)
Computing version for https://github.com/FlineDev/FreemiumKit.git
Computed https://github.com/FlineDev/FreemiumKit.git at 1.19.0 (0.67s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.46s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 603.0.0 (4.82s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.14s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.51s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (5.03s)
Creating working copy for https://github.com/FlineDev/LinksKit.git
Working copy of https://github.com/FlineDev/LinksKit.git resolved at main (e0ffbd2)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 603.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/pointfreeco/swift-identified-collections.git
Working copy of https://github.com/pointfreeco/swift-identified-collections.git resolved at 1.1.1
Creating working copy for https://github.com/FlineDev/HandySwift.git
Working copy of https://github.com/FlineDev/HandySwift.git resolved at main (f30a47c)
Creating working copy for https://github.com/TelemetryDeck/SwiftSDK.git
Working copy of https://github.com/TelemetryDeck/SwiftSDK.git resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/FlineDev/HandySwiftUI.git
Working copy of https://github.com/FlineDev/HandySwiftUI.git resolved at main (dab4cdd)
Creating working copy for https://github.com/FlineDev/TranslateKit.git
Working copy of https://github.com/FlineDev/TranslateKit.git resolved at main (a19eef5)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/FlineDev/FreemiumKit.git
Working copy of https://github.com/FlineDev/FreemiumKit.git resolved at 1.19.0
Creating working copy for https://github.com/FlineDev/ReviewKit.git
Working copy of https://github.com/FlineDev/ReviewKit.git resolved at main (20f35a4)
Creating working copy for https://github.com/FlineDev/ErrorKit.git
Working copy of https://github.com/FlineDev/ErrorKit.git resolved at main (6265a02)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.67s)
Building for debugging...
[0/399] Copying Info.plist
[1/399] Copying PrivacyInfo.xcprivacy
[2/399] Copying Localizable.xcstrings
[2/399] Write sources
[2/399] Copying Info.plist
[2/399] Write sources
[8/399] Copying Localizable.xcstrings
[8/399] Copying Info.plist
[8/399] Write sources
[13/399] Copying Info.plist
[13/399] Copying PrivacyInfo.xcprivacy
[13/399] Write sources
[19/399] Copying PrivacyInfo.xcprivacy
[19/399] Write sources
[23/399] Copying Info.plist
[24/399] Write sources
[25/399] Copying Localizable.xcstrings
[27/399] Write sources
[28/399] Compiling fiat_p256_adx_mul.S
[29/399] Compiling fiat_p256_adx_sqr.S
[30/399] Compiling md5-x86_64-apple.S
[31/399] Compiling fiat_curve25519_adx_mul.S
[32/399] Compiling md5-x86_64-linux.S
[33/399] Compiling fiat_curve25519_adx_square.S
[33/399] Write swift-version-24593BA9C3E375BF.txt
[35/399] Compiling md5-586-linux.S
[36/399] Compiling md5-586-apple.S
[37/399] Compiling chacha20_poly1305_x86_64-linux.S
[38/399] Compiling chacha20_poly1305_armv8-win.S
[39/399] Compiling chacha20_poly1305_x86_64-apple.S
[40/399] Compiling chacha20_poly1305_armv8-linux.S
[41/470] Compiling CCryptoBoringSSLShims shims.c
[42/471] Compiling err_data.cc
[44/474] Emitting module InternalCollectionsUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/509] Emitting module ReviewKit
/host/spi-builder-workspace/.build/checkouts/ReviewKit/Sources/ReviewKit/ReviewKit.swift:2:8: error: no such module 'StoreKit'
1 | import Foundation
2 | import StoreKit
| `- error: no such module 'StoreKit'
3 |
4 | /// A helper to request a user review on the App Store at an appropriate time. Persists positive events in standard `UserDefaults`.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/509] Emitting module TelemetryDeck
/host/spi-builder-workspace/.build/checkouts/SwiftSDK/Sources/TelemetryDeck/Helpers/CryptoHashing.swift:1:8: error: no such module 'CommonCrypto'
1 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
2 | import Foundation
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/512] Emitting module HandySwift
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Extensions/DispatchTimeIntervalExt.swift:3:11: error: cannot find type 'DispatchTimeInterval' in scope
1 | import Foundation
2 |
3 | extension DispatchTimeInterval {
| `- error: cannot find type 'DispatchTimeInterval' in scope
4 | /// Converts the dispatch time interval to seconds using the `TimeInterval` type.
5 | /// This is useful for when you need to work with `DispatchTimeInterval` values in contexts that require `TimeInterval` (in seconds),
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:9:60: error: cannot find type 'DispatchQoS' in scope
7 | /// - qosClass: The global QoS class to be used or `nil` to use the main thread. Defaults to `nil`.
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
| `- error: cannot find type 'DispatchQoS' in scope
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:22:52: error: cannot find type 'DispatchQoS' in scope
20 | @_disfavoredOverload
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
| `- error: cannot find type 'DispatchQoS' in scope
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/PrintRequestPlugin.swift:85:40: error: cannot find type 'URLRequest' in scope
83 | ///
84 | /// - Parameter request: The URLRequest to potentially log and pass through unchanged.
85 | public func apply(to request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
86 | if self.debugOnly {
87 | #if DEBUG
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/PrintRequestPlugin.swift:98:41: error: cannot find type 'URLRequest' in scope
96 | ///
97 | /// - Parameter request: The URLRequest to print details for.
98 | private func printRequest(_ request: URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
99 | var requestBodyString: String?
100 | if let bodyData = request.httpBody {
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:201:36: error: cannot find type 'URLRequest' in scope
199 |
200 | public protocol RequestPlugin: Sendable {
201 | func apply(to request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
202 | }
203 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/PrintResponsePlugin.swift:93:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
91 | /// - data: The response body data to potentially log.
92 | /// - Throws: Does not throw errors, but passes through any errors from the response processing.
93 | public func apply(to response: inout HTTPURLResponse, data: inout Data) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
94 | if self.debugOnly {
95 | #if DEBUG
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/PrintResponsePlugin.swift:108:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 | /// - response: The HTTPURLResponse to print details for.
107 | /// - data: The response body data to print.
108 | private func printResponse(_ response: HTTPURLResponse, data: Data) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
109 | var responseBodyString: String?
110 | if !data.isEmpty {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:19:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | case failedToDecodeClientErrorBody(Error, Context?)
18 | case clientError(String, Context?)
19 | case unexpectedResponseType(URLResponse, Context?)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unexpectedStatusCode(Int, Context?)
21 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:19:12: error: associated value 'unexpectedResponseType' of 'Sendable'-conforming enum 'APIError' contains non-Sendable type 'AnyObject'
17 | case failedToDecodeClientErrorBody(Error, Context?)
18 | case clientError(String, Context?)
19 | case unexpectedResponseType(URLResponse, Context?)
| `- error: associated value 'unexpectedResponseType' of 'Sendable'-conforming enum 'APIError' contains non-Sendable type 'AnyObject'
20 | case unexpectedStatusCode(Int, Context?)
21 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:205:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
203 |
204 | public protocol ResponsePlugin: Sendable {
205 | func apply(to response: inout HTTPURLResponse, data: inout Data) throws
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
206 | }
207 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:213:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
211 | let jsonEncoder: JSONEncoder
212 | let jsonDecoder: JSONDecoder
213 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
214 | let requestPlugins: [any RequestPlugin]
215 | let responsePlugins: [any ResponsePlugin]
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:226:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
224 | jsonEncoder: JSONEncoder = .init(),
225 | jsonDecoder: JSONDecoder = .init(),
226 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
227 | requestPlugins: [any RequestPlugin] = [],
228 | responsePlugins: [any ResponsePlugin] = [],
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:226:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
224 | jsonEncoder: JSONEncoder = .init(),
225 | jsonDecoder: JSONDecoder = .init(),
226 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
227 | requestPlugins: [any RequestPlugin] = [],
228 | responsePlugins: [any ResponsePlugin] = [],
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:226:33: error: value of type '_' expected to be instance of class or class-constrained type
224 | jsonEncoder: JSONEncoder = .init(),
225 | jsonDecoder: JSONDecoder = .init(),
226 | urlSession: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
227 | requestPlugins: [any RequestPlugin] = [],
228 | responsePlugins: [any ResponsePlugin] = [],
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:325:43: error: cannot find type 'URLRequest' in scope
323 | }
324 |
325 | private func performRequest(_ request: URLRequest, errorContext: String?) async throws(APIError) -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
326 | let data: Data
327 | let response: URLResponse
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:325:111: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
323 | }
324 |
325 | private func performRequest(_ request: URLRequest, errorContext: String?) async throws(APIError) -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
326 | let data: Data
327 | let response: URLResponse
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:337:72: error: cannot find type 'URLRequest' in scope
335 | }
336 |
337 | private func handle(data: Data, response: URLResponse, for request: URLRequest, errorContext: String?, attempt: Int = 1) async throws(APIError)
| `- error: cannot find type 'URLRequest' in scope
338 | -> Data
339 | {
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:337:46: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
335 | }
336 |
337 | private func handle(data: Data, response: URLResponse, for request: URLRequest, errorContext: String?, attempt: Int = 1) async throws(APIError)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 | -> Data
339 | {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:213:8: error: stored property 'urlSession' of 'Sendable'-conforming class 'RESTClient' has non-Sendable type 'AnyObject'
211 | let jsonEncoder: JSONEncoder
212 | let jsonDecoder: JSONDecoder
213 | let urlSession: URLSession
| `- error: stored property 'urlSession' of 'Sendable'-conforming class 'RESTClient' has non-Sendable type 'AnyObject'
214 | let requestPlugins: [any RequestPlugin]
215 | let responsePlugins: [any ResponsePlugin]
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/516] Emitting module FreemiumKit
/host/spi-builder-workspace/.build/checkouts/FreemiumKit/Sources/FreemiumKit/FreemiumKit.swift:2:19: error: no such module 'FreemiumKitSDK'
1 | #if !os(Linux)
2 | @_exported import FreemiumKitSDK
| `- error: no such module 'FreemiumKitSDK'
3 | #endif
4 |
[49/516] Compiling LinksKit TitleAndTrailingIconBadgeLabelStyle.swift
/host/spi-builder-workspace/.build/checkouts/LinksKit/Sources/LinksKit/Model/Link.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// Represents a link with a title, system image, and URL.
[50/517] Compiling LinksKit LinkSectionsView.swift
/host/spi-builder-workspace/.build/checkouts/LinksKit/Sources/LinksKit/Model/Link.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// Represents a link with a title, system image, and URL.
[51/517] Compiling LinksKit LinksView.swift
/host/spi-builder-workspace/.build/checkouts/LinksKit/Sources/LinksKit/Model/Link.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// Represents a link with a title, system image, and URL.
[52/517] Compiling HandySwift JSONEncoderExt.swift
[53/517] Compiling HandySwift NSRangeExt.swift
[54/517] Compiling HandySwift IntExt.swift
[55/517] Compiling HandySwift JSONDecoderExt.swift
[56/517] Compiling LinksKit TitleAndTrailingIconLabelStyle.swift
/host/spi-builder-workspace/.build/checkouts/LinksKit/Sources/LinksKit/Model/Link.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// Represents a link with a title, system image, and URL.
[57/517] Compiling HandySwift CaseIterableExt.swift
[58/517] Compiling HandySwift CollectionExt.swift
[59/517] Compiling HandySwift ComparableExt.swift
[60/517] Compiling HandySwift DataExt.swift
[61/517] Compiling HandySwift FloatExt.swift
[62/517] Compiling HandySwift Debouncer.swift
[63/517] Compiling HandySwift FrequencyTable.swift
[64/517] Compiling HandySwift GregorianDay.swift
[65/517] Compiling HandySwift DoubleExt.swift
[66/517] Compiling HandySwift DurationExt.swift
[67/517] Compiling HandySwift DateExt.swift
[68/517] Compiling HandySwift DictionaryExt.swift
[69/517] Compiling HandySwift DispatchTimeIntervalExt.swift
[70/517] Compiling HandySwift GregorianTime.swift
[71/517] Compiling HandySwift ArrayExt.swift
[72/518] Compiling chacha20_poly1305_armv8-apple.S
[74/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[75/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[76/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[77/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[78/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[79/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[80/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[81/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[82/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[83/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[84/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[85/573] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[86/573] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[87/573] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[88/580] Compiling OrderedCollections OrderedDictionary.swift
[89/580] Compiling OrderedCollections OrderedSet+Codable.swift
[90/580] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[91/580] Compiling OrderedCollections OrderedSet+Descriptions.swift
[92/580] Compiling OrderedCollections OrderedSet+Diffing.swift
[93/580] Compiling OrderedCollections OrderedSet+Equatable.swift
[94/580] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[95/580] Compiling OrderedCollections OrderedSet+Hashable.swift
[96/580] Compiling OrderedCollections OrderedSet+Initializers.swift
[97/580] Compiling OrderedCollections OrderedSet+Insertions.swift
[98/580] Compiling OrderedCollections OrderedSet+Invariants.swift
[99/580] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[100/580] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[101/580] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[102/580] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[103/580] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[104/580] Compiling OrderedCollections OrderedDictionary+Codable.swift
[105/580] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[106/580] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[107/580] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[108/580] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[109/580] Compiling OrderedCollections OrderedDictionary+Elements.swift
[110/580] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[111/580] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[112/580] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[113/580] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[114/580] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[115/580] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[116/580] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[117/580] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[118/580] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[119/580] Compiling OrderedCollections OrderedDictionary+Values.swift
[120/580] Emitting module TranslateKitLite
[121/580] Compiling FreemiumKit FreemiumKit.swift
/host/spi-builder-workspace/.build/checkouts/FreemiumKit/Sources/FreemiumKit/FreemiumKit.swift:2:19: error: no such module 'FreemiumKitSDK'
1 | #if !os(Linux)
2 | @_exported import FreemiumKitSDK
| `- error: no such module 'FreemiumKitSDK'
3 | #endif
4 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:9:60: error: cannot find type 'DispatchQoS' in scope
7 | /// - qosClass: The global QoS class to be used or `nil` to use the main thread. Defaults to `nil`.
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
| `- error: cannot find type 'DispatchQoS' in scope
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:22:52: error: cannot find type 'DispatchQoS' in scope
20 | @_disfavoredOverload
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
| `- error: cannot find type 'DispatchQoS' in scope
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:10:42: error: cannot find 'DispatchQueue' in scope
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
12 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:10:81: error: cannot find 'DispatchQueue' in scope
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
12 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:11:39: error: cannot find 'DispatchTime' in scope
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
| `- error: cannot find 'DispatchTime' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:23:42: error: cannot find 'DispatchQueue' in scope
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
25 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:23:81: error: cannot find 'DispatchQueue' in scope
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
25 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:24:39: error: cannot find 'DispatchTime' in scope
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
| `- error: cannot find 'DispatchTime' in scope
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:9:60: error: cannot find type 'DispatchQoS' in scope
7 | /// - qosClass: The global QoS class to be used or `nil` to use the main thread. Defaults to `nil`.
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
| `- error: cannot find type 'DispatchQoS' in scope
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:22:52: error: cannot find type 'DispatchQoS' in scope
20 | @_disfavoredOverload
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
| `- error: cannot find type 'DispatchQoS' in scope
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:10:42: error: cannot find 'DispatchQueue' in scope
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
12 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:10:81: error: cannot find 'DispatchQueue' in scope
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
12 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:11:39: error: cannot find 'DispatchTime' in scope
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
| `- error: cannot find 'DispatchTime' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:23:42: error: cannot find 'DispatchQueue' in scope
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
25 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:23:81: error: cannot find 'DispatchQueue' in scope
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
25 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:24:39: error: cannot find 'DispatchTime' in scope
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
| `- error: cannot find 'DispatchTime' in scope
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:9:60: error: cannot find type 'DispatchQoS' in scope
7 | /// - qosClass: The global QoS class to be used or `nil` to use the main thread. Defaults to `nil`.
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
| `- error: cannot find type 'DispatchQoS' in scope
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:22:52: error: cannot find type 'DispatchQoS' in scope
20 | @_disfavoredOverload
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
| `- error: cannot find type 'DispatchQoS' in scope
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:10:42: error: cannot find 'DispatchQueue' in scope
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
12 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:10:81: error: cannot find 'DispatchQueue' in scope
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
12 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:11:39: error: cannot find 'DispatchTime' in scope
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
| `- error: cannot find 'DispatchTime' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:23:42: error: cannot find 'DispatchQueue' in scope
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
25 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:23:81: error: cannot find 'DispatchQueue' in scope
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
25 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:24:39: error: cannot find 'DispatchTime' in scope
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
| `- error: cannot find 'DispatchTime' in scope
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:9:60: error: cannot find type 'DispatchQoS' in scope
7 | /// - qosClass: The global QoS class to be used or `nil` to use the main thread. Defaults to `nil`.
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
| `- error: cannot find type 'DispatchQoS' in scope
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:22:52: error: cannot find type 'DispatchQoS' in scope
20 | @_disfavoredOverload
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
| `- error: cannot find type 'DispatchQoS' in scope
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:10:42: error: cannot find 'DispatchQueue' in scope
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
12 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:10:81: error: cannot find 'DispatchQueue' in scope
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
12 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:11:39: error: cannot find 'DispatchTime' in scope
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
| `- error: cannot find 'DispatchTime' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:23:42: error: cannot find 'DispatchQueue' in scope
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
25 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:23:81: error: cannot find 'DispatchQueue' in scope
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
25 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:24:39: error: cannot find 'DispatchTime' in scope
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
| `- error: cannot find 'DispatchTime' in scope
25 | }
26 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:9:60: error: cannot find type 'DispatchQoS' in scope
7 | /// - qosClass: The global QoS class to be used or `nil` to use the main thread. Defaults to `nil`.
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
| `- error: cannot find type 'DispatchQoS' in scope
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:22:52: error: cannot find type 'DispatchQoS' in scope
20 | @_disfavoredOverload
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
| `- error: cannot find type 'DispatchQoS' in scope
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:10:42: error: cannot find 'DispatchQueue' in scope
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
12 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:10:81: error: cannot find 'DispatchQueue' in scope
8 | /// - closure: The code to run with a delay.
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
12 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:11:39: error: cannot find 'DispatchTime' in scope
9 | public func delay(by timeInterval: TimeInterval, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
10 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
11 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + timeInterval, execute: closure)
| `- error: cannot find 'DispatchTime' in scope
12 | }
13 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:23:42: error: cannot find 'DispatchQueue' in scope
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
25 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:23:81: error: cannot find 'DispatchQueue' in scope
21 | @available(iOS 16, macOS 13, tvOS 16, visionOS 1, watchOS 9, *)
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
| `- error: cannot find 'DispatchQueue' in scope
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
25 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:24:39: error: cannot find 'DispatchTime' in scope
22 | public func delay(by duration: Duration, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @Sendable @escaping () -> Void) {
23 | let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
24 | dispatchQueue.asyncAfter(deadline: DispatchTime.now() + duration.timeInterval, execute: closure)
| `- error: cannot find 'DispatchTime' in scope
25 | }
26 |
[127/580] Compiling FreemiumKit resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/FreemiumKit/Sources/FreemiumKit/FreemiumKit.swift:2:19: error: no such module 'FreemiumKitSDK'
1 | #if !os(Linux)
2 | @_exported import FreemiumKitSDK
| `- error: no such module 'FreemiumKitSDK'
3 | #endif
4 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDK/Sources/TelemetryDeck/Helpers/CryptoHashing.swift:1:8: error: no such module 'CommonCrypto'
1 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDK/Sources/TelemetryDeck/Helpers/CryptoHashing.swift:1:8: error: no such module 'CommonCrypto'
1 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDK/Sources/TelemetryDeck/Helpers/CryptoHashing.swift:1:8: error: no such module 'CommonCrypto'
1 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/SwiftSDK/Sources/TelemetryDeck/Helpers/CryptoHashing.swift:1:8: error: no such module 'CommonCrypto'
1 | import CommonCrypto
| `- error: no such module 'CommonCrypto'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/PrintRequestPlugin.swift:85:40: error: cannot find type 'URLRequest' in scope
83 | ///
84 | /// - Parameter request: The URLRequest to potentially log and pass through unchanged.
85 | public func apply(to request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
86 | if self.debugOnly {
87 | #if DEBUG
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/PrintRequestPlugin.swift:98:41: error: cannot find type 'URLRequest' in scope
96 | ///
97 | /// - Parameter request: The URLRequest to print details for.
98 | private func printRequest(_ request: URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
99 | var requestBodyString: String?
100 | if let bodyData = request.httpBody {
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:201:36: error: cannot find type 'URLRequest' in scope
199 |
200 | public protocol RequestPlugin: Sendable {
201 | func apply(to request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
202 | }
203 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/PrintResponsePlugin.swift:93:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
91 | /// - data: The response body data to potentially log.
92 | /// - Throws: Does not throw errors, but passes through any errors from the response processing.
93 | public func apply(to response: inout HTTPURLResponse, data: inout Data) throws {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
94 | if self.debugOnly {
95 | #if DEBUG
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/PrintResponsePlugin.swift:108:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 | /// - response: The HTTPURLResponse to print details for.
107 | /// - data: The response body data to print.
108 | private func printResponse(_ response: HTTPURLResponse, data: Data) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
109 | var responseBodyString: String?
110 | if !data.isEmpty {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/PrintResponsePlugin.swift:116:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
114 | // Clean headers formatting - sorted alphabetically for consistency, no AnyHashable wrappers
115 | var headersString = ""
116 | let cleanHeaders = response.allHeaderFields
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
117 | .compactMapValues { "\($0)" }
118 | .sorted { "\($0.key)" < "\($1.key)" }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/PrintResponsePlugin.swift:124:44: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
122 |
123 | print(
124 | "[RESTClient] Response \(response.statusCode) from '\(response.url!)'\n\nResponse headers:\(headersString)\n\nResponse body:\n\(responseBodyString ?? "No body")"
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
125 | )
126 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:19:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 | case failedToDecodeClientErrorBody(Error, Context?)
18 | case clientError(String, Context?)
19 | case unexpectedResponseType(URLResponse, Context?)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | case unexpectedStatusCode(Int, Context?)
21 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:19:12: error: associated value 'unexpectedResponseType' of 'Sendable'-conforming enum 'APIError' contains non-Sendable type 'AnyObject'
17 | case failedToDecodeClientErrorBody(Error, Context?)
18 | case clientError(String, Context?)
19 | case unexpectedResponseType(URLResponse, Context?)
| `- error: associated value 'unexpectedResponseType' of 'Sendable'-conforming enum 'APIError' contains non-Sendable type 'AnyObject'
20 | case unexpectedStatusCode(Int, Context?)
21 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:205:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
203 |
204 | public protocol ResponsePlugin: Sendable {
205 | func apply(to response: inout HTTPURLResponse, data: inout Data) throws
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
206 | }
207 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:213:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
211 | let jsonEncoder: JSONEncoder
212 | let jsonDecoder: JSONDecoder
213 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
214 | let requestPlugins: [any RequestPlugin]
215 | let responsePlugins: [any ResponsePlugin]
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:226:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
224 | jsonEncoder: JSONEncoder = .init(),
225 | jsonDecoder: JSONDecoder = .init(),
226 | urlSession: URLSession = .shared,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
227 | requestPlugins: [any RequestPlugin] = [],
228 | responsePlugins: [any ResponsePlugin] = [],
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:226:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
224 | jsonEncoder: JSONEncoder = .init(),
225 | jsonDecoder: JSONDecoder = .init(),
226 | urlSession: URLSession = .shared,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
227 | requestPlugins: [any RequestPlugin] = [],
228 | responsePlugins: [any ResponsePlugin] = [],
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:226:33: error: value of type '_' expected to be instance of class or class-constrained type
224 | jsonEncoder: JSONEncoder = .init(),
225 | jsonDecoder: JSONDecoder = .init(),
226 | urlSession: URLSession = .shared,
| `- error: value of type '_' expected to be instance of class or class-constrained type
227 | requestPlugins: [any RequestPlugin] = [],
228 | responsePlugins: [any ResponsePlugin] = [],
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:325:43: error: cannot find type 'URLRequest' in scope
323 | }
324 |
325 | private func performRequest(_ request: URLRequest, errorContext: String?) async throws(APIError) -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
326 | let data: Data
327 | let response: URLResponse
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:325:111: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
323 | }
324 |
325 | private func performRequest(_ request: URLRequest, errorContext: String?) async throws(APIError) -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
326 | let data: Data
327 | let response: URLResponse
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:337:72: error: cannot find type 'URLRequest' in scope
335 | }
336 |
337 | private func handle(data: Data, response: URLResponse, for request: URLRequest, errorContext: String?, attempt: Int = 1) async throws(APIError)
| `- error: cannot find type 'URLRequest' in scope
338 | -> Data
339 | {
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:337:46: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
335 | }
336 |
337 | private func handle(data: Data, response: URLResponse, for request: URLRequest, errorContext: String?, attempt: Int = 1) async throws(APIError)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 | -> Data
339 | {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:213:8: error: stored property 'urlSession' of 'Sendable'-conforming class 'RESTClient' has non-Sendable type 'AnyObject'
211 | let jsonEncoder: JSONEncoder
212 | let jsonDecoder: JSONDecoder
213 | let urlSession: URLSession
| `- error: stored property 'urlSession' of 'Sendable'-conforming class 'RESTClient' has non-Sendable type 'AnyObject'
214 | let requestPlugins: [any RequestPlugin]
215 | let responsePlugins: [any ResponsePlugin]
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:292:21: error: cannot find 'URLRequest' in scope
290 | }
291 |
292 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
293 | request.httpMethod = method.rawValue
294 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:327:21: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
325 | private func performRequest(_ request: URLRequest, errorContext: String?) async throws(APIError) -> (Data, URLResponse) {
326 | let data: Data
327 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
328 | do {
329 | (data, response) = try await self.urlSession.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/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:329:55: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
327 | let response: URLResponse
328 | do {
329 | (data, response) = try await self.urlSession.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
330 | } catch {
331 | throw APIError.failedToLoadData(error, self.errorContext(requestContext: errorContext))
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:340:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 | -> Data
339 | {
340 | guard var httpResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 | throw .unexpectedResponseType(response, self.errorContext(requestContext: errorContext))
342 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:353:27: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
351 | }
352 |
353 | switch httpResponse.statusCode {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
354 | case 200..<300:
355 | return data
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:363:61: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
361 |
362 | // respect the server retry-after(-ms) value if it exists, allowing values betwen 0.5-5 seconds
363 | if let retryAfterMillisecondsString = httpResponse.value(forHTTPHeaderField: "retry-after-ms"),
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
364 | let retryAfterMilliseconds = Double(retryAfterMillisecondsString)
365 | {
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:367:56: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
365 | {
366 | sleepSeconds = max(0.5, min(retryAfterMilliseconds, 5))
367 | } else if let retryAfterString = httpResponse.value(forHTTPHeaderField: "retry-after"),
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
368 | let retryAfter = Double(retryAfterString)
369 | {
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Types/RESTClient.swift:385:55: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
383 | guard !data.isEmpty else {
384 | throw .clientError(
385 | "Unexpected status code \(httpResponse.statusCode) without a response body.",
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
386 | self.errorContext(requestContext: errorContext)
387 | )
BUILD FAILURE 6.3 wasm