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 DataObject, reference main (9b3d4a), with Swift 6.1 for Wasm on 28 May 2025 00:53:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/0xLet/DataObject.git
Reference: main
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/0xLet/DataObject
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9b3d4ac Merge pull request #4 from 0xLet/develop
Cloned https://github.com/0xLet/DataObject.git
Revision (git rev-parse @):
9b3d4ac019db5d1d313b92f281697b1c8665fc41
SUCCESS checkout https://github.com/0xLet/DataObject.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xLet/DataObject.git
https://github.com/0xLet/DataObject.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "wtv",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLet/WTV"
    },
    {
      "identity" : "surl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLet/SURL"
    },
    {
      "identity" : "swiftfu",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLet/SwiftFu"
    }
  ],
  "manifest_display_name" : "DataObject",
  "name" : "DataObject",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DataObject",
      "targets" : [
        "DataObject"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DataObjectTests",
      "module_type" : "SwiftTarget",
      "name" : "DataObjectTests",
      "path" : "Tests/DataObjectTests",
      "product_dependencies" : [
        "WTV",
        "SURL",
        "SwiftFu"
      ],
      "sources" : [
        "DataObjectTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DataObject"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataObject",
      "module_type" : "SwiftTarget",
      "name" : "DataObject",
      "path" : "Sources/DataObject",
      "product_dependencies" : [
        "WTV",
        "SURL",
        "SwiftFu"
      ],
      "product_memberships" : [
        "DataObject"
      ],
      "sources" : [
        "DataObject.swift",
        "Extensions/Data+DataObject.swift",
        "Extensions/DataObject+CustomStringConvertible.swift",
        "Extensions/DataObject+Hashable.swift",
        "Extensions/DataObject+WTV.swift",
        "Extensions/Encodable+DataObject.swift",
        "Extensions/SURL+DataObject.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Fetching https://github.com/0xLet/SwiftFu
Fetching https://github.com/0xLet/WTV
Fetching https://github.com/0xLet/SURL
[1/149] Fetching swiftfu
[107/194] Fetching swiftfu, surl
[164/246] Fetching swiftfu, surl, wtv
Fetched https://github.com/0xLet/SwiftFu from cache (0.26s)
Fetched https://github.com/0xLet/SURL from cache (0.26s)
Fetched https://github.com/0xLet/WTV from cache (0.26s)
Computing version for https://github.com/0xLet/SwiftFu
Computed https://github.com/0xLet/SwiftFu at 1.0.1 (0.92s)
Computing version for https://github.com/0xLet/WTV
Computed https://github.com/0xLet/WTV at 0.1.1 (0.70s)
Computing version for https://github.com/0xLet/SURL
Computed https://github.com/0xLet/SURL at 0.1.1 (1.12s)
Creating working copy for https://github.com/0xLet/SwiftFu
Working copy of https://github.com/0xLet/SwiftFu resolved at 1.0.1
Creating working copy for https://github.com/0xLet/SURL
Working copy of https://github.com/0xLet/SURL resolved at 0.1.1
Creating working copy for https://github.com/0xLet/WTV
Working copy of https://github.com/0xLet/WTV resolved at 0.1.1
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/24] Compiling SwiftFu SwiftFu+.swift
[7/25] Compiling SwiftFu Tuplable.swift
[8/25] Compiling SwiftFu Modifiable.swift
[9/25] Compiling SwiftFu Printable.swift
[10/25] Compiling SwiftFu Boolable.swift
[11/25] Compiling SwiftFu Configurable.swift
[12/25] Compiling SwiftFu Fuable.swift
[13/25] Compiling SwiftFu Functionable.swift
[14/25] Emitting module WTV
[15/25] Compiling WTV WTV.swift
[16/26] Compiling SwiftFu Switch+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/26] Compiling SURL String+.swift
[18/26] Emitting module SURL
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:14:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     // MARK: URLSession DataTasks
 13 |
 14 |     var dataTask: URLSessionDataTask {
    |                   `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 |         URLSession.shared.dataTask(with: self)
 16 |     }
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/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     }
 17 |
 18 |     func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         URLSession.shared.dataTask(with: self, completionHandler: handler)
 20 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:92: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     }
 17 |
 18 |     func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
    |                                                                                            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         URLSession.shared.dataTask(with: self, completionHandler: handler)
 20 |     }
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/.build/checkouts/SURL/Sources/SURL/URL+.swift:28:10: error: cannot find type 'URLRequest' in scope
 26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
 27 |         timeoutInterval: TimeInterval = 60.0
 28 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 29 |         var request = URLRequest(url: self,
 30 |                                  cachePolicy: cachePolicy,
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:25:35: error: cannot find type 'URLRequest' in scope
 23 |
 24 |     func urlRequest(
 25 |         forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
    |                                   `- error: cannot find type 'URLRequest' in scope
 26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
 27 |         timeoutInterval: TimeInterval = 60.0
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:26:22: error: cannot find type 'URLRequest' in scope
 24 |     func urlRequest(
 25 |         forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
 26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
    |                      `- error: cannot find type 'URLRequest' in scope
 27 |         timeoutInterval: TimeInterval = 60.0
 28 |     ) -> URLRequest {
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:43:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |
 42 |     func get(
 43 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |     ) {
 45 |         urlRequest(forHTTPMethod: .GET).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:49:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |
 48 |     func head(
 49 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     ) {
 51 |         urlRequest(forHTTPMethod: .HEAD).dataTask { (data, response, error) in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:57:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |
 56 |     func connect(
 57 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |     ) {
 59 |         urlRequest(forHTTPMethod: .CONNECT).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:63:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |
 62 |     func options(
 63 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |     ) {
 65 |         urlRequest(forHTTPMethod: .OPTIONS).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:69:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |
 68 |     func trace(
 69 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     ) {
 71 |         urlRequest(forHTTPMethod: .TRACE).dataTask { (data, response, error) in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:78:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |     func post(
 77 |         data: Data?,
 78 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |     ) {
 80 |         var request = urlRequest(forHTTPMethod: .POST)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:89:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     func put(
 88 |         data: Data?,
 89 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |     ) {
 91 |         var request = urlRequest(forHTTPMethod: .PUT)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:102:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 |     func patch(
101 |         data: Data?,
102 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |     ) {
104 |         var request = urlRequest(forHTTPMethod: .PATCH)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:113:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |     func delete(
112 |         data: Data?,
113 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |     ) {
115 |         var request = urlRequest(forHTTPMethod: .DELETE)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URLRequest+.swift:10:18: error: cannot find type 'URLRequest' in scope
 8 | import Foundation
 9 |
10 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
11 |
12 |     // MARK: HTTPRequestMethod
[19/26] Compiling SURL URLRequest+.swift
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URLRequest+.swift:10:18: error: cannot find type 'URLRequest' in scope
 8 | import Foundation
 9 |
10 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
11 |
12 |     // MARK: HTTPRequestMethod
[20/26] Compiling SURL URL+.swift
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:14:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     // MARK: URLSession DataTasks
 13 |
 14 |     var dataTask: URLSessionDataTask {
    |                   `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 |         URLSession.shared.dataTask(with: self)
 16 |     }
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/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     }
 17 |
 18 |     func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         URLSession.shared.dataTask(with: self, completionHandler: handler)
 20 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:92: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     }
 17 |
 18 |     func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
    |                                                                                            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         URLSession.shared.dataTask(with: self, completionHandler: handler)
 20 |     }
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/.build/checkouts/SURL/Sources/SURL/URL+.swift:28:10: error: cannot find type 'URLRequest' in scope
 26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
 27 |         timeoutInterval: TimeInterval = 60.0
 28 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 29 |         var request = URLRequest(url: self,
 30 |                                  cachePolicy: cachePolicy,
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:25:35: error: cannot find type 'URLRequest' in scope
 23 |
 24 |     func urlRequest(
 25 |         forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
    |                                   `- error: cannot find type 'URLRequest' in scope
 26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
 27 |         timeoutInterval: TimeInterval = 60.0
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:26:22: error: cannot find type 'URLRequest' in scope
 24 |     func urlRequest(
 25 |         forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
 26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
    |                      `- error: cannot find type 'URLRequest' in scope
 27 |         timeoutInterval: TimeInterval = 60.0
 28 |     ) -> URLRequest {
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:43:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |
 42 |     func get(
 43 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |     ) {
 45 |         urlRequest(forHTTPMethod: .GET).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:49:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |
 48 |     func head(
 49 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     ) {
 51 |         urlRequest(forHTTPMethod: .HEAD).dataTask { (data, response, error) in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:57:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |
 56 |     func connect(
 57 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |     ) {
 59 |         urlRequest(forHTTPMethod: .CONNECT).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:63:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |
 62 |     func options(
 63 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |     ) {
 65 |         urlRequest(forHTTPMethod: .OPTIONS).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:69:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |
 68 |     func trace(
 69 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     ) {
 71 |         urlRequest(forHTTPMethod: .TRACE).dataTask { (data, response, error) in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:78:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |     func post(
 77 |         data: Data?,
 78 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |     ) {
 80 |         var request = urlRequest(forHTTPMethod: .POST)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:89:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     func put(
 88 |         data: Data?,
 89 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |     ) {
 91 |         var request = urlRequest(forHTTPMethod: .PUT)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:102:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 |     func patch(
101 |         data: Data?,
102 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |     ) {
104 |         var request = urlRequest(forHTTPMethod: .PATCH)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:113:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |     func delete(
112 |         data: Data?,
113 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |     ) {
115 |         var request = urlRequest(forHTTPMethod: .DELETE)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:15:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 13 |
 14 |     var dataTask: URLSessionDataTask {
 15 |         URLSession.shared.dataTask(with: self)
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 16 |     }
 17 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:19:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 17 |
 18 |     func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
 19 |         URLSession.shared.dataTask(with: self, completionHandler: handler)
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |     }
 21 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:29:23: error: cannot find 'URLRequest' in scope
 27 |         timeoutInterval: TimeInterval = 60.0
 28 |     ) -> URLRequest {
 29 |         var request = URLRequest(url: self,
    |                       `- error: cannot find 'URLRequest' in scope
 30 |                                  cachePolicy: cachePolicy,
 31 |                                  timeoutInterval: timeoutInterval)
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:45:36: error: cannot infer contextual base in reference to member 'GET'
 43 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
 44 |     ) {
 45 |         urlRequest(forHTTPMethod: .GET).dataTask(withHandler: handler).resume()
    |                                    `- error: cannot infer contextual base in reference to member 'GET'
 46 |     }
 47 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:51:36: error: cannot infer contextual base in reference to member 'HEAD'
 49 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
 50 |     ) {
 51 |         urlRequest(forHTTPMethod: .HEAD).dataTask { (data, response, error) in
    |                                    `- error: cannot infer contextual base in reference to member 'HEAD'
 52 |             handler(response, error)
 53 |         }.resume()
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:59:36: error: cannot infer contextual base in reference to member 'CONNECT'
 57 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
 58 |     ) {
 59 |         urlRequest(forHTTPMethod: .CONNECT).dataTask(withHandler: handler).resume()
    |                                    `- error: cannot infer contextual base in reference to member 'CONNECT'
 60 |     }
 61 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:65:36: error: cannot infer contextual base in reference to member 'OPTIONS'
 63 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
 64 |     ) {
 65 |         urlRequest(forHTTPMethod: .OPTIONS).dataTask(withHandler: handler).resume()
    |                                    `- error: cannot infer contextual base in reference to member 'OPTIONS'
 66 |     }
 67 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:71:36: error: cannot infer contextual base in reference to member 'TRACE'
 69 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
 70 |     ) {
 71 |         urlRequest(forHTTPMethod: .TRACE).dataTask { (data, response, error) in
    |                                    `- error: cannot infer contextual base in reference to member 'TRACE'
 72 |             handler(response, error)
 73 |         }.resume()
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:80:50: error: cannot infer contextual base in reference to member 'POST'
 78 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
 79 |     ) {
 80 |         var request = urlRequest(forHTTPMethod: .POST)
    |                                                  `- error: cannot infer contextual base in reference to member 'POST'
 81 |
 82 |         request.httpBody = data
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:91:50: error: cannot infer contextual base in reference to member 'PUT'
 89 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
 90 |     ) {
 91 |         var request = urlRequest(forHTTPMethod: .PUT)
    |                                                  `- error: cannot infer contextual base in reference to member 'PUT'
 92 |
 93 |         request.httpBody = data
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:104:50: error: cannot infer contextual base in reference to member 'PATCH'
102 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
103 |     ) {
104 |         var request = urlRequest(forHTTPMethod: .PATCH)
    |                                                  `- error: cannot infer contextual base in reference to member 'PATCH'
105 |
106 |         request.httpBody = data
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:115:50: error: cannot infer contextual base in reference to member 'DELETE'
113 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
114 |     ) {
115 |         var request = urlRequest(forHTTPMethod: .DELETE)
    |                                                  `- error: cannot infer contextual base in reference to member 'DELETE'
116 |
117 |         request.httpBody = data
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/26] Compiling SwiftFu BinaryInteger+.swift
[23/26] Compiling SwiftFu Assertable.swift
[24/26] Emitting module SwiftFu
/host/spi-builder-workspace/.build/checkouts/SwiftFu/Sources/SwiftFu/Foundation+SwiftFu.swift:9:11: error: cannot find type 'URLRequest' in scope
 7 | #else
 8 | extension URL: Fuable { }
 9 | extension URLRequest: Fuable { }
   |           `- error: cannot find type 'URLRequest' in scope
10 | extension NSObject: FuableClass { }
11 | #endif
[25/26] Compiling SwiftFu Foundation+SwiftFu.swift
/host/spi-builder-workspace/.build/checkouts/SwiftFu/Sources/SwiftFu/Foundation+SwiftFu.swift:9:11: error: cannot find type 'URLRequest' in scope
 7 | #else
 8 | extension URL: Fuable { }
 9 | extension URLRequest: Fuable { }
   |           `- error: cannot find type 'URLRequest' in scope
10 | extension NSObject: FuableClass { }
11 | #endif
[26/26] Compiling SwiftFu BinaryFloatingPoint+.swift
/host/spi-builder-workspace/.build/checkouts/SwiftFu/Sources/SwiftFu/Foundation+SwiftFu.swift:9:11: error: cannot find type 'URLRequest' in scope
 7 | #else
 8 | extension URL: Fuable { }
 9 | extension URLRequest: Fuable { }
   |           `- error: cannot find type 'URLRequest' in scope
10 | extension NSObject: FuableClass { }
11 | #endif
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
[2/16] Compiling SURL URLRequest+.swift
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URLRequest+.swift:10:18: error: cannot find type 'URLRequest' in scope
 8 | import Foundation
 9 |
10 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
11 |
12 |     // MARK: HTTPRequestMethod
[3/20] Compiling SURL String+.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/20] Emitting module SURL
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:14:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     // MARK: URLSession DataTasks
 13 |
 14 |     var dataTask: URLSessionDataTask {
    |                   `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 |         URLSession.shared.dataTask(with: self)
 16 |     }
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/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     }
 17 |
 18 |     func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         URLSession.shared.dataTask(with: self, completionHandler: handler)
 20 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:92: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     }
 17 |
 18 |     func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
    |                                                                                            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         URLSession.shared.dataTask(with: self, completionHandler: handler)
 20 |     }
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/.build/checkouts/SURL/Sources/SURL/URL+.swift:28:10: error: cannot find type 'URLRequest' in scope
 26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
 27 |         timeoutInterval: TimeInterval = 60.0
 28 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 29 |         var request = URLRequest(url: self,
 30 |                                  cachePolicy: cachePolicy,
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:25:35: error: cannot find type 'URLRequest' in scope
 23 |
 24 |     func urlRequest(
 25 |         forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
    |                                   `- error: cannot find type 'URLRequest' in scope
 26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
 27 |         timeoutInterval: TimeInterval = 60.0
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:26:22: error: cannot find type 'URLRequest' in scope
 24 |     func urlRequest(
 25 |         forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
 26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
    |                      `- error: cannot find type 'URLRequest' in scope
 27 |         timeoutInterval: TimeInterval = 60.0
 28 |     ) -> URLRequest {
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:43:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |
 42 |     func get(
 43 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |     ) {
 45 |         urlRequest(forHTTPMethod: .GET).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:49:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |
 48 |     func head(
 49 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     ) {
 51 |         urlRequest(forHTTPMethod: .HEAD).dataTask { (data, response, error) in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:57:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |
 56 |     func connect(
 57 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |     ) {
 59 |         urlRequest(forHTTPMethod: .CONNECT).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:63:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |
 62 |     func options(
 63 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |     ) {
 65 |         urlRequest(forHTTPMethod: .OPTIONS).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:69:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |
 68 |     func trace(
 69 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     ) {
 71 |         urlRequest(forHTTPMethod: .TRACE).dataTask { (data, response, error) in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:78:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |     func post(
 77 |         data: Data?,
 78 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |     ) {
 80 |         var request = urlRequest(forHTTPMethod: .POST)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:89:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     func put(
 88 |         data: Data?,
 89 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |     ) {
 91 |         var request = urlRequest(forHTTPMethod: .PUT)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:102:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 |     func patch(
101 |         data: Data?,
102 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |     ) {
104 |         var request = urlRequest(forHTTPMethod: .PATCH)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:113:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |     func delete(
112 |         data: Data?,
113 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |     ) {
115 |         var request = urlRequest(forHTTPMethod: .DELETE)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URLRequest+.swift:10:18: error: cannot find type 'URLRequest' in scope
 8 | import Foundation
 9 |
10 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
11 |
12 |     // MARK: HTTPRequestMethod
[5/20] Compiling SURL URL+.swift
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:14:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     // MARK: URLSession DataTasks
 13 |
 14 |     var dataTask: URLSessionDataTask {
    |                   `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 |         URLSession.shared.dataTask(with: self)
 16 |     }
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/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     }
 17 |
 18 |     func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
    |                                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         URLSession.shared.dataTask(with: self, completionHandler: handler)
 20 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:18:92: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     }
 17 |
 18 |     func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
    |                                                                                            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         URLSession.shared.dataTask(with: self, completionHandler: handler)
 20 |     }
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/.build/checkouts/SURL/Sources/SURL/URL+.swift:28:10: error: cannot find type 'URLRequest' in scope
 26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
 27 |         timeoutInterval: TimeInterval = 60.0
 28 |     ) -> URLRequest {
    |          `- error: cannot find type 'URLRequest' in scope
 29 |         var request = URLRequest(url: self,
 30 |                                  cachePolicy: cachePolicy,
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:25:35: error: cannot find type 'URLRequest' in scope
 23 |
 24 |     func urlRequest(
 25 |         forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
    |                                   `- error: cannot find type 'URLRequest' in scope
 26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
 27 |         timeoutInterval: TimeInterval = 60.0
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:26:22: error: cannot find type 'URLRequest' in scope
 24 |     func urlRequest(
 25 |         forHTTPMethod httpMethod: URLRequest.HTTPRequestMethod? = .GET,
 26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
    |                      `- error: cannot find type 'URLRequest' in scope
 27 |         timeoutInterval: TimeInterval = 60.0
 28 |     ) -> URLRequest {
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:43:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |
 42 |     func get(
 43 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |     ) {
 45 |         urlRequest(forHTTPMethod: .GET).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:49:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |
 48 |     func head(
 49 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     ) {
 51 |         urlRequest(forHTTPMethod: .HEAD).dataTask { (data, response, error) in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:57:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |
 56 |     func connect(
 57 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |     ) {
 59 |         urlRequest(forHTTPMethod: .CONNECT).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:63:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |
 62 |     func options(
 63 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |     ) {
 65 |         urlRequest(forHTTPMethod: .OPTIONS).dataTask(withHandler: handler).resume()
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:69:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |
 68 |     func trace(
 69 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     ) {
 71 |         urlRequest(forHTTPMethod: .TRACE).dataTask { (data, response, error) in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:78:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |     func post(
 77 |         data: Data?,
 78 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |     ) {
 80 |         var request = urlRequest(forHTTPMethod: .POST)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:89:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     func put(
 88 |         data: Data?,
 89 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
    |                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |     ) {
 91 |         var request = urlRequest(forHTTPMethod: .PUT)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:102:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 |     func patch(
101 |         data: Data?,
102 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |     ) {
104 |         var request = urlRequest(forHTTPMethod: .PATCH)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:113:48: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |     func delete(
112 |         data: Data?,
113 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
    |                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |     ) {
115 |         var request = urlRequest(forHTTPMethod: .DELETE)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:15:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 13 |
 14 |     var dataTask: URLSessionDataTask {
 15 |         URLSession.shared.dataTask(with: self)
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 16 |     }
 17 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:19:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 17 |
 18 |     func dataTask(withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask {
 19 |         URLSession.shared.dataTask(with: self, completionHandler: handler)
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 20 |     }
 21 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:29:23: error: cannot find 'URLRequest' in scope
 27 |         timeoutInterval: TimeInterval = 60.0
 28 |     ) -> URLRequest {
 29 |         var request = URLRequest(url: self,
    |                       `- error: cannot find 'URLRequest' in scope
 30 |                                  cachePolicy: cachePolicy,
 31 |                                  timeoutInterval: timeoutInterval)
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:45:36: error: cannot infer contextual base in reference to member 'GET'
 43 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
 44 |     ) {
 45 |         urlRequest(forHTTPMethod: .GET).dataTask(withHandler: handler).resume()
    |                                    `- error: cannot infer contextual base in reference to member 'GET'
 46 |     }
 47 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:51:36: error: cannot infer contextual base in reference to member 'HEAD'
 49 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
 50 |     ) {
 51 |         urlRequest(forHTTPMethod: .HEAD).dataTask { (data, response, error) in
    |                                    `- error: cannot infer contextual base in reference to member 'HEAD'
 52 |             handler(response, error)
 53 |         }.resume()
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:59:36: error: cannot infer contextual base in reference to member 'CONNECT'
 57 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
 58 |     ) {
 59 |         urlRequest(forHTTPMethod: .CONNECT).dataTask(withHandler: handler).resume()
    |                                    `- error: cannot infer contextual base in reference to member 'CONNECT'
 60 |     }
 61 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:65:36: error: cannot infer contextual base in reference to member 'OPTIONS'
 63 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
 64 |     ) {
 65 |         urlRequest(forHTTPMethod: .OPTIONS).dataTask(withHandler: handler).resume()
    |                                    `- error: cannot infer contextual base in reference to member 'OPTIONS'
 66 |     }
 67 |
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:71:36: error: cannot infer contextual base in reference to member 'TRACE'
 69 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
 70 |     ) {
 71 |         urlRequest(forHTTPMethod: .TRACE).dataTask { (data, response, error) in
    |                                    `- error: cannot infer contextual base in reference to member 'TRACE'
 72 |             handler(response, error)
 73 |         }.resume()
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:80:50: error: cannot infer contextual base in reference to member 'POST'
 78 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
 79 |     ) {
 80 |         var request = urlRequest(forHTTPMethod: .POST)
    |                                                  `- error: cannot infer contextual base in reference to member 'POST'
 81 |
 82 |         request.httpBody = data
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:91:50: error: cannot infer contextual base in reference to member 'PUT'
 89 |         withHandler handler: @escaping (URLResponse?, Error?) -> Void
 90 |     ) {
 91 |         var request = urlRequest(forHTTPMethod: .PUT)
    |                                                  `- error: cannot infer contextual base in reference to member 'PUT'
 92 |
 93 |         request.httpBody = data
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:104:50: error: cannot infer contextual base in reference to member 'PATCH'
102 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
103 |     ) {
104 |         var request = urlRequest(forHTTPMethod: .PATCH)
    |                                                  `- error: cannot infer contextual base in reference to member 'PATCH'
105 |
106 |         request.httpBody = data
/host/spi-builder-workspace/.build/checkouts/SURL/Sources/SURL/URL+.swift:115:50: error: cannot infer contextual base in reference to member 'DELETE'
113 |         withHandler handler: @escaping (Data?, URLResponse?, Error?) -> Void
114 |     ) {
115 |         var request = urlRequest(forHTTPMethod: .DELETE)
    |                                                  `- error: cannot infer contextual base in reference to member 'DELETE'
116 |
117 |         request.httpBody = data
[6/20] Emitting module WTV
BUILD FAILURE 6.1 wasm