The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SURL, reference main (c04f94), with Swift 6.1 for Linux on 26 Apr 2025 16:14:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLet/SURL.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/SURL
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c04f941 Added canImport(Combine)
Cloned https://github.com/0xLet/SURL.git
Revision (git rev-parse @):
c04f941eea250f78f5c7151c03cd2489ca9ffc2b
SUCCESS checkout https://github.com/0xLet/SURL.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xLet/SURL.git
https://github.com/0xLet/SURL.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SURL",
  "name" : "SURL",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SURL",
      "targets" : [
        "SURL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SURLTests",
      "module_type" : "SwiftTarget",
      "name" : "SURLTests",
      "path" : "Tests/SURLTests",
      "sources" : [
        "SURLTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SURL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SURL",
      "module_type" : "SwiftTarget",
      "name" : "SURL",
      "path" : "Sources/SURL",
      "product_memberships" : [
        "SURL"
      ],
      "sources" : [
        "String+.swift",
        "URL+.swift",
        "URLRequest+.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Compiling SURL String+.swift
[4/6] Emitting module SURL
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/6] Compiling SURL URL+.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/6] Compiling SURL URLRequest+.swift
/host/spi-builder-workspace/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling SURL URLRequest+.swift
/host/spi-builder-workspace/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/5] Compiling SURL URL+.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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)
[4/5] Compiling SURL String+.swift
[5/5] Emitting module SURL
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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
BUILD FAILURE 6.1 linux