The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Just, reference 0.8.0 (1824bf), with Swift 6.4 for Wasm on 17 Sep 2026 00:56:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
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.4
Building package at path:  $PWD
https://github.com/dduan/Just.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/Just/Just.swift:104:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 102 | }
 103 |
 104 | extension URLResponse {
     | `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 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: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: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: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
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Just/Just.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Just.build/Debug-webassembly-wasm32/Just-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Just.build/Debug-webassembly-wasm32/Just-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Just.build/Debug-webassembly-wasm32/Just-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Just -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Just.build/Debug-webassembly-wasm32/Just-t.build/Objects-normal/wasm32/Just_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Just.build/Debug-webassembly-wasm32/Just-t.build/Objects-normal/wasm32/Modules/Just.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Just.build/Debug-webassembly-wasm32/Just-t.build/Objects-normal/wasm32/Modules/Just.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Just.build/Debug-webassembly-wasm32/Just-t.build/Objects-normal/wasm32/Just-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Just.build/Debug-webassembly-wasm32/Just-t.build/Objects-normal/wasm32/Just-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Just.build/Debug-webassembly-wasm32/Just-t.build/Objects-normal/wasm32/Just-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Just.build/Debug-webassembly-wasm32/Just-t.build/Objects-normal/wasm32/Modules/Just.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm