The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BartyCrouch, reference 4.15.1 (fe8811), with Swift 6.3 for Wasm on 21 Apr 2026 12:11:13 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FlineDev/BartyCrouch.git
Reference: 4.15.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/FlineDev/BartyCrouch
 * tag               4.15.1     -> FETCH_HEAD
HEAD is now at fe88110 Merge branch 'release/4.15.1' into versions
Cloned https://github.com/FlineDev/BartyCrouch.git
Revision (git rev-parse @):
fe88110ab0af3d1281138b63159e20a7450383fa
SUCCESS checkout https://github.com/FlineDev/BartyCrouch.git at 4.15.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/FlineDev/BartyCrouch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/Flinesoft/Microya.git
[1/824] Fetching microya
Fetched https://github.com/Flinesoft/Microya.git from cache (0.28s)
Fetching https://github.com/jdfergason/swift-toml.git
[1/582] Fetching swift-toml
Fetched https://github.com/jdfergason/swift-toml.git from cache (0.84s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/Flinesoft/HandySwift.git
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/Flinesoft/MungoHealer.git
Fetching https://github.com/pointfreeco/swift-custom-dump.git
[1/3483] Fetching handyswift
[1534/4925] Fetching handyswift, rainbow
[3300/5373] Fetching handyswift, rainbow, mungohealer
[3566/10447] Fetching handyswift, rainbow, mungohealer, swiftcli
[4122/15911] Fetching handyswift, rainbow, mungohealer, swiftcli, swift-custom-dump
[14999/90892] Fetching handyswift, rainbow, mungohealer, swiftcli, swift-custom-dump, swift-syntax
Fetched https://github.com/Flinesoft/MungoHealer.git from cache (1.05s)
Fetched https://github.com/onevcat/Rainbow.git from cache (1.05s)
[17021/89002] Fetching handyswift, swiftcli, swift-custom-dump, swift-syntax
Fetched https://github.com/Flinesoft/HandySwift.git from cache (1.06s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (1.06s)
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (1.06s)
[3750/74981] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (5.96s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (6.44s)
Computing version for https://github.com/Flinesoft/MungoHealer.git
Computed https://github.com/Flinesoft/MungoHealer.git at 0.3.4 (0.50s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (0.66s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (2.86s)
Computing version for https://github.com/Flinesoft/HandySwift.git
Computed https://github.com/Flinesoft/HandySwift.git at 3.4.0 (0.73s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 0.11.2 (0.60s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.22s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (2.00s)
Creating working copy for https://github.com/Flinesoft/MungoHealer.git
Working copy of https://github.com/Flinesoft/MungoHealer.git resolved at 0.3.4
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 508.0.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump.git
Working copy of https://github.com/pointfreeco/swift-custom-dump.git resolved at 0.11.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/jdfergason/swift-toml.git
Working copy of https://github.com/jdfergason/swift-toml.git resolved at master (f26573b)
Creating working copy for https://github.com/Flinesoft/Microya.git
Working copy of https://github.com/Flinesoft/Microya.git resolved at support/without-combine (bdb03dd)
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
Creating working copy for https://github.com/Flinesoft/HandySwift.git
Working copy of https://github.com/Flinesoft/HandySwift.git resolved at 3.4.0
warning: 'spi-builder-workspace': Invalid Resource 'Secrets/secrets.json': File not found.
Building for debugging...
[0/40] Write sources
[2/40] Copying Localizable.strings
[2/40] Copying Info.plist
[7/40] Write sources
[18/40] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/173] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/175] Emitting module HandySwift
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Extensions/DispatchTimeIntervalExt.swift:5:11: error: cannot find type 'DispatchTimeInterval' in scope
 3 | import Foundation
 4 |
 5 | extension DispatchTimeInterval {
   |           `- error: cannot find type 'DispatchTimeInterval' in scope
 6 |   /// - Returns: The time in seconds using the`TimeInterval` type.
 7 |   public var timeInterval: TimeInterval {
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:11:53: error: cannot find type 'DispatchQoS' in scope
 9 | ///   - qosClass: The global QOS class to be used or `nil` to use the main thread. Defaults to `nil`.
10 | ///   - closure: The code to run with a delay.
11 | public func delay(by delayTime: Timespan, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @escaping () -> Void) {
   |                                                     `- error: cannot find type 'DispatchQoS' in scope
12 |   let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
13 |   dispatchQueue.asyncAfter(deadline: DispatchTime.now() + delayTime, execute: closure)
[22/177] Compiling Rainbow Style.swift
[23/178] Compiling HandySwift Weak.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[24/178] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[25/178] Compiling SwiftSyntax AbsolutePosition.swift
[26/178] Compiling SwiftSyntax BumpPtrAllocator.swift
[27/178] Emitting module Rainbow
[28/178] Compiling SwiftSyntax IncrementalParseTransition.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[29/178] Compiling SwiftSyntax MemoryLayout.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[30/178] Compiling SwiftSyntax RawSyntax.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[31/178] Compiling SwiftSyntax SyntaxArena.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[32/178] Compiling SwiftSyntax SyntaxChildren.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[33/178] Compiling SwiftSyntax SyntaxData.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[34/178] Compiling Rainbow StringGenerator.swift
[37/178] Compiling SwiftSyntax CommonAncestor.swift
[42/178] Compiling SwiftSyntax SyntaxOtherNodes.swift
[43/178] Compiling HandySwift Unowned.swift
[46/178] Compiling SwiftSyntax SourceLocation.swift
[47/178] Compiling SwiftSyntax SourcePresence.swift
[48/178] Compiling SwiftSyntax Syntax.swift
[51/183] Compiling Rainbow String+Rainbow.swift
[52/183] Compiling Rainbow XcodeColorsSupport.swift
[53/183] Compiling SwiftSyntax Misc.swift
[54/183] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[55/183] Compiling SwiftSyntax SyntaxBaseNodes.swift
[56/183] Compiling SwiftSyntax SyntaxEnum.swift
[57/183] Compiling SwiftSyntax SyntaxKind.swift
[58/183] Compiling Microya ProgressIndicatorPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Plugins/ProgressIndicatorPlugin.swift:24:54: error: cannot find type 'URLRequest' in scope
22 |   }
23 |
24 |   override public func willPerformRequest(_ request: URLRequest, endpoint: EndpointType) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
25 |     ongoingRequests += 1
26 |
[59/183] Compiling Microya RequestLoggerPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Plugins/RequestLoggerPlugin.swift:11:28: error: cannot find type 'URLRequest' in scope
 9 |
10 |   public init(
11 |     logClosure: @escaping (URLRequest) -> Void
   |                            `- error: cannot find type 'URLRequest' in scope
12 |   ) {
13 |     self.logClosure = logClosure
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Plugins/RequestLoggerPlugin.swift:8:28: error: cannot find type 'URLRequest' in scope
 6 | /// Allows to log requests the given way provided by a closure before the requests are sent.
 7 | public class RequestLoggerPlugin<EndpointType: Endpoint>: Plugin<EndpointType> {
 8 |   private let logClosure: (URLRequest) -> Void
   |                            `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   public init(
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Plugins/RequestLoggerPlugin.swift:16:54: error: cannot find type 'URLRequest' in scope
14 |   }
15 |
16 |   override public func willPerformRequest(_ request: URLRequest, endpoint: EndpointType) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
17 |     logClosure(request)
18 |   }
[60/184] Compiling SwiftSyntax RawSyntaxLayoutView.swift
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Extensions/DispatchTimeIntervalExt.swift:5:11: error: cannot find type 'DispatchTimeInterval' in scope
 3 | import Foundation
 4 |
 5 | extension DispatchTimeInterval {
   |           `- error: cannot find type 'DispatchTimeInterval' in scope
 6 |   /// - Returns: The time in seconds using the`TimeInterval` type.
 7 |   public var timeInterval: TimeInterval {
[61/184] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Extensions/DispatchTimeIntervalExt.swift:5:11: error: cannot find type 'DispatchTimeInterval' in scope
 3 | import Foundation
 4 |
 5 | extension DispatchTimeInterval {
   |           `- error: cannot find type 'DispatchTimeInterval' in scope
 6 |   /// - Returns: The time in seconds using the`TimeInterval` type.
 7 |   public var timeInterval: TimeInterval {
[62/184] Compiling SwiftSyntax RawSyntaxTokenView.swift
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Extensions/DispatchTimeIntervalExt.swift:5:11: error: cannot find type 'DispatchTimeInterval' in scope
 3 | import Foundation
 4 |
 5 | extension DispatchTimeInterval {
   |           `- error: cannot find type 'DispatchTimeInterval' in scope
 6 |   /// - Returns: The time in seconds using the`TimeInterval` type.
 7 |   public var timeInterval: TimeInterval {
[65/185] Emitting module Toml
[66/185] Compiling BartyCrouchUtility Secret.swift
[67/185] Compiling BartyCrouchUtility Transformer.swift
[71/185] Compiling SwiftSyntax RawSyntaxNodes.swift
[72/186] Compiling BartyCrouchUtility Constants.swift
[73/186] Emitting module BartyCrouchUtility
[84/186] Compiling Microya HttpAuthPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Plugins/HttpAuthPlugin.swift:32:55: error: cannot find type 'URLRequest' in scope
30 |   }
31 |
32 |   override public func modifyRequest(_ request: inout URLRequest, endpoint: EndpointType) {
   |                                                       `- error: cannot find type 'URLRequest' in scope
33 |     if let token = tokenClosure() {
34 |       request.addValue("\(scheme.rawValue) \(token)", forHTTPHeaderField: "Authorization")
error: emit-module command failed with exit code 1 (use -v to see invocation)
[85/186] Emitting module Microya
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiError.swift:27:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |   /// Server responded with a non HTTP response, although an HTTP request was made. Either a bug in `JsonApi` or on the server side.
27 |   case unexpectedResponseType(response: URLResponse)
   |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |   /// The `mockingBehavior` was set to non-nil (for testing) but no `mockedResponse` was provided for the requested endpoint.
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/Microya/Sources/Microya/Core/ApiProvider.swift:12:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |
 11 |   /// The lower level Result structure received directly from the native `URLSession` data task calls.
 12 |   public typealias URLSessionResult = (data: Data?, response: URLResponse?, error: Error?)
    |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |   /// The plugins to apply per 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/Microya/Sources/Microya/Core/ApiProvider.swift:147:15: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
145 |   private func decodeBodyToResultType<ResultType: Decodable>(
146 |     data: Data?,
147 |     response: URLResponse?,
    |               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |     endpoint: EndpointType
149 |   ) throws -> ResultType {
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/Microya/Sources/Microya/Core/Endpoint.swift:37:38: error: cannot find type 'URLRequest' in scope
 35 |
 36 | extension Endpoint {
 37 |   func buildRequest(baseUrl: URL) -> URLRequest {
    |                                      `- error: cannot find type 'URLRequest' in scope
 38 |     var request = URLRequest(url: buildRequestUrl(baseUrl: baseUrl))
 39 |
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/HttpMethod.swift:20:32: error: cannot find type 'URLRequest' in scope
18 |   case delete
19 |
20 |   func apply(to request: inout URLRequest) {
   |                                `- error: cannot find type 'URLRequest' in scope
21 |     switch self {
22 |     case .get:
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/MockedResponse.swift:52:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |   }
51 |
52 |   func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
   |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |     .init(
54 |       url: url(baseUrl: baseUrl),
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/Microya/Sources/Microya/Core/Plugin.swift:17:44: error: cannot find type 'URLRequest' in scope
15 |
16 |   /// Called to modify a request before sending.
17 |   open func modifyRequest(_ request: inout URLRequest, endpoint: EndpointType) { /* no-op */  }
   |                                            `- error: cannot find type 'URLRequest' in scope
18 |
19 |   /// Called immediately before a request is sent.
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Plugin.swift:20:43: error: cannot find type 'URLRequest' in scope
18 |
19 |   /// Called immediately before a request is sent.
20 |   open func willPerformRequest(_ request: URLRequest, endpoint: EndpointType) { /* no-op */  }
   |                                           `- error: cannot find type 'URLRequest' in scope
21 |
22 |   /// Called after a response has been received & decoded, but before calling the completion handler.
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Plugins/HttpAuthPlugin.swift:32:55: error: cannot find type 'URLRequest' in scope
30 |   }
31 |
32 |   override public func modifyRequest(_ request: inout URLRequest, endpoint: EndpointType) {
   |                                                       `- error: cannot find type 'URLRequest' in scope
33 |     if let token = tokenClosure() {
34 |       request.addValue("\(scheme.rawValue) \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Plugins/ProgressIndicatorPlugin.swift:24:54: error: cannot find type 'URLRequest' in scope
22 |   }
23 |
24 |   override public func willPerformRequest(_ request: URLRequest, endpoint: EndpointType) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
25 |     ongoingRequests += 1
26 |
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Plugins/RequestLoggerPlugin.swift:11:28: error: cannot find type 'URLRequest' in scope
 9 |
10 |   public init(
11 |     logClosure: @escaping (URLRequest) -> Void
   |                            `- error: cannot find type 'URLRequest' in scope
12 |   ) {
13 |     self.logClosure = logClosure
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Plugins/RequestLoggerPlugin.swift:8:28: error: cannot find type 'URLRequest' in scope
 6 | /// Allows to log requests the given way provided by a closure before the requests are sent.
 7 | public class RequestLoggerPlugin<EndpointType: Endpoint>: Plugin<EndpointType> {
 8 |   private let logClosure: (URLRequest) -> Void
   |                            `- error: cannot find type 'URLRequest' in scope
 9 |
10 |   public init(
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Plugins/RequestLoggerPlugin.swift:16:54: error: cannot find type 'URLRequest' in scope
14 |   }
15 |
16 |   override public func willPerformRequest(_ request: URLRequest, endpoint: EndpointType) {
   |                                                      `- error: cannot find type 'URLRequest' in scope
17 |     logClosure(request)
18 |   }
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[90/187] Emitting module MungoHealer
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[97/187] Compiling SwiftSyntax RawSyntaxValidation.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[98/187] Compiling SwiftSyntax SourceLength.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Plugin.swift:17:44: error: cannot find type 'URLRequest' in scope
15 |
16 |   /// Called to modify a request before sending.
17 |   open func modifyRequest(_ request: inout URLRequest, endpoint: EndpointType) { /* no-op */  }
   |                                            `- error: cannot find type 'URLRequest' in scope
18 |
19 |   /// Called immediately before a request is sent.
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Plugin.swift:20:43: error: cannot find type 'URLRequest' in scope
18 |
19 |   /// Called immediately before a request is sent.
20 |   open func willPerformRequest(_ request: URLRequest, endpoint: EndpointType) { /* no-op */  }
   |                                           `- error: cannot find type 'URLRequest' in scope
21 |
22 |   /// Called after a response has been received & decoded, but before calling the completion handler.
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Plugin.swift:17:44: error: cannot find type 'URLRequest' in scope
15 |
16 |   /// Called to modify a request before sending.
17 |   open func modifyRequest(_ request: inout URLRequest, endpoint: EndpointType) { /* no-op */  }
   |                                            `- error: cannot find type 'URLRequest' in scope
18 |
19 |   /// Called immediately before a request is sent.
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Plugin.swift:20:43: error: cannot find type 'URLRequest' in scope
18 |
19 |   /// Called immediately before a request is sent.
20 |   open func willPerformRequest(_ request: URLRequest, endpoint: EndpointType) { /* no-op */  }
   |                                           `- error: cannot find type 'URLRequest' in scope
21 |
22 |   /// Called after a response has been received & decoded, but before calling the completion handler.
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiError.swift:27:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |   /// Server responded with a non HTTP response, although an HTTP request was made. Either a bug in `JsonApi` or on the server side.
27 |   case unexpectedResponseType(response: URLResponse)
   |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |   /// The `mockingBehavior` was set to non-nil (for testing) but no `mockedResponse` was provided for the requested endpoint.
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/Microya/Sources/Microya/Core/ApiProvider.swift:12:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |
 11 |   /// The lower level Result structure received directly from the native `URLSession` data task calls.
 12 |   public typealias URLSessionResult = (data: Data?, response: URLResponse?, error: Error?)
    |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |   /// The plugins to apply per 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/Microya/Sources/Microya/Core/ApiProvider.swift:147:15: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
145 |   private func decodeBodyToResultType<ResultType: Decodable>(
146 |     data: Data?,
147 |     response: URLResponse?,
    |               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |     endpoint: EndpointType
149 |   ) throws -> ResultType {
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/Microya/Sources/Microya/Core/ApiProvider.swift:59:18: error: cannot find type 'URLRequest' in scope
 57 |     completion: @escaping (TypedResult<ResultType>) -> Void
 58 |   ) {
 59 |     var request: URLRequest = endpoint.buildRequest(baseUrl: baseUrl)
    |                  `- error: cannot find type 'URLRequest' in scope
 60 |
 61 |     for plugin in plugins {
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Endpoint.swift:37:38: error: cannot find type 'URLRequest' in scope
 35 |
 36 | extension Endpoint {
 37 |   func buildRequest(baseUrl: URL) -> URLRequest {
    |                                      `- error: cannot find type 'URLRequest' in scope
 38 |     var request = URLRequest(url: buildRequestUrl(baseUrl: baseUrl))
 39 |
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Plugin.swift:17:44: error: cannot find type 'URLRequest' in scope
15 |
16 |   /// Called to modify a request before sending.
17 |   open func modifyRequest(_ request: inout URLRequest, endpoint: EndpointType) { /* no-op */  }
   |                                            `- error: cannot find type 'URLRequest' in scope
18 |
19 |   /// Called immediately before a request is sent.
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Plugin.swift:20:43: error: cannot find type 'URLRequest' in scope
18 |
19 |   /// Called immediately before a request is sent.
20 |   open func willPerformRequest(_ request: URLRequest, endpoint: EndpointType) { /* no-op */  }
   |                                           `- error: cannot find type 'URLRequest' in scope
21 |
22 |   /// Called after a response has been received & decoded, but before calling the completion handler.
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:69:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |     }
 68 |
 69 |     func handleDataTaskCompletion(data: Data?, response: URLResponse?, error: Error?) {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |       let urlSessionResult: URLSessionResult = (data: data, response: response, error: error)
 71 |       let typedResult: TypedResult<ResultType> = self.decodeBody(from: urlSessionResult, endpoint: endpoint)
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/Microya/Sources/Microya/Core/ApiProvider.swift:96:18: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 94 |     else {
 95 |       // this is the main logic, making the actual call
 96 |       URLSession.shared.dataTask(with: request, completionHandler: handleDataTaskCompletion).resume()
    |                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 97 |     }
 98 |   }
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:108:25: error: cannot find 'DispatchGroup' in scope
106 |     decodeBodyTo bodyType: ResultType.Type
107 |   ) -> TypedResult<ResultType> {
108 |     let dispatchGroup = DispatchGroup()
    |                         `- error: cannot find 'DispatchGroup' in scope
109 |     dispatchGroup.enter()
110 |
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:154:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 |     }
153 |
154 |     guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 |       throw ApiError<EndpointType.ClientErrorType>.unexpectedResponseType(response: response)
156 |     }
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/Microya/Sources/Microya/Core/ApiProvider.swift:158:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
156 |     }
157 |
158 |     switch httpResponse.statusCode {
    |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
159 |     case 200..<300:
160 |       if ResultType.self == EmptyBodyResponse.self {
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:165:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
163 |
164 |       guard let data = data else {
165 |         throw ApiError<EndpointType.ClientErrorType>.noDataInResponse(statusCode: httpResponse.statusCode)
    |                                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
166 |       }
167 |
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:183:38: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
181 |         throw ApiError<EndpointType.ClientErrorType>
182 |           .clientError(
183 |             statusCode: httpResponse.statusCode,
    |                                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
184 |             clientError: nil
185 |           )
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:189:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
187 |
188 |       guard let data = data else {
189 |         throw ApiError<EndpointType.ClientErrorType>.noDataInResponse(statusCode: httpResponse.statusCode)
    |                                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
190 |       }
191 |
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:195:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
193 |       throw ApiError<EndpointType.ClientErrorType>
194 |         .clientError(
195 |           statusCode: httpResponse.statusCode,
    |                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
196 |           clientError: clientError
197 |         )
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:200:89: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
198 |
199 |     case 500..<600:
200 |       throw ApiError<EndpointType.ClientErrorType>.serverError(statusCode: httpResponse.statusCode)
    |                                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
201 |
202 |     default:
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:203:98: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
201 |
202 |     default:
203 |       throw ApiError<EndpointType.ClientErrorType>.unexpectedStatusCode(statusCode: httpResponse.statusCode)
    |                                                                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
204 |     }
205 |   }
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiError.swift:27:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |
26 |   /// Server responded with a non HTTP response, although an HTTP request was made. Either a bug in `JsonApi` or on the server side.
27 |   case unexpectedResponseType(response: URLResponse)
   |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |
29 |   /// The `mockingBehavior` was set to non-nil (for testing) but no `mockedResponse` was provided for the requested endpoint.
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/Microya/Sources/Microya/Core/ApiProvider.swift:12:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |
 11 |   /// The lower level Result structure received directly from the native `URLSession` data task calls.
 12 |   public typealias URLSessionResult = (data: Data?, response: URLResponse?, error: Error?)
    |                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |   /// The plugins to apply per 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/Microya/Sources/Microya/Core/ApiProvider.swift:147:15: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
145 |   private func decodeBodyToResultType<ResultType: Decodable>(
146 |     data: Data?,
147 |     response: URLResponse?,
    |               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |     endpoint: EndpointType
149 |   ) throws -> ResultType {
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/Microya/Sources/Microya/Core/ApiProvider.swift:59:18: error: cannot find type 'URLRequest' in scope
 57 |     completion: @escaping (TypedResult<ResultType>) -> Void
 58 |   ) {
 59 |     var request: URLRequest = endpoint.buildRequest(baseUrl: baseUrl)
    |                  `- error: cannot find type 'URLRequest' in scope
 60 |
 61 |     for plugin in plugins {
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Endpoint.swift:37:38: error: cannot find type 'URLRequest' in scope
 35 |
 36 | extension Endpoint {
 37 |   func buildRequest(baseUrl: URL) -> URLRequest {
    |                                      `- error: cannot find type 'URLRequest' in scope
 38 |     var request = URLRequest(url: buildRequestUrl(baseUrl: baseUrl))
 39 |
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Plugin.swift:17:44: error: cannot find type 'URLRequest' in scope
15 |
16 |   /// Called to modify a request before sending.
17 |   open func modifyRequest(_ request: inout URLRequest, endpoint: EndpointType) { /* no-op */  }
   |                                            `- error: cannot find type 'URLRequest' in scope
18 |
19 |   /// Called immediately before a request is sent.
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Plugin.swift:20:43: error: cannot find type 'URLRequest' in scope
18 |
19 |   /// Called immediately before a request is sent.
20 |   open func willPerformRequest(_ request: URLRequest, endpoint: EndpointType) { /* no-op */  }
   |                                           `- error: cannot find type 'URLRequest' in scope
21 |
22 |   /// Called after a response has been received & decoded, but before calling the completion handler.
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:69:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |     }
 68 |
 69 |     func handleDataTaskCompletion(data: Data?, response: URLResponse?, error: Error?) {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |       let urlSessionResult: URLSessionResult = (data: data, response: response, error: error)
 71 |       let typedResult: TypedResult<ResultType> = self.decodeBody(from: urlSessionResult, endpoint: endpoint)
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/Microya/Sources/Microya/Core/ApiProvider.swift:96:18: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 94 |     else {
 95 |       // this is the main logic, making the actual call
 96 |       URLSession.shared.dataTask(with: request, completionHandler: handleDataTaskCompletion).resume()
    |                  `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 97 |     }
 98 |   }
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:108:25: error: cannot find 'DispatchGroup' in scope
106 |     decodeBodyTo bodyType: ResultType.Type
107 |   ) -> TypedResult<ResultType> {
108 |     let dispatchGroup = DispatchGroup()
    |                         `- error: cannot find 'DispatchGroup' in scope
109 |     dispatchGroup.enter()
110 |
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:154:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 |     }
153 |
154 |     guard let httpResponse = response as? HTTPURLResponse else {
    |                                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 |       throw ApiError<EndpointType.ClientErrorType>.unexpectedResponseType(response: response)
156 |     }
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/Microya/Sources/Microya/Core/ApiProvider.swift:158:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
156 |     }
157 |
158 |     switch httpResponse.statusCode {
    |                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
159 |     case 200..<300:
160 |       if ResultType.self == EmptyBodyResponse.self {
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:165:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
163 |
164 |       guard let data = data else {
165 |         throw ApiError<EndpointType.ClientErrorType>.noDataInResponse(statusCode: httpResponse.statusCode)
    |                                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
166 |       }
167 |
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:183:38: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
181 |         throw ApiError<EndpointType.ClientErrorType>
182 |           .clientError(
183 |             statusCode: httpResponse.statusCode,
    |                                      `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
184 |             clientError: nil
185 |           )
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:189:96: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
187 |
188 |       guard let data = data else {
189 |         throw ApiError<EndpointType.ClientErrorType>.noDataInResponse(statusCode: httpResponse.statusCode)
    |                                                                                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
190 |       }
191 |
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:195:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
193 |       throw ApiError<EndpointType.ClientErrorType>
194 |         .clientError(
195 |           statusCode: httpResponse.statusCode,
    |                                    `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
196 |           clientError: clientError
197 |         )
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:200:89: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
198 |
199 |     case 500..<600:
200 |       throw ApiError<EndpointType.ClientErrorType>.serverError(statusCode: httpResponse.statusCode)
    |                                                                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
201 |
202 |     default:
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:203:98: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
201 |
202 |     default:
203 |       throw ApiError<EndpointType.ClientErrorType>.unexpectedStatusCode(statusCode: httpResponse.statusCode)
    |                                                                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
204 |     }
205 |   }
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Endpoint.swift:37:38: error: cannot find type 'URLRequest' in scope
 35 |
 36 | extension Endpoint {
 37 |   func buildRequest(baseUrl: URL) -> URLRequest {
    |                                      `- error: cannot find type 'URLRequest' in scope
 38 |     var request = URLRequest(url: buildRequestUrl(baseUrl: baseUrl))
 39 |
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Endpoint.swift:38:19: error: cannot find 'URLRequest' in scope
 36 | extension Endpoint {
 37 |   func buildRequest(baseUrl: URL) -> URLRequest {
 38 |     var request = URLRequest(url: buildRequestUrl(baseUrl: baseUrl))
    |                   `- error: cannot find 'URLRequest' in scope
 39 |
 40 |     method.apply(to: &request)
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/HttpMethod.swift:20:32: error: cannot find type 'URLRequest' in scope
18 |   case delete
19 |
20 |   func apply(to request: inout URLRequest) {
   |                                `- error: cannot find type 'URLRequest' in scope
21 |     switch self {
22 |     case .get:
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Endpoint.swift:37:38: error: cannot find type 'URLRequest' in scope
 35 |
 36 | extension Endpoint {
 37 |   func buildRequest(baseUrl: URL) -> URLRequest {
    |                                      `- error: cannot find type 'URLRequest' in scope
 38 |     var request = URLRequest(url: buildRequestUrl(baseUrl: baseUrl))
 39 |
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Endpoint.swift:38:19: error: cannot find 'URLRequest' in scope
 36 | extension Endpoint {
 37 |   func buildRequest(baseUrl: URL) -> URLRequest {
 38 |     var request = URLRequest(url: buildRequestUrl(baseUrl: baseUrl))
    |                   `- error: cannot find 'URLRequest' in scope
 39 |
 40 |     method.apply(to: &request)
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/HttpMethod.swift:20:32: error: cannot find type 'URLRequest' in scope
18 |   case delete
19 |
20 |   func apply(to request: inout URLRequest) {
   |                                `- error: cannot find type 'URLRequest' in scope
21 |     switch self {
22 |     case .get:
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/MockedResponse.swift:52:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |   }
51 |
52 |   func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
   |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |     .init(
54 |       url: url(baseUrl: baseUrl),
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/Microya/Sources/Microya/Core/MockedResponse.swift:53:6: error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
51 |
52 |   func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
53 |     .init(
   |      `- error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
54 |       url: url(baseUrl: baseUrl),
55 |       statusCode: statusCode,
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/MockedResponse.swift:52:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |   }
51 |
52 |   func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
   |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |     .init(
54 |       url: url(baseUrl: baseUrl),
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/Microya/Sources/Microya/Core/MockedResponse.swift:53:6: error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
51 |
52 |   func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
53 |     .init(
   |      `- error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
54 |       url: url(baseUrl: baseUrl),
55 |       statusCode: statusCode,
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:11:53: error: cannot find type 'DispatchQoS' in scope
 9 | ///   - qosClass: The global QOS class to be used or `nil` to use the main thread. Defaults to `nil`.
10 | ///   - closure: The code to run with a delay.
11 | public func delay(by delayTime: Timespan, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @escaping () -> Void) {
   |                                                     `- error: cannot find type 'DispatchQoS' in scope
12 |   let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
13 |   dispatchQueue.asyncAfter(deadline: DispatchTime.now() + delayTime, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:12:41: error: cannot find 'DispatchQueue' in scope
10 | ///   - closure: The code to run with a delay.
11 | public func delay(by delayTime: Timespan, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @escaping () -> Void) {
12 |   let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
   |                                         `- error: cannot find 'DispatchQueue' in scope
13 |   dispatchQueue.asyncAfter(deadline: DispatchTime.now() + delayTime, execute: closure)
14 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:12:80: error: cannot find 'DispatchQueue' in scope
10 | ///   - closure: The code to run with a delay.
11 | public func delay(by delayTime: Timespan, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @escaping () -> Void) {
12 |   let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
   |                                                                                `- error: cannot find 'DispatchQueue' in scope
13 |   dispatchQueue.asyncAfter(deadline: DispatchTime.now() + delayTime, execute: closure)
14 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:13:38: error: cannot find 'DispatchTime' in scope
11 | public func delay(by delayTime: Timespan, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @escaping () -> Void) {
12 |   let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
13 |   dispatchQueue.asyncAfter(deadline: DispatchTime.now() + delayTime, execute: closure)
   |                                      `- error: cannot find 'DispatchTime' in scope
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:11:53: error: cannot find type 'DispatchQoS' in scope
 9 | ///   - qosClass: The global QOS class to be used or `nil` to use the main thread. Defaults to `nil`.
10 | ///   - closure: The code to run with a delay.
11 | public func delay(by delayTime: Timespan, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @escaping () -> Void) {
   |                                                     `- error: cannot find type 'DispatchQoS' in scope
12 |   let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
13 |   dispatchQueue.asyncAfter(deadline: DispatchTime.now() + delayTime, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:12:41: error: cannot find 'DispatchQueue' in scope
10 | ///   - closure: The code to run with a delay.
11 | public func delay(by delayTime: Timespan, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @escaping () -> Void) {
12 |   let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
   |                                         `- error: cannot find 'DispatchQueue' in scope
13 |   dispatchQueue.asyncAfter(deadline: DispatchTime.now() + delayTime, execute: closure)
14 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:12:80: error: cannot find 'DispatchQueue' in scope
10 | ///   - closure: The code to run with a delay.
11 | public func delay(by delayTime: Timespan, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @escaping () -> Void) {
12 |   let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
   |                                                                                `- error: cannot find 'DispatchQueue' in scope
13 |   dispatchQueue.asyncAfter(deadline: DispatchTime.now() + delayTime, execute: closure)
14 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:13:38: error: cannot find 'DispatchTime' in scope
11 | public func delay(by delayTime: Timespan, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @escaping () -> Void) {
12 |   let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
13 |   dispatchQueue.asyncAfter(deadline: DispatchTime.now() + delayTime, execute: closure)
   |                                      `- error: cannot find 'DispatchTime' in scope
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:11:53: error: cannot find type 'DispatchQoS' in scope
 9 | ///   - qosClass: The global QOS class to be used or `nil` to use the main thread. Defaults to `nil`.
10 | ///   - closure: The code to run with a delay.
11 | public func delay(by delayTime: Timespan, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @escaping () -> Void) {
   |                                                     `- error: cannot find type 'DispatchQoS' in scope
12 |   let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
13 |   dispatchQueue.asyncAfter(deadline: DispatchTime.now() + delayTime, execute: closure)
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:12:41: error: cannot find 'DispatchQueue' in scope
10 | ///   - closure: The code to run with a delay.
11 | public func delay(by delayTime: Timespan, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @escaping () -> Void) {
12 |   let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
   |                                         `- error: cannot find 'DispatchQueue' in scope
13 |   dispatchQueue.asyncAfter(deadline: DispatchTime.now() + delayTime, execute: closure)
14 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:12:80: error: cannot find 'DispatchQueue' in scope
10 | ///   - closure: The code to run with a delay.
11 | public func delay(by delayTime: Timespan, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @escaping () -> Void) {
12 |   let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
   |                                                                                `- error: cannot find 'DispatchQueue' in scope
13 |   dispatchQueue.asyncAfter(deadline: DispatchTime.now() + delayTime, execute: closure)
14 | }
/host/spi-builder-workspace/.build/checkouts/HandySwift/Sources/HandySwift/Globals.swift:13:38: error: cannot find 'DispatchTime' in scope
11 | public func delay(by delayTime: Timespan, qosClass: DispatchQoS.QoSClass? = nil, _ closure: @escaping () -> Void) {
12 |   let dispatchQueue = qosClass != nil ? DispatchQueue.global(qos: qosClass!) : DispatchQueue.main
13 |   dispatchQueue.asyncAfter(deadline: DispatchTime.now() + delayTime, execute: closure)
   |                                      `- error: cannot find 'DispatchTime' in scope
14 | }
15 |
[120/187] Compiling Rainbow Rainbow.swift
[121/187] Compiling Toml Tokens.swift
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/Plugin.swift:17:44: error: cannot find type 'URLRequest' in scope
15 |
16 |   /// Called to modify a request before sending.
17 |   open func modifyRequest(_ request: inout URLRequest, endpoint: EndpointType) { /* no-op */  }
   |                                            `- error: cannot find type 'URLRequest' in scope
18 |
19 |   /// Called immediately before a request is sent.
[127/187] Wrapping AST for BartyCrouchUtility for debugging
BUILD FAILURE 6.3 wasm