The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Just, reference 0.8.0 (1824bf), with Swift 6.1 for Wasm on 27 May 2025 17:51:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dduan/Just.git
Reference: 0.8.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/dduan/Just
 * tag               0.8.0      -> FETCH_HEAD
HEAD is now at 1824bf8 Update Podspec
Cloned https://github.com/dduan/Just.git
Revision (git rev-parse @):
1824bf84cf52d11d69ae20cfb89f0ce5bffa5650
SUCCESS checkout https://github.com/dduan/Just.git at 0.8.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dduan/Just.git
https://github.com/dduan/Just.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Just",
  "name" : "Just",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Just",
      "targets" : [
        "Just"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "JustTests",
      "module_type" : "SwiftTarget",
      "name" : "JustTests",
      "path" : "Tests/JustTests",
      "sources" : [
        "CaseInsensitiveDictionaryTests.swift",
        "JustTests.swift"
      ],
      "target_dependencies" : [
        "Just"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Just",
      "module_type" : "SwiftTarget",
      "name" : "Just",
      "path" : "Sources/Just",
      "product_memberships" : [
        "Just"
      ],
      "sources" : [
        "Just.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Just
/host/spi-builder-workspace/Sources/Just/Just.swift:104:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 102 | }
 103 |
 104 | extension URLResponse {
     | `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 105 |   var HTTPHeaders: [String: String] {
 106 |     return (self as? HTTPURLResponse)?.allHeaderFields as? [String: String]
/host/spi-builder-workspace/Sources/Just/Just.swift:133:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 131 | public final class HTTPResult : NSObject {
 132 |   public final var content: Data?
 133 |   public var response: URLResponse?
     |                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 134 |   public var error: Error?
 135 |   public var request: URLRequest? { return task?.originalRequest }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:135:23: error: cannot find type 'URLRequest' in scope
 133 |   public var response: URLResponse?
 134 |   public var error: Error?
 135 |   public var request: URLRequest? { return task?.originalRequest }
     |                       `- error: cannot find type 'URLRequest' in scope
 136 |   public var task: URLSessionTask?
 137 |   public var encoding = String.Encoding.utf8
/host/spi-builder-workspace/Sources/Just/Just.swift:136:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 134 |   public var error: Error?
 135 |   public var request: URLRequest? { return task?.originalRequest }
 136 |   public var task: URLSessionTask?
     |                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 137 |   public var encoding = String.Encoding.utf8
 138 |   public var JSONReadingOptions = JSONSerialization.ReadingOptions(rawValue: 0)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:173:38: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 171 |   }
 172 |
 173 |   public init(data: Data?, response: URLResponse?, error: Error?,
     |                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 174 |               task: URLSessionTask?)
 175 |   {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:174:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 172 |
 173 |   public init(data: Data?, response: URLResponse?, error: Error?,
 174 |               task: URLSessionTask?)
     |                     `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 175 |   {
 176 |     self.content = data
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:198:34: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 196 |   public lazy var headers: CaseInsensitiveDictionary<String, String> = {
 197 |     return CaseInsensitiveDictionary<String, String>(
 198 |       dictionary: self.response?.HTTPHeaders ?? [:])
     |                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 199 |   }()
 200 |
/host/spi-builder-workspace/Sources/Just/Just.swift:201:37: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 199 |   }()
 200 |
 201 |   public lazy var cookies: [String: HTTPCookie] = {
     |                                     `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 202 |     let foundCookies: [HTTPCookie]
 203 |     if let headers = self.response?.HTTPHeaders, let url = self.response?.url {
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:203:37: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 201 |   public lazy var cookies: [String: HTTPCookie] = {
 202 |     let foundCookies: [HTTPCookie]
 203 |     if let headers = self.response?.HTTPHeaders, let url = self.response?.url {
     |                                     `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 204 |       foundCookies = HTTPCookie.cookies(withResponseHeaderFields: headers,
 205 |                                         for: url)
/host/spi-builder-workspace/Sources/Just/Just.swift:347:24: error: cannot find type 'URLRequest' in scope
 345 |   let credential: Credentials?
 346 |   let redirects: Bool
 347 |   let originalRequest: URLRequest?
     |                        `- error: cannot find type 'URLRequest' in scope
 348 |   var data: Data
 349 |   let progressHandler: TaskProgressHandler?
/host/spi-builder-workspace/Sources/Just/Just.swift:358:51: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 356 |   public var headers: [String: String]
 357 |   public var multipartBoundary: String
 358 |   public var credentialPersistence: URLCredential.Persistence
     |                                                   `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 359 |   public var encoding: String.Encoding
 360 |   public var cachePolicy: NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/Just/Just.swift:360:27: error: cannot find type 'NSURLRequest' in scope
 358 |   public var credentialPersistence: URLCredential.Persistence
 359 |   public var encoding: String.Encoding
 360 |   public var cachePolicy: NSURLRequest.CachePolicy
     |                           `- error: cannot find type 'NSURLRequest' in scope
 361 |   public init(
 362 |     JSONReadingOptions: JSONSerialization.ReadingOptions =
/host/spi-builder-workspace/Sources/Just/Just.swift:368:42: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 366 |     headers: [String: String] = [:],
 367 |     multipartBoundary: String = "Ju5tH77P15Aw350m3",
 368 |     credentialPersistence: URLCredential.Persistence = .forSession,
     |                                          `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 369 |     encoding: String.Encoding = String.Encoding.utf8,
 370 |     cachePolicy: NSURLRequest.CachePolicy = .reloadIgnoringLocalCacheData)
/host/spi-builder-workspace/Sources/Just/Just.swift:370:18: error: cannot find type 'NSURLRequest' in scope
 368 |     credentialPersistence: URLCredential.Persistence = .forSession,
 369 |     encoding: String.Encoding = String.Encoding.utf8,
 370 |     cachePolicy: NSURLRequest.CachePolicy = .reloadIgnoringLocalCacheData)
     |                  `- error: cannot find type 'NSURLRequest' in scope
 371 |   {
 372 |     self.JSONReadingOptions = JSONReadingOptions
/host/spi-builder-workspace/Sources/Just/Just.swift:419:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 417 |     ) -> HTTPResult
 418 |
 419 |   init(session: URLSession?, defaults: JustSessionDefaults?)
     |                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 420 | }
 421 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:424:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 422 | public struct JustOf<Adaptor: JustAdaptor> {
 423 |   let adaptor: Adaptor
 424 |   public init(session: URLSession? = nil,
     |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 425 |               defaults: JustSessionDefaults? = nil)
 426 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:731:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 729 | public final class HTTP: NSObject, URLSessionDelegate, JustAdaptor {
 730 |
 731 |   public init(session: URLSession? = nil,
     |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 732 |     defaults: JustSessionDefaults? = nil)
 733 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:751:16: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 749 |   var taskConfigs: [TaskID: TaskConfiguration]=[:]
 750 |   var defaults: JustSessionDefaults!
 751 |   var session: URLSession!
     |                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 752 |   var invalidURLError = NSError(
 753 |     domain: errorDomain,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:808:28: error: cannot find type 'URLRequest' in scope
 806 |
 807 |
 808 |   func makeTask(_ request: URLRequest, configuration: TaskConfiguration)
     |                            `- error: cannot find type 'URLRequest' in scope
 809 |     -> URLSessionDataTask?
 810 |   {
/host/spi-builder-workspace/Sources/Just/Just.swift:809:8: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 807 |
 808 |   func makeTask(_ request: URLRequest, configuration: TaskConfiguration)
 809 |     -> URLSessionDataTask?
     |        `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 810 |   {
 811 |     let task = session.dataTask(with: request)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:887:10: error: cannot find type 'URLRequest' in scope
 885 |     urlQuery: String?,
 886 |     requestBody: Data?
 887 |     ) -> URLRequest? {
     |          `- error: cannot find type 'URLRequest' in scope
 888 |     if var urlComponents = url.urlComponents {
 889 |       let queryString = query(params)
/host/spi-builder-workspace/Sources/Just/Just.swift:729:36: error: cannot find type 'URLSessionDelegate' in scope
 727 | }
 728 |
 729 | public final class HTTP: NSObject, URLSessionDelegate, JustAdaptor {
     |                                    `- error: cannot find type 'URLSessionDelegate' in scope
 730 |
 731 |   public init(session: URLSession? = nil,
/host/spi-builder-workspace/Sources/Just/Just.swift:1037:17: error: cannot find type 'URLSessionTaskDelegate' in scope
1035 | }
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
     |                 `- error: cannot find type 'URLSessionTaskDelegate' in scope
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
/host/spi-builder-workspace/Sources/Just/Just.swift:1037:41: error: cannot find type 'URLSessionDataDelegate' in scope
1035 | }
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
     |                                         `- error: cannot find type 'URLSessionDataDelegate' in scope
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
/host/spi-builder-workspace/Sources/Just/Just.swift:1040:46: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
     |                                              `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
1041 |       URLCredential?) -> Void)
1042 |     {
/host/spi-builder-workspace/Sources/Just/Just.swift:1038:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1039 |     didReceive challenge: URLAuthenticationChallenge,
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1038:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1039 |     didReceive challenge: URLAuthenticationChallenge,
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1039:27: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
     |                           `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
1041 |       URLCredential?) -> Void)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1062:25: error: cannot find type 'URLRequest' in scope
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
     |                         `- error: cannot find type 'URLRequest' in scope
1063 |     completionHandler: @escaping (URLRequest?) -> Void)
1064 |   {
/host/spi-builder-workspace/Sources/Just/Just.swift:1063:35: error: cannot find type 'URLRequest' in scope
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
1063 |     completionHandler: @escaping (URLRequest?) -> Void)
     |                                   `- error: cannot find type 'URLRequest' in scope
1064 |   {
1065 |     if let allowRedirects = taskConfigs[task.taskIdentifier]?.redirects {
/host/spi-builder-workspace/Sources/Just/Just.swift:1060:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1058 |   }
1059 |
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1060:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1058 |   }
1059 |
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1061:42: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1059 |
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
     |                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1062 |     newRequest request: URLRequest,
1063 |     completionHandler: @escaping (URLRequest?) -> Void)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1076:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1074 |   }
1075 |
1076 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1077 |     didSendBodyData bytesSent: Int64, totalBytesSent: Int64,
1078 |     totalBytesExpectedToSend: Int64)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1076:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1074 |   }
1075 |
1076 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1077 |     didSendBodyData bytesSent: Int64, totalBytesSent: Int64,
1078 |     totalBytesExpectedToSend: Int64)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1092:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1090 |   }
1091 |
1092 |   public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1093 |     didReceive data: Data)
1094 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1092:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1090 |   }
1091 |
1092 |   public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask,
     |                                                           `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1093 |     didReceive data: Data)
1094 |   {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1110:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1108 |   }
1109 |
1110 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1111 |     didCompleteWithError error: Error?)
1112 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1110:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1108 |   }
1109 |
1110 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1111 |     didCompleteWithError error: Error?)
1112 |   {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1130:12: warning: let 'Just' is not concurrency-safe because non-'Sendable' type 'JustOf<HTTP>' may have shared mutable state; this is an error in the Swift 6 language mode
 420 | }
 421 |
 422 | public struct JustOf<Adaptor: JustAdaptor> {
     |               `- note: consider making generic struct 'JustOf' conform to the 'Sendable' protocol
 423 |   let adaptor: Adaptor
 424 |   public init(session: URLSession? = nil,
     :
1128 | }
1129 |
1130 | public let Just = JustOf<HTTP>()
     |            |- warning: let 'Just' is not concurrency-safe because non-'Sendable' type 'JustOf<HTTP>' may have shared mutable state; this is an error in the Swift 6 language mode
     |            |- note: add '@MainActor' to make let 'Just' part of global actor 'MainActor'
     |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1131 |
[4/4] Compiling Just Just.swift
/host/spi-builder-workspace/Sources/Just/Just.swift:104:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 102 | }
 103 |
 104 | extension URLResponse {
     | `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 105 |   var HTTPHeaders: [String: String] {
 106 |     return (self as? HTTPURLResponse)?.allHeaderFields as? [String: String]
/host/spi-builder-workspace/Sources/Just/Just.swift:133:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 131 | public final class HTTPResult : NSObject {
 132 |   public final var content: Data?
 133 |   public var response: URLResponse?
     |                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 134 |   public var error: Error?
 135 |   public var request: URLRequest? { return task?.originalRequest }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:135:23: error: cannot find type 'URLRequest' in scope
 133 |   public var response: URLResponse?
 134 |   public var error: Error?
 135 |   public var request: URLRequest? { return task?.originalRequest }
     |                       `- error: cannot find type 'URLRequest' in scope
 136 |   public var task: URLSessionTask?
 137 |   public var encoding = String.Encoding.utf8
/host/spi-builder-workspace/Sources/Just/Just.swift:136:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 134 |   public var error: Error?
 135 |   public var request: URLRequest? { return task?.originalRequest }
 136 |   public var task: URLSessionTask?
     |                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 137 |   public var encoding = String.Encoding.utf8
 138 |   public var JSONReadingOptions = JSONSerialization.ReadingOptions(rawValue: 0)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:173:38: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 171 |   }
 172 |
 173 |   public init(data: Data?, response: URLResponse?, error: Error?,
     |                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 174 |               task: URLSessionTask?)
 175 |   {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:174:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 172 |
 173 |   public init(data: Data?, response: URLResponse?, error: Error?,
 174 |               task: URLSessionTask?)
     |                     `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 175 |   {
 176 |     self.content = data
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:198:34: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 196 |   public lazy var headers: CaseInsensitiveDictionary<String, String> = {
 197 |     return CaseInsensitiveDictionary<String, String>(
 198 |       dictionary: self.response?.HTTPHeaders ?? [:])
     |                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 199 |   }()
 200 |
/host/spi-builder-workspace/Sources/Just/Just.swift:201:37: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 199 |   }()
 200 |
 201 |   public lazy var cookies: [String: HTTPCookie] = {
     |                                     `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 202 |     let foundCookies: [HTTPCookie]
 203 |     if let headers = self.response?.HTTPHeaders, let url = self.response?.url {
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:203:37: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 201 |   public lazy var cookies: [String: HTTPCookie] = {
 202 |     let foundCookies: [HTTPCookie]
 203 |     if let headers = self.response?.HTTPHeaders, let url = self.response?.url {
     |                                     `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 204 |       foundCookies = HTTPCookie.cookies(withResponseHeaderFields: headers,
 205 |                                         for: url)
/host/spi-builder-workspace/Sources/Just/Just.swift:347:24: error: cannot find type 'URLRequest' in scope
 345 |   let credential: Credentials?
 346 |   let redirects: Bool
 347 |   let originalRequest: URLRequest?
     |                        `- error: cannot find type 'URLRequest' in scope
 348 |   var data: Data
 349 |   let progressHandler: TaskProgressHandler?
/host/spi-builder-workspace/Sources/Just/Just.swift:358:51: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 356 |   public var headers: [String: String]
 357 |   public var multipartBoundary: String
 358 |   public var credentialPersistence: URLCredential.Persistence
     |                                                   `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 359 |   public var encoding: String.Encoding
 360 |   public var cachePolicy: NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/Just/Just.swift:360:27: error: cannot find type 'NSURLRequest' in scope
 358 |   public var credentialPersistence: URLCredential.Persistence
 359 |   public var encoding: String.Encoding
 360 |   public var cachePolicy: NSURLRequest.CachePolicy
     |                           `- error: cannot find type 'NSURLRequest' in scope
 361 |   public init(
 362 |     JSONReadingOptions: JSONSerialization.ReadingOptions =
/host/spi-builder-workspace/Sources/Just/Just.swift:368:42: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 366 |     headers: [String: String] = [:],
 367 |     multipartBoundary: String = "Ju5tH77P15Aw350m3",
 368 |     credentialPersistence: URLCredential.Persistence = .forSession,
     |                                          `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 369 |     encoding: String.Encoding = String.Encoding.utf8,
 370 |     cachePolicy: NSURLRequest.CachePolicy = .reloadIgnoringLocalCacheData)
/host/spi-builder-workspace/Sources/Just/Just.swift:370:18: error: cannot find type 'NSURLRequest' in scope
 368 |     credentialPersistence: URLCredential.Persistence = .forSession,
 369 |     encoding: String.Encoding = String.Encoding.utf8,
 370 |     cachePolicy: NSURLRequest.CachePolicy = .reloadIgnoringLocalCacheData)
     |                  `- error: cannot find type 'NSURLRequest' in scope
 371 |   {
 372 |     self.JSONReadingOptions = JSONReadingOptions
/host/spi-builder-workspace/Sources/Just/Just.swift:419:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 417 |     ) -> HTTPResult
 418 |
 419 |   init(session: URLSession?, defaults: JustSessionDefaults?)
     |                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 420 | }
 421 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:424:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 422 | public struct JustOf<Adaptor: JustAdaptor> {
 423 |   let adaptor: Adaptor
 424 |   public init(session: URLSession? = nil,
     |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 425 |               defaults: JustSessionDefaults? = nil)
 426 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:731:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 729 | public final class HTTP: NSObject, URLSessionDelegate, JustAdaptor {
 730 |
 731 |   public init(session: URLSession? = nil,
     |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 732 |     defaults: JustSessionDefaults? = nil)
 733 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:751:16: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 749 |   var taskConfigs: [TaskID: TaskConfiguration]=[:]
 750 |   var defaults: JustSessionDefaults!
 751 |   var session: URLSession!
     |                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 752 |   var invalidURLError = NSError(
 753 |     domain: errorDomain,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:808:28: error: cannot find type 'URLRequest' in scope
 806 |
 807 |
 808 |   func makeTask(_ request: URLRequest, configuration: TaskConfiguration)
     |                            `- error: cannot find type 'URLRequest' in scope
 809 |     -> URLSessionDataTask?
 810 |   {
/host/spi-builder-workspace/Sources/Just/Just.swift:809:8: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 807 |
 808 |   func makeTask(_ request: URLRequest, configuration: TaskConfiguration)
 809 |     -> URLSessionDataTask?
     |        `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 810 |   {
 811 |     let task = session.dataTask(with: request)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:887:10: error: cannot find type 'URLRequest' in scope
 885 |     urlQuery: String?,
 886 |     requestBody: Data?
 887 |     ) -> URLRequest? {
     |          `- error: cannot find type 'URLRequest' in scope
 888 |     if var urlComponents = url.urlComponents {
 889 |       let queryString = query(params)
/host/spi-builder-workspace/Sources/Just/Just.swift:729:36: error: cannot find type 'URLSessionDelegate' in scope
 727 | }
 728 |
 729 | public final class HTTP: NSObject, URLSessionDelegate, JustAdaptor {
     |                                    `- error: cannot find type 'URLSessionDelegate' in scope
 730 |
 731 |   public init(session: URLSession? = nil,
/host/spi-builder-workspace/Sources/Just/Just.swift:1037:17: error: cannot find type 'URLSessionTaskDelegate' in scope
1035 | }
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
     |                 `- error: cannot find type 'URLSessionTaskDelegate' in scope
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
/host/spi-builder-workspace/Sources/Just/Just.swift:1037:41: error: cannot find type 'URLSessionDataDelegate' in scope
1035 | }
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
     |                                         `- error: cannot find type 'URLSessionDataDelegate' in scope
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
/host/spi-builder-workspace/Sources/Just/Just.swift:1040:46: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
     |                                              `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
1041 |       URLCredential?) -> Void)
1042 |     {
/host/spi-builder-workspace/Sources/Just/Just.swift:1038:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1039 |     didReceive challenge: URLAuthenticationChallenge,
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1038:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1039 |     didReceive challenge: URLAuthenticationChallenge,
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1039:27: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
     |                           `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
1041 |       URLCredential?) -> Void)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1062:25: error: cannot find type 'URLRequest' in scope
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
     |                         `- error: cannot find type 'URLRequest' in scope
1063 |     completionHandler: @escaping (URLRequest?) -> Void)
1064 |   {
/host/spi-builder-workspace/Sources/Just/Just.swift:1063:35: error: cannot find type 'URLRequest' in scope
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
1063 |     completionHandler: @escaping (URLRequest?) -> Void)
     |                                   `- error: cannot find type 'URLRequest' in scope
1064 |   {
1065 |     if let allowRedirects = taskConfigs[task.taskIdentifier]?.redirects {
/host/spi-builder-workspace/Sources/Just/Just.swift:1060:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1058 |   }
1059 |
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1060:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1058 |   }
1059 |
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1061:42: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1059 |
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
     |                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1062 |     newRequest request: URLRequest,
1063 |     completionHandler: @escaping (URLRequest?) -> Void)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1076:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1074 |   }
1075 |
1076 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1077 |     didSendBodyData bytesSent: Int64, totalBytesSent: Int64,
1078 |     totalBytesExpectedToSend: Int64)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1076:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1074 |   }
1075 |
1076 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1077 |     didSendBodyData bytesSent: Int64, totalBytesSent: Int64,
1078 |     totalBytesExpectedToSend: Int64)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1092:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1090 |   }
1091 |
1092 |   public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1093 |     didReceive data: Data)
1094 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1092:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1090 |   }
1091 |
1092 |   public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask,
     |                                                           `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1093 |     didReceive data: Data)
1094 |   {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1110:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1108 |   }
1109 |
1110 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1111 |     didCompleteWithError error: Error?)
1112 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1110:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1108 |   }
1109 |
1110 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1111 |     didCompleteWithError error: Error?)
1112 |   {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1130:12: warning: let 'Just' is not concurrency-safe because non-'Sendable' type 'JustOf<HTTP>' may have shared mutable state; this is an error in the Swift 6 language mode
 420 | }
 421 |
 422 | public struct JustOf<Adaptor: JustAdaptor> {
     |               `- note: consider making generic struct 'JustOf' conform to the 'Sendable' protocol
 423 |   let adaptor: Adaptor
 424 |   public init(session: URLSession? = nil,
     :
1128 | }
1129 |
1130 | public let Just = JustOf<HTTP>()
     |            |- warning: let 'Just' is not concurrency-safe because non-'Sendable' type 'JustOf<HTTP>' may have shared mutable state; this is an error in the Swift 6 language mode
     |            |- note: add '@MainActor' to make let 'Just' part of global actor 'MainActor'
     |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1131 |
/host/spi-builder-workspace/Sources/Just/Just.swift:189:27: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 187 |
 188 |   public var statusCode: Int? {
 189 |     return (self.response as? HTTPURLResponse)?.statusCode
     |                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 190 |   }
 191 |
/host/spi-builder-workspace/Sources/Just/Just.swift:189:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 187 |
 188 |   public var statusCode: Int? {
 189 |     return (self.response as? HTTPURLResponse)?.statusCode
     |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 190 |   }
 191 |
/host/spi-builder-workspace/Sources/Just/Just.swift:221:22: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'url'
 219 |
 220 |   public var url: URL? {
 221 |     return response?.url
     |                      `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'url'
 222 |   }
 223 |
/host/spi-builder-workspace/Sources/Just/Just.swift:262:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
 260 |
 261 |   public func cancel() {
 262 |     task?.cancel()
     |           `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
 263 |   }
 264 | }
/host/spi-builder-workspace/Sources/Just/Just.swift:738:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 736 |       self.session = initialSession
 737 |     } else {
 738 |       self.session = URLSession(configuration: URLSessionConfiguration.default,
     |                      `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 739 |         delegate: self, delegateQueue: nil)
 740 |     }
/host/spi-builder-workspace/Sources/Just/Just.swift:738:72: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 736 |       self.session = initialSession
 737 |     } else {
 738 |       self.session = URLSession(configuration: URLSessionConfiguration.default,
     |                                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 739 |         delegate: self, delegateQueue: nil)
 740 |     }
/host/spi-builder-workspace/Sources/Just/Just.swift:739:40: error: 'nil' requires a contextual type
 737 |     } else {
 738 |       self.session = URLSession(configuration: URLSessionConfiguration.default,
 739 |         delegate: self, delegateQueue: nil)
     |                                        `- error: 'nil' requires a contextual type
 740 |     }
 741 |
/host/spi-builder-workspace/Sources/Just/Just.swift:811:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 809 |     -> URLSessionDataTask?
 810 |   {
 811 |     let task = session.dataTask(with: request)
     |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 812 |     taskConfigs[task.taskIdentifier] = configuration
 813 |     return task
/host/spi-builder-workspace/Sources/Just/Just.swift:934:23: error: cannot find 'URLRequest' in scope
 932 |       }
 933 |       if let URL = urlComponents.url {
 934 |         var request = URLRequest(url: URL)
     |                       `- error: cannot find 'URLRequest' in scope
 935 |         request.cachePolicy = defaults.cachePolicy
 936 |         request.httpBody = body
/host/spi-builder-workspace/Sources/Just/Just.swift:974:21: error: cannot find 'DispatchSemaphore' in scope
 972 |
 973 |     let isSynchronous = asyncCompletionHandler == nil
 974 |     let semaphore = DispatchSemaphore(value: 0)
     |                     `- error: cannot find 'DispatchSemaphore' in scope
 975 |     var requestResult: HTTPResult = HTTPResult(data: nil, response: nil,
 976 |       error: syncResultAccessError, task: nil)
/host/spi-builder-workspace/Sources/Just/Just.swift:1014:39: error: cannot find 'DispatchTime' in scope
1012 |
1013 |     if isSynchronous {
1014 |       let timeout = timeout.flatMap { DispatchTime.now() + $0 }
     |                                       `- error: cannot find 'DispatchTime' in scope
1015 |         ?? DispatchTime.distantFuture
1016 |       _ = semaphore.wait(timeout: timeout)
/host/spi-builder-workspace/Sources/Just/Just.swift:1015:12: error: cannot find 'DispatchTime' in scope
1013 |     if isSynchronous {
1014 |       let timeout = timeout.flatMap { DispatchTime.now() + $0 }
1015 |         ?? DispatchTime.distantFuture
     |            `- error: cannot find 'DispatchTime' in scope
1016 |       _ = semaphore.wait(timeout: timeout)
1017 |       return requestResult
/host/spi-builder-workspace/Sources/Just/Just.swift:1025:11: error: cannot find 'HTTPCookiePropertyKey' in scope
1023 |     for (k, v) in newCookies {
1024 |       if let cookie = HTTPCookie(properties: [
1025 |           HTTPCookiePropertyKey.name: k,
     |           `- error: cannot find 'HTTPCookiePropertyKey' in scope
1026 |           HTTPCookiePropertyKey.value: v,
1027 |           HTTPCookiePropertyKey.originURL: URL,
/host/spi-builder-workspace/Sources/Just/Just.swift:1026:11: error: cannot find 'HTTPCookiePropertyKey' in scope
1024 |       if let cookie = HTTPCookie(properties: [
1025 |           HTTPCookiePropertyKey.name: k,
1026 |           HTTPCookiePropertyKey.value: v,
     |           `- error: cannot find 'HTTPCookiePropertyKey' in scope
1027 |           HTTPCookiePropertyKey.originURL: URL,
1028 |           HTTPCookiePropertyKey.path: "/"
/host/spi-builder-workspace/Sources/Just/Just.swift:1027:11: error: cannot find 'HTTPCookiePropertyKey' in scope
1025 |           HTTPCookiePropertyKey.name: k,
1026 |           HTTPCookiePropertyKey.value: v,
1027 |           HTTPCookiePropertyKey.originURL: URL,
     |           `- error: cannot find 'HTTPCookiePropertyKey' in scope
1028 |           HTTPCookiePropertyKey.path: "/"
1029 |         ])
/host/spi-builder-workspace/Sources/Just/Just.swift:1028:11: error: cannot find 'HTTPCookiePropertyKey' in scope
1026 |           HTTPCookiePropertyKey.value: v,
1027 |           HTTPCookiePropertyKey.originURL: URL,
1028 |           HTTPCookiePropertyKey.path: "/"
     |           `- error: cannot find 'HTTPCookiePropertyKey' in scope
1029 |         ])
1030 |       {
/host/spi-builder-workspace/Sources/Just/Just.swift:1024:23: error: 'HTTPCookie' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
1022 |   func addCookies(_ URL: Foundation.URL, newCookies: [String: String]) {
1023 |     for (k, v) in newCookies {
1024 |       if let cookie = HTTPCookie(properties: [
     |                       `- error: 'HTTPCookie' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
1025 |           HTTPCookiePropertyKey.name: k,
1026 |           HTTPCookiePropertyKey.value: v,
/host/spi-builder-workspace/Sources/Just/Just.swift:1031:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
1029 |         ])
1030 |       {
1031 |         session.configuration.httpCookieStorage?.setCookie(cookie)
     |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
1032 |       }
1033 |     }
/host/spi-builder-workspace/Sources/Just/Just.swift:1043:24: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1041 |       URLCredential?) -> Void)
1042 |     {
1043 |     var endCredential: URLCredential? = nil
     |                        `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1044 |
1045 |     if let taskConfig = taskConfigs[task.taskIdentifier],
Foundation.URLCredential:2:18: note: 'URLCredential' 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 URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1045:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1043 |     var endCredential: URLCredential? = nil
1044 |
1045 |     if let taskConfig = taskConfigs[task.taskIdentifier],
     |                                          `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1046 |       let credential = taskConfig.credential
1047 |     {
/host/spi-builder-workspace/Sources/Just/Just.swift:1048:22: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'previousFailureCount'
1046 |       let credential = taskConfig.credential
1047 |     {
1048 |       if !(challenge.previousFailureCount > 0) {
     |                      `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'previousFailureCount'
1049 |         endCredential = URLCredential(
1050 |           user: credential.0,
/host/spi-builder-workspace/Sources/Just/Just.swift:1049:25: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
1047 |     {
1048 |       if !(challenge.previousFailureCount > 0) {
1049 |         endCredential = URLCredential(
     |                         `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
1050 |           user: credential.0,
1051 |           password: credential.1,
/host/spi-builder-workspace/Sources/Just/Just.swift:1057:24: error: cannot infer contextual base in reference to member 'useCredential'
1055 |     }
1056 |
1057 |     completionHandler(.useCredential, endCredential)
     |                        `- error: cannot infer contextual base in reference to member 'useCredential'
1058 |   }
1059 |
/host/spi-builder-workspace/Sources/Just/Just.swift:1065:46: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1063 |     completionHandler: @escaping (URLRequest?) -> Void)
1064 |   {
1065 |     if let allowRedirects = taskConfigs[task.taskIdentifier]?.redirects {
     |                                              `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1066 |       if !allowRedirects {
1067 |         completionHandler(nil)
/host/spi-builder-workspace/Sources/Just/Just.swift:1067:27: error: 'nil' requires a contextual type
1065 |     if let allowRedirects = taskConfigs[task.taskIdentifier]?.redirects {
1066 |       if !allowRedirects {
1067 |         completionHandler(nil)
     |                           `- error: 'nil' requires a contextual type
1068 |         return
1069 |       }
/host/spi-builder-workspace/Sources/Just/Just.swift:1080:39: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1078 |     totalBytesExpectedToSend: Int64)
1079 |   {
1080 |     if let handler = taskConfigs[task.taskIdentifier]?.progressHandler {
     |                                       `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1081 |       handler(
1082 |         HTTPProgress(
/host/spi-builder-workspace/Sources/Just/Just.swift:1095:43: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
1093 |     didReceive data: Data)
1094 |   {
1095 |     if let handler = taskConfigs[dataTask.taskIdentifier]?.progressHandler {
     |                                           `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
1096 |       handler(
1097 |         HTTPProgress(
/host/spi-builder-workspace/Sources/Just/Just.swift:1099:36: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'countOfBytesReceived'
1097 |         HTTPProgress(
1098 |           type: .download,
1099 |           bytesProcessed: dataTask.countOfBytesReceived,
     |                                    `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'countOfBytesReceived'
1100 |           bytesExpectedToProcess: dataTask.countOfBytesExpectedToReceive,
1101 |           chunk: data
/host/spi-builder-workspace/Sources/Just/Just.swift:1100:44: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToReceive'
1098 |           type: .download,
1099 |           bytesProcessed: dataTask.countOfBytesReceived,
1100 |           bytesExpectedToProcess: dataTask.countOfBytesExpectedToReceive,
     |                                            `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToReceive'
1101 |           chunk: data
1102 |         )
/host/spi-builder-workspace/Sources/Just/Just.swift:1105:29: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
1103 |       )
1104 |     }
1105 |     if taskConfigs[dataTask.taskIdentifier]?.data != nil {
     |                             `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
1106 |       taskConfigs[dataTask.taskIdentifier]?.data.append(data)
1107 |     }
/host/spi-builder-workspace/Sources/Just/Just.swift:1106:28: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
1104 |     }
1105 |     if taskConfigs[dataTask.taskIdentifier]?.data != nil {
1106 |       taskConfigs[dataTask.taskIdentifier]?.data.append(data)
     |                            `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
1107 |     }
1108 |   }
/host/spi-builder-workspace/Sources/Just/Just.swift:1113:38: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1111 |     didCompleteWithError error: Error?)
1112 |   {
1113 |     if let config = taskConfigs[task.taskIdentifier],
     |                                      `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1114 |       let handler = config.completionHandler
1115 |     {
/host/spi-builder-workspace/Sources/Just/Just.swift:1118:24: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
1116 |       let result = HTTPResult(
1117 |         data: config.data,
1118 |         response: task.response,
     |                        `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
1119 |         error: error,
1120 |         task: task
/host/spi-builder-workspace/Sources/Just/Just.swift:1126:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1124 |       handler(result)
1125 |     }
1126 |     taskConfigs.removeValue(forKey: task.taskIdentifier)
     |                                          `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1127 |   }
1128 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Just
/host/spi-builder-workspace/Sources/Just/Just.swift:104:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 102 | }
 103 |
 104 | extension URLResponse {
     | `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 105 |   var HTTPHeaders: [String: String] {
 106 |     return (self as? HTTPURLResponse)?.allHeaderFields as? [String: String]
/host/spi-builder-workspace/Sources/Just/Just.swift:133:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 131 | public final class HTTPResult : NSObject {
 132 |   public final var content: Data?
 133 |   public var response: URLResponse?
     |                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 134 |   public var error: Error?
 135 |   public var request: URLRequest? { return task?.originalRequest }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:135:23: error: cannot find type 'URLRequest' in scope
 133 |   public var response: URLResponse?
 134 |   public var error: Error?
 135 |   public var request: URLRequest? { return task?.originalRequest }
     |                       `- error: cannot find type 'URLRequest' in scope
 136 |   public var task: URLSessionTask?
 137 |   public var encoding = String.Encoding.utf8
/host/spi-builder-workspace/Sources/Just/Just.swift:136:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 134 |   public var error: Error?
 135 |   public var request: URLRequest? { return task?.originalRequest }
 136 |   public var task: URLSessionTask?
     |                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 137 |   public var encoding = String.Encoding.utf8
 138 |   public var JSONReadingOptions = JSONSerialization.ReadingOptions(rawValue: 0)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:173:38: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 171 |   }
 172 |
 173 |   public init(data: Data?, response: URLResponse?, error: Error?,
     |                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 174 |               task: URLSessionTask?)
 175 |   {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:174:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 172 |
 173 |   public init(data: Data?, response: URLResponse?, error: Error?,
 174 |               task: URLSessionTask?)
     |                     `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 175 |   {
 176 |     self.content = data
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:198:34: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 196 |   public lazy var headers: CaseInsensitiveDictionary<String, String> = {
 197 |     return CaseInsensitiveDictionary<String, String>(
 198 |       dictionary: self.response?.HTTPHeaders ?? [:])
     |                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 199 |   }()
 200 |
/host/spi-builder-workspace/Sources/Just/Just.swift:201:37: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 199 |   }()
 200 |
 201 |   public lazy var cookies: [String: HTTPCookie] = {
     |                                     `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 202 |     let foundCookies: [HTTPCookie]
 203 |     if let headers = self.response?.HTTPHeaders, let url = self.response?.url {
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:203:37: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 201 |   public lazy var cookies: [String: HTTPCookie] = {
 202 |     let foundCookies: [HTTPCookie]
 203 |     if let headers = self.response?.HTTPHeaders, let url = self.response?.url {
     |                                     `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 204 |       foundCookies = HTTPCookie.cookies(withResponseHeaderFields: headers,
 205 |                                         for: url)
/host/spi-builder-workspace/Sources/Just/Just.swift:347:24: error: cannot find type 'URLRequest' in scope
 345 |   let credential: Credentials?
 346 |   let redirects: Bool
 347 |   let originalRequest: URLRequest?
     |                        `- error: cannot find type 'URLRequest' in scope
 348 |   var data: Data
 349 |   let progressHandler: TaskProgressHandler?
/host/spi-builder-workspace/Sources/Just/Just.swift:358:51: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 356 |   public var headers: [String: String]
 357 |   public var multipartBoundary: String
 358 |   public var credentialPersistence: URLCredential.Persistence
     |                                                   `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 359 |   public var encoding: String.Encoding
 360 |   public var cachePolicy: NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/Just/Just.swift:360:27: error: cannot find type 'NSURLRequest' in scope
 358 |   public var credentialPersistence: URLCredential.Persistence
 359 |   public var encoding: String.Encoding
 360 |   public var cachePolicy: NSURLRequest.CachePolicy
     |                           `- error: cannot find type 'NSURLRequest' in scope
 361 |   public init(
 362 |     JSONReadingOptions: JSONSerialization.ReadingOptions =
/host/spi-builder-workspace/Sources/Just/Just.swift:368:42: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 366 |     headers: [String: String] = [:],
 367 |     multipartBoundary: String = "Ju5tH77P15Aw350m3",
 368 |     credentialPersistence: URLCredential.Persistence = .forSession,
     |                                          `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 369 |     encoding: String.Encoding = String.Encoding.utf8,
 370 |     cachePolicy: NSURLRequest.CachePolicy = .reloadIgnoringLocalCacheData)
/host/spi-builder-workspace/Sources/Just/Just.swift:370:18: error: cannot find type 'NSURLRequest' in scope
 368 |     credentialPersistence: URLCredential.Persistence = .forSession,
 369 |     encoding: String.Encoding = String.Encoding.utf8,
 370 |     cachePolicy: NSURLRequest.CachePolicy = .reloadIgnoringLocalCacheData)
     |                  `- error: cannot find type 'NSURLRequest' in scope
 371 |   {
 372 |     self.JSONReadingOptions = JSONReadingOptions
/host/spi-builder-workspace/Sources/Just/Just.swift:419:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 417 |     ) -> HTTPResult
 418 |
 419 |   init(session: URLSession?, defaults: JustSessionDefaults?)
     |                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 420 | }
 421 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:424:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 422 | public struct JustOf<Adaptor: JustAdaptor> {
 423 |   let adaptor: Adaptor
 424 |   public init(session: URLSession? = nil,
     |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 425 |               defaults: JustSessionDefaults? = nil)
 426 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:731:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 729 | public final class HTTP: NSObject, URLSessionDelegate, JustAdaptor {
 730 |
 731 |   public init(session: URLSession? = nil,
     |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 732 |     defaults: JustSessionDefaults? = nil)
 733 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:751:16: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 749 |   var taskConfigs: [TaskID: TaskConfiguration]=[:]
 750 |   var defaults: JustSessionDefaults!
 751 |   var session: URLSession!
     |                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 752 |   var invalidURLError = NSError(
 753 |     domain: errorDomain,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:808:28: error: cannot find type 'URLRequest' in scope
 806 |
 807 |
 808 |   func makeTask(_ request: URLRequest, configuration: TaskConfiguration)
     |                            `- error: cannot find type 'URLRequest' in scope
 809 |     -> URLSessionDataTask?
 810 |   {
/host/spi-builder-workspace/Sources/Just/Just.swift:809:8: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 807 |
 808 |   func makeTask(_ request: URLRequest, configuration: TaskConfiguration)
 809 |     -> URLSessionDataTask?
     |        `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 810 |   {
 811 |     let task = session.dataTask(with: request)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:887:10: error: cannot find type 'URLRequest' in scope
 885 |     urlQuery: String?,
 886 |     requestBody: Data?
 887 |     ) -> URLRequest? {
     |          `- error: cannot find type 'URLRequest' in scope
 888 |     if var urlComponents = url.urlComponents {
 889 |       let queryString = query(params)
/host/spi-builder-workspace/Sources/Just/Just.swift:729:36: error: cannot find type 'URLSessionDelegate' in scope
 727 | }
 728 |
 729 | public final class HTTP: NSObject, URLSessionDelegate, JustAdaptor {
     |                                    `- error: cannot find type 'URLSessionDelegate' in scope
 730 |
 731 |   public init(session: URLSession? = nil,
/host/spi-builder-workspace/Sources/Just/Just.swift:1037:17: error: cannot find type 'URLSessionTaskDelegate' in scope
1035 | }
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
     |                 `- error: cannot find type 'URLSessionTaskDelegate' in scope
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
/host/spi-builder-workspace/Sources/Just/Just.swift:1037:41: error: cannot find type 'URLSessionDataDelegate' in scope
1035 | }
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
     |                                         `- error: cannot find type 'URLSessionDataDelegate' in scope
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
/host/spi-builder-workspace/Sources/Just/Just.swift:1040:46: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
     |                                              `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
1041 |       URLCredential?) -> Void)
1042 |     {
/host/spi-builder-workspace/Sources/Just/Just.swift:1038:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1039 |     didReceive challenge: URLAuthenticationChallenge,
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1038:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1039 |     didReceive challenge: URLAuthenticationChallenge,
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1039:27: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
     |                           `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
1041 |       URLCredential?) -> Void)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1062:25: error: cannot find type 'URLRequest' in scope
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
     |                         `- error: cannot find type 'URLRequest' in scope
1063 |     completionHandler: @escaping (URLRequest?) -> Void)
1064 |   {
/host/spi-builder-workspace/Sources/Just/Just.swift:1063:35: error: cannot find type 'URLRequest' in scope
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
1063 |     completionHandler: @escaping (URLRequest?) -> Void)
     |                                   `- error: cannot find type 'URLRequest' in scope
1064 |   {
1065 |     if let allowRedirects = taskConfigs[task.taskIdentifier]?.redirects {
/host/spi-builder-workspace/Sources/Just/Just.swift:1060:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1058 |   }
1059 |
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1060:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1058 |   }
1059 |
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1061:42: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1059 |
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
     |                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1062 |     newRequest request: URLRequest,
1063 |     completionHandler: @escaping (URLRequest?) -> Void)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1076:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1074 |   }
1075 |
1076 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1077 |     didSendBodyData bytesSent: Int64, totalBytesSent: Int64,
1078 |     totalBytesExpectedToSend: Int64)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1076:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1074 |   }
1075 |
1076 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1077 |     didSendBodyData bytesSent: Int64, totalBytesSent: Int64,
1078 |     totalBytesExpectedToSend: Int64)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1092:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1090 |   }
1091 |
1092 |   public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1093 |     didReceive data: Data)
1094 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1092:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1090 |   }
1091 |
1092 |   public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask,
     |                                                           `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1093 |     didReceive data: Data)
1094 |   {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1110:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1108 |   }
1109 |
1110 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1111 |     didCompleteWithError error: Error?)
1112 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1110:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1108 |   }
1109 |
1110 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1111 |     didCompleteWithError error: Error?)
1112 |   {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
[3/3] Compiling Just Just.swift
/host/spi-builder-workspace/Sources/Just/Just.swift:104:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 102 | }
 103 |
 104 | extension URLResponse {
     | `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 105 |   var HTTPHeaders: [String: String] {
 106 |     return (self as? HTTPURLResponse)?.allHeaderFields as? [String: String]
/host/spi-builder-workspace/Sources/Just/Just.swift:133:24: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 131 | public final class HTTPResult : NSObject {
 132 |   public final var content: Data?
 133 |   public var response: URLResponse?
     |                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 134 |   public var error: Error?
 135 |   public var request: URLRequest? { return task?.originalRequest }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:135:23: error: cannot find type 'URLRequest' in scope
 133 |   public var response: URLResponse?
 134 |   public var error: Error?
 135 |   public var request: URLRequest? { return task?.originalRequest }
     |                       `- error: cannot find type 'URLRequest' in scope
 136 |   public var task: URLSessionTask?
 137 |   public var encoding = String.Encoding.utf8
/host/spi-builder-workspace/Sources/Just/Just.swift:136:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 134 |   public var error: Error?
 135 |   public var request: URLRequest? { return task?.originalRequest }
 136 |   public var task: URLSessionTask?
     |                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 137 |   public var encoding = String.Encoding.utf8
 138 |   public var JSONReadingOptions = JSONSerialization.ReadingOptions(rawValue: 0)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:173:38: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 171 |   }
 172 |
 173 |   public init(data: Data?, response: URLResponse?, error: Error?,
     |                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 174 |               task: URLSessionTask?)
 175 |   {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:174:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 172 |
 173 |   public init(data: Data?, response: URLResponse?, error: Error?,
 174 |               task: URLSessionTask?)
     |                     `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 175 |   {
 176 |     self.content = data
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:198:34: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 196 |   public lazy var headers: CaseInsensitiveDictionary<String, String> = {
 197 |     return CaseInsensitiveDictionary<String, String>(
 198 |       dictionary: self.response?.HTTPHeaders ?? [:])
     |                                  `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 199 |   }()
 200 |
/host/spi-builder-workspace/Sources/Just/Just.swift:201:37: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 199 |   }()
 200 |
 201 |   public lazy var cookies: [String: HTTPCookie] = {
     |                                     `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 202 |     let foundCookies: [HTTPCookie]
 203 |     if let headers = self.response?.HTTPHeaders, let url = self.response?.url {
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:203:37: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 201 |   public lazy var cookies: [String: HTTPCookie] = {
 202 |     let foundCookies: [HTTPCookie]
 203 |     if let headers = self.response?.HTTPHeaders, let url = self.response?.url {
     |                                     `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'HTTPHeaders'
 204 |       foundCookies = HTTPCookie.cookies(withResponseHeaderFields: headers,
 205 |                                         for: url)
/host/spi-builder-workspace/Sources/Just/Just.swift:347:24: error: cannot find type 'URLRequest' in scope
 345 |   let credential: Credentials?
 346 |   let redirects: Bool
 347 |   let originalRequest: URLRequest?
     |                        `- error: cannot find type 'URLRequest' in scope
 348 |   var data: Data
 349 |   let progressHandler: TaskProgressHandler?
/host/spi-builder-workspace/Sources/Just/Just.swift:358:51: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 356 |   public var headers: [String: String]
 357 |   public var multipartBoundary: String
 358 |   public var credentialPersistence: URLCredential.Persistence
     |                                                   `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 359 |   public var encoding: String.Encoding
 360 |   public var cachePolicy: NSURLRequest.CachePolicy
/host/spi-builder-workspace/Sources/Just/Just.swift:360:27: error: cannot find type 'NSURLRequest' in scope
 358 |   public var credentialPersistence: URLCredential.Persistence
 359 |   public var encoding: String.Encoding
 360 |   public var cachePolicy: NSURLRequest.CachePolicy
     |                           `- error: cannot find type 'NSURLRequest' in scope
 361 |   public init(
 362 |     JSONReadingOptions: JSONSerialization.ReadingOptions =
/host/spi-builder-workspace/Sources/Just/Just.swift:368:42: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 366 |     headers: [String: String] = [:],
 367 |     multipartBoundary: String = "Ju5tH77P15Aw350m3",
 368 |     credentialPersistence: URLCredential.Persistence = .forSession,
     |                                          `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
 369 |     encoding: String.Encoding = String.Encoding.utf8,
 370 |     cachePolicy: NSURLRequest.CachePolicy = .reloadIgnoringLocalCacheData)
/host/spi-builder-workspace/Sources/Just/Just.swift:370:18: error: cannot find type 'NSURLRequest' in scope
 368 |     credentialPersistence: URLCredential.Persistence = .forSession,
 369 |     encoding: String.Encoding = String.Encoding.utf8,
 370 |     cachePolicy: NSURLRequest.CachePolicy = .reloadIgnoringLocalCacheData)
     |                  `- error: cannot find type 'NSURLRequest' in scope
 371 |   {
 372 |     self.JSONReadingOptions = JSONReadingOptions
/host/spi-builder-workspace/Sources/Just/Just.swift:419:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 417 |     ) -> HTTPResult
 418 |
 419 |   init(session: URLSession?, defaults: JustSessionDefaults?)
     |                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 420 | }
 421 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:424:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 422 | public struct JustOf<Adaptor: JustAdaptor> {
 423 |   let adaptor: Adaptor
 424 |   public init(session: URLSession? = nil,
     |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 425 |               defaults: JustSessionDefaults? = nil)
 426 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:731:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 729 | public final class HTTP: NSObject, URLSessionDelegate, JustAdaptor {
 730 |
 731 |   public init(session: URLSession? = nil,
     |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 732 |     defaults: JustSessionDefaults? = nil)
 733 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:751:16: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 749 |   var taskConfigs: [TaskID: TaskConfiguration]=[:]
 750 |   var defaults: JustSessionDefaults!
 751 |   var session: URLSession!
     |                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 752 |   var invalidURLError = NSError(
 753 |     domain: errorDomain,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:808:28: error: cannot find type 'URLRequest' in scope
 806 |
 807 |
 808 |   func makeTask(_ request: URLRequest, configuration: TaskConfiguration)
     |                            `- error: cannot find type 'URLRequest' in scope
 809 |     -> URLSessionDataTask?
 810 |   {
/host/spi-builder-workspace/Sources/Just/Just.swift:809:8: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 807 |
 808 |   func makeTask(_ request: URLRequest, configuration: TaskConfiguration)
 809 |     -> URLSessionDataTask?
     |        `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 810 |   {
 811 |     let task = session.dataTask(with: request)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:887:10: error: cannot find type 'URLRequest' in scope
 885 |     urlQuery: String?,
 886 |     requestBody: Data?
 887 |     ) -> URLRequest? {
     |          `- error: cannot find type 'URLRequest' in scope
 888 |     if var urlComponents = url.urlComponents {
 889 |       let queryString = query(params)
/host/spi-builder-workspace/Sources/Just/Just.swift:729:36: error: cannot find type 'URLSessionDelegate' in scope
 727 | }
 728 |
 729 | public final class HTTP: NSObject, URLSessionDelegate, JustAdaptor {
     |                                    `- error: cannot find type 'URLSessionDelegate' in scope
 730 |
 731 |   public init(session: URLSession? = nil,
/host/spi-builder-workspace/Sources/Just/Just.swift:1037:17: error: cannot find type 'URLSessionTaskDelegate' in scope
1035 | }
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
     |                 `- error: cannot find type 'URLSessionTaskDelegate' in scope
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
/host/spi-builder-workspace/Sources/Just/Just.swift:1037:41: error: cannot find type 'URLSessionDataDelegate' in scope
1035 | }
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
     |                                         `- error: cannot find type 'URLSessionDataDelegate' in scope
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
/host/spi-builder-workspace/Sources/Just/Just.swift:1040:46: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
     |                                              `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
1041 |       URLCredential?) -> Void)
1042 |     {
/host/spi-builder-workspace/Sources/Just/Just.swift:1038:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1039 |     didReceive challenge: URLAuthenticationChallenge,
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1038:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1036 |
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1039 |     didReceive challenge: URLAuthenticationChallenge,
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1039:27: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1037 | extension HTTP: URLSessionTaskDelegate, URLSessionDataDelegate {
1038 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1039 |     didReceive challenge: URLAuthenticationChallenge,
     |                           `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1040 |     completionHandler: @escaping (URLSession.AuthChallengeDisposition,
1041 |       URLCredential?) -> Void)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1062:25: error: cannot find type 'URLRequest' in scope
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
     |                         `- error: cannot find type 'URLRequest' in scope
1063 |     completionHandler: @escaping (URLRequest?) -> Void)
1064 |   {
/host/spi-builder-workspace/Sources/Just/Just.swift:1063:35: error: cannot find type 'URLRequest' in scope
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
1063 |     completionHandler: @escaping (URLRequest?) -> Void)
     |                                   `- error: cannot find type 'URLRequest' in scope
1064 |   {
1065 |     if let allowRedirects = taskConfigs[task.taskIdentifier]?.redirects {
/host/spi-builder-workspace/Sources/Just/Just.swift:1060:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1058 |   }
1059 |
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1060:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1058 |   }
1059 |
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
1062 |     newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1061:42: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1059 |
1060 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
1061 |     willPerformHTTPRedirection response: HTTPURLResponse,
     |                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1062 |     newRequest request: URLRequest,
1063 |     completionHandler: @escaping (URLRequest?) -> Void)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1076:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1074 |   }
1075 |
1076 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1077 |     didSendBodyData bytesSent: Int64, totalBytesSent: Int64,
1078 |     totalBytesExpectedToSend: Int64)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1076:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1074 |   }
1075 |
1076 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1077 |     didSendBodyData bytesSent: Int64, totalBytesSent: Int64,
1078 |     totalBytesExpectedToSend: Int64)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1092:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1090 |   }
1091 |
1092 |   public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1093 |     didReceive data: Data)
1094 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1092:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1090 |   }
1091 |
1092 |   public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask,
     |                                                           `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1093 |     didReceive data: Data)
1094 |   {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1110:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1108 |   }
1109 |
1110 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1111 |     didCompleteWithError error: Error?)
1112 |   {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1110:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1108 |   }
1109 |
1110 |   public func urlSession(_ session: URLSession, task: URLSessionTask,
     |                                                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1111 |     didCompleteWithError error: Error?)
1112 |   {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:189:27: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 187 |
 188 |   public var statusCode: Int? {
 189 |     return (self.response as? HTTPURLResponse)?.statusCode
     |                           `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
 190 |   }
 191 |
/host/spi-builder-workspace/Sources/Just/Just.swift:189:49: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 187 |
 188 |   public var statusCode: Int? {
 189 |     return (self.response as? HTTPURLResponse)?.statusCode
     |                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 190 |   }
 191 |
/host/spi-builder-workspace/Sources/Just/Just.swift:221:22: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'url'
 219 |
 220 |   public var url: URL? {
 221 |     return response?.url
     |                      `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'url'
 222 |   }
 223 |
/host/spi-builder-workspace/Sources/Just/Just.swift:262:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
 260 |
 261 |   public func cancel() {
 262 |     task?.cancel()
     |           `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
 263 |   }
 264 | }
/host/spi-builder-workspace/Sources/Just/Just.swift:738:22: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 736 |       self.session = initialSession
 737 |     } else {
 738 |       self.session = URLSession(configuration: URLSessionConfiguration.default,
     |                      `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 739 |         delegate: self, delegateQueue: nil)
 740 |     }
/host/spi-builder-workspace/Sources/Just/Just.swift:738:72: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 736 |       self.session = initialSession
 737 |     } else {
 738 |       self.session = URLSession(configuration: URLSessionConfiguration.default,
     |                                                                        `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 739 |         delegate: self, delegateQueue: nil)
 740 |     }
/host/spi-builder-workspace/Sources/Just/Just.swift:739:40: error: 'nil' requires a contextual type
 737 |     } else {
 738 |       self.session = URLSession(configuration: URLSessionConfiguration.default,
 739 |         delegate: self, delegateQueue: nil)
     |                                        `- error: 'nil' requires a contextual type
 740 |     }
 741 |
/host/spi-builder-workspace/Sources/Just/Just.swift:811:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 809 |     -> URLSessionDataTask?
 810 |   {
 811 |     let task = session.dataTask(with: request)
     |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 812 |     taskConfigs[task.taskIdentifier] = configuration
 813 |     return task
/host/spi-builder-workspace/Sources/Just/Just.swift:934:23: error: cannot find 'URLRequest' in scope
 932 |       }
 933 |       if let URL = urlComponents.url {
 934 |         var request = URLRequest(url: URL)
     |                       `- error: cannot find 'URLRequest' in scope
 935 |         request.cachePolicy = defaults.cachePolicy
 936 |         request.httpBody = body
/host/spi-builder-workspace/Sources/Just/Just.swift:974:21: error: cannot find 'DispatchSemaphore' in scope
 972 |
 973 |     let isSynchronous = asyncCompletionHandler == nil
 974 |     let semaphore = DispatchSemaphore(value: 0)
     |                     `- error: cannot find 'DispatchSemaphore' in scope
 975 |     var requestResult: HTTPResult = HTTPResult(data: nil, response: nil,
 976 |       error: syncResultAccessError, task: nil)
/host/spi-builder-workspace/Sources/Just/Just.swift:1014:39: error: cannot find 'DispatchTime' in scope
1012 |
1013 |     if isSynchronous {
1014 |       let timeout = timeout.flatMap { DispatchTime.now() + $0 }
     |                                       `- error: cannot find 'DispatchTime' in scope
1015 |         ?? DispatchTime.distantFuture
1016 |       _ = semaphore.wait(timeout: timeout)
/host/spi-builder-workspace/Sources/Just/Just.swift:1015:12: error: cannot find 'DispatchTime' in scope
1013 |     if isSynchronous {
1014 |       let timeout = timeout.flatMap { DispatchTime.now() + $0 }
1015 |         ?? DispatchTime.distantFuture
     |            `- error: cannot find 'DispatchTime' in scope
1016 |       _ = semaphore.wait(timeout: timeout)
1017 |       return requestResult
/host/spi-builder-workspace/Sources/Just/Just.swift:1025:11: error: cannot find 'HTTPCookiePropertyKey' in scope
1023 |     for (k, v) in newCookies {
1024 |       if let cookie = HTTPCookie(properties: [
1025 |           HTTPCookiePropertyKey.name: k,
     |           `- error: cannot find 'HTTPCookiePropertyKey' in scope
1026 |           HTTPCookiePropertyKey.value: v,
1027 |           HTTPCookiePropertyKey.originURL: URL,
/host/spi-builder-workspace/Sources/Just/Just.swift:1026:11: error: cannot find 'HTTPCookiePropertyKey' in scope
1024 |       if let cookie = HTTPCookie(properties: [
1025 |           HTTPCookiePropertyKey.name: k,
1026 |           HTTPCookiePropertyKey.value: v,
     |           `- error: cannot find 'HTTPCookiePropertyKey' in scope
1027 |           HTTPCookiePropertyKey.originURL: URL,
1028 |           HTTPCookiePropertyKey.path: "/"
/host/spi-builder-workspace/Sources/Just/Just.swift:1027:11: error: cannot find 'HTTPCookiePropertyKey' in scope
1025 |           HTTPCookiePropertyKey.name: k,
1026 |           HTTPCookiePropertyKey.value: v,
1027 |           HTTPCookiePropertyKey.originURL: URL,
     |           `- error: cannot find 'HTTPCookiePropertyKey' in scope
1028 |           HTTPCookiePropertyKey.path: "/"
1029 |         ])
/host/spi-builder-workspace/Sources/Just/Just.swift:1028:11: error: cannot find 'HTTPCookiePropertyKey' in scope
1026 |           HTTPCookiePropertyKey.value: v,
1027 |           HTTPCookiePropertyKey.originURL: URL,
1028 |           HTTPCookiePropertyKey.path: "/"
     |           `- error: cannot find 'HTTPCookiePropertyKey' in scope
1029 |         ])
1030 |       {
/host/spi-builder-workspace/Sources/Just/Just.swift:1024:23: error: 'HTTPCookie' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
1022 |   func addCookies(_ URL: Foundation.URL, newCookies: [String: String]) {
1023 |     for (k, v) in newCookies {
1024 |       if let cookie = HTTPCookie(properties: [
     |                       `- error: 'HTTPCookie' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
1025 |           HTTPCookiePropertyKey.name: k,
1026 |           HTTPCookiePropertyKey.value: v,
/host/spi-builder-workspace/Sources/Just/Just.swift:1031:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
1029 |         ])
1030 |       {
1031 |         session.configuration.httpCookieStorage?.setCookie(cookie)
     |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
1032 |       }
1033 |     }
/host/spi-builder-workspace/Sources/Just/Just.swift:1043:24: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1041 |       URLCredential?) -> Void)
1042 |     {
1043 |     var endCredential: URLCredential? = nil
     |                        `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1044 |
1045 |     if let taskConfig = taskConfigs[task.taskIdentifier],
Foundation.URLCredential:2:18: note: 'URLCredential' 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 URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Just/Just.swift:1045:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1043 |     var endCredential: URLCredential? = nil
1044 |
1045 |     if let taskConfig = taskConfigs[task.taskIdentifier],
     |                                          `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1046 |       let credential = taskConfig.credential
1047 |     {
/host/spi-builder-workspace/Sources/Just/Just.swift:1048:22: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'previousFailureCount'
1046 |       let credential = taskConfig.credential
1047 |     {
1048 |       if !(challenge.previousFailureCount > 0) {
     |                      `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'previousFailureCount'
1049 |         endCredential = URLCredential(
1050 |           user: credential.0,
/host/spi-builder-workspace/Sources/Just/Just.swift:1049:25: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
1047 |     {
1048 |       if !(challenge.previousFailureCount > 0) {
1049 |         endCredential = URLCredential(
     |                         `- error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
1050 |           user: credential.0,
1051 |           password: credential.1,
/host/spi-builder-workspace/Sources/Just/Just.swift:1057:24: error: cannot infer contextual base in reference to member 'useCredential'
1055 |     }
1056 |
1057 |     completionHandler(.useCredential, endCredential)
     |                        `- error: cannot infer contextual base in reference to member 'useCredential'
1058 |   }
1059 |
/host/spi-builder-workspace/Sources/Just/Just.swift:1065:46: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1063 |     completionHandler: @escaping (URLRequest?) -> Void)
1064 |   {
1065 |     if let allowRedirects = taskConfigs[task.taskIdentifier]?.redirects {
     |                                              `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1066 |       if !allowRedirects {
1067 |         completionHandler(nil)
/host/spi-builder-workspace/Sources/Just/Just.swift:1067:27: error: 'nil' requires a contextual type
1065 |     if let allowRedirects = taskConfigs[task.taskIdentifier]?.redirects {
1066 |       if !allowRedirects {
1067 |         completionHandler(nil)
     |                           `- error: 'nil' requires a contextual type
1068 |         return
1069 |       }
/host/spi-builder-workspace/Sources/Just/Just.swift:1080:39: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1078 |     totalBytesExpectedToSend: Int64)
1079 |   {
1080 |     if let handler = taskConfigs[task.taskIdentifier]?.progressHandler {
     |                                       `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1081 |       handler(
1082 |         HTTPProgress(
/host/spi-builder-workspace/Sources/Just/Just.swift:1095:43: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
1093 |     didReceive data: Data)
1094 |   {
1095 |     if let handler = taskConfigs[dataTask.taskIdentifier]?.progressHandler {
     |                                           `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
1096 |       handler(
1097 |         HTTPProgress(
/host/spi-builder-workspace/Sources/Just/Just.swift:1099:36: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'countOfBytesReceived'
1097 |         HTTPProgress(
1098 |           type: .download,
1099 |           bytesProcessed: dataTask.countOfBytesReceived,
     |                                    `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'countOfBytesReceived'
1100 |           bytesExpectedToProcess: dataTask.countOfBytesExpectedToReceive,
1101 |           chunk: data
/host/spi-builder-workspace/Sources/Just/Just.swift:1100:44: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToReceive'
1098 |           type: .download,
1099 |           bytesProcessed: dataTask.countOfBytesReceived,
1100 |           bytesExpectedToProcess: dataTask.countOfBytesExpectedToReceive,
     |                                            `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'countOfBytesExpectedToReceive'
1101 |           chunk: data
1102 |         )
/host/spi-builder-workspace/Sources/Just/Just.swift:1105:29: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
1103 |       )
1104 |     }
1105 |     if taskConfigs[dataTask.taskIdentifier]?.data != nil {
     |                             `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
1106 |       taskConfigs[dataTask.taskIdentifier]?.data.append(data)
1107 |     }
/host/spi-builder-workspace/Sources/Just/Just.swift:1106:28: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
1104 |     }
1105 |     if taskConfigs[dataTask.taskIdentifier]?.data != nil {
1106 |       taskConfigs[dataTask.taskIdentifier]?.data.append(data)
     |                            `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
1107 |     }
1108 |   }
/host/spi-builder-workspace/Sources/Just/Just.swift:1113:38: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1111 |     didCompleteWithError error: Error?)
1112 |   {
1113 |     if let config = taskConfigs[task.taskIdentifier],
     |                                      `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1114 |       let handler = config.completionHandler
1115 |     {
/host/spi-builder-workspace/Sources/Just/Just.swift:1118:24: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
1116 |       let result = HTTPResult(
1117 |         data: config.data,
1118 |         response: task.response,
     |                        `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
1119 |         error: error,
1120 |         task: task
/host/spi-builder-workspace/Sources/Just/Just.swift:1126:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1124 |       handler(result)
1125 |     }
1126 |     taskConfigs.removeValue(forKey: task.taskIdentifier)
     |                                          `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
1127 |   }
1128 | }
BUILD FAILURE 6.1 wasm