This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 DataObject with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/0xLet/DataObject.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/0xLet/SwiftFu
Fetching https://github.com/0xLet/SURL
Fetching https://github.com/0xLet/WTV
[1/52] Fetching wtv
[53/97] Fetching wtv, surl
[98/246] Fetching wtv, surl, swiftfu
Fetched https://github.com/0xLet/SURL from cache (0.23s)
Fetched https://github.com/0xLet/SwiftFu from cache (0.23s)
Fetched https://github.com/0xLet/WTV from cache (0.23s)
Computing version for https://github.com/0xLet/SwiftFu
Computed https://github.com/0xLet/SwiftFu at 1.0.1 (0.45s)
Computing version for https://github.com/0xLet/WTV
Computed https://github.com/0xLet/WTV at 0.1.1 (0.45s)
Computing version for https://github.com/0xLet/SURL
Computed https://github.com/0xLet/SURL at 0.1.1 (0.45s)
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] Emitting module SwiftFu
[7/25] Compiling SwiftFu Fuable.swift
[8/25] Compiling SwiftFu Functionable.swift
[9/25] Compiling SwiftFu Modifiable.swift
[10/25] Compiling SwiftFu Printable.swift
[11/25] Compiling SwiftFu Boolable.swift
[12/25] Compiling SwiftFu Configurable.swift
[13/25] Compiling SwiftFu Tuplable.swift
[14/25] Compiling SwiftFu SwiftFu+.swift
[15/25] 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
[16/25] 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
[17/25] Compiling WTV WTV.swift
[18/25] Emitting module WTV
[19/25] Compiling SwiftFu BinaryInteger+.swift
[20/25] Compiling SwiftFu Assertable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/26] Compiling SURL String+.swift
[23/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
[24/26] Compiling SwiftFu Switch+.swift
[25/26] Compiling SwiftFu Foundation+SwiftFu.swift
[26/26] Compiling SwiftFu BinaryFloatingPoint+.swift
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.