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 SimpleDownloader with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/t-ae/simpledownloader.git
Reference: 2.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/t-ae/simpledownloader
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 9206dfb Update for swift4.2
Cloned https://github.com/t-ae/simpledownloader.git
Revision (git rev-parse @):
9206dfb63469bc596e51824c264e29676e8a536a
SUCCESS checkout https://github.com/t-ae/simpledownloader.git at 2.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/t-ae/simpledownloader.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
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] Emitting module SimpleDownloader
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:10:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:10:75: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                                                  ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:26:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession,
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:27:42: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           downloadTask: URLSessionDownloadTask,
                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:57:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession,
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:58:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           task: URLSessionTask,
                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:74:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession,
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:75:42: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           downloadTask: URLSessionDownloadTask,
                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:3:56: error: cannot find type 'URLSessionDownloadDelegate' in scope
public class SimpleDownloader: URLSessionWrapper<URL>, URLSessionDownloadDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleRequester.swift:12:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleRequester.swift:12:75: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                                                  ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SimpleRequester.swift:7:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public class SimpleRequester: URLSessionWrapper<(URLResponse, Data)> {
                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionWrapper.swift:9:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var session: URLSession!
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionWrapper.swift:10:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var task: URLSessionTask!
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
[4/6] Compiling SimpleDownloader SimpleRequester.swift
/host/spi-builder-workspace/Sources/SimpleRequester.swift:12:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleRequester.swift:12:75: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                                                  ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SimpleRequester.swift:7:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public class SimpleRequester: URLSessionWrapper<(URLResponse, Data)> {
                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleRequester.swift:22:22: error: cannot find type 'URLRequest' in scope
        var request: URLRequest
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleRequester.swift:25:23: error: cannot find 'URLRequest' in scope
            request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleRequester.swift:30:23: error: cannot find 'URLRequest' in scope
            request = URLRequest(url: queryUrl)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleRequester.swift:39:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = URLSession(configuration: config)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleRequester.swift:41:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        task = session.dataTask(with: request) { data, response, error in
               ~~~~~~~ ^~~~~~~~
[5/6] Compiling SimpleDownloader SimpleDownloader.swift
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:10:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:10:75: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                                                  ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:26:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession,
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:27:42: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           downloadTask: URLSessionDownloadTask,
                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:57:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession,
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:58:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           task: URLSessionTask,
                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:74:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession,
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:75:42: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           downloadTask: URLSessionDownloadTask,
                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:3:56: error: cannot find type 'URLSessionDownloadDelegate' in scope
public class SimpleDownloader: URLSessionWrapper<URL>, URLSessionDownloadDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:14:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = URLSession(configuration: config,
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:18:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:22:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
        task = session.downloadTask(with: request)
               ~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:30:37: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
        let response = downloadTask.response as? HTTPURLResponse
                       ~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:47:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
                self.session.finishTasksAndInvalidate()
                ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:52:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
                self.session.finishTasksAndInvalidate()
                ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:70:26: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
            self.session.finishTasksAndInvalidate()
            ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
[6/6] Compiling SimpleDownloader URLSessionWrapper.swift
/host/spi-builder-workspace/Sources/URLSessionWrapper.swift:9:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var session: URLSession!
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionWrapper.swift:10:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var task: URLSessionTask!
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionWrapper.swift:35:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
        task.resume()
        ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/URLSessionWrapper.swift:39:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
        task.cancel()
        ~~~~ ^~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling SimpleDownloader URLSessionWrapper.swift
/host/spi-builder-workspace/Sources/URLSessionWrapper.swift:9:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var session: URLSession!
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionWrapper.swift:10:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var task: URLSessionTask!
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionWrapper.swift:35:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
        task.resume()
        ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/URLSessionWrapper.swift:39:14: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
        task.cancel()
        ~~~~ ^~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module SimpleDownloader
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:10:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:10:75: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                                                  ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:26:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession,
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:27:42: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           downloadTask: URLSessionDownloadTask,
                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:57:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession,
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:58:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           task: URLSessionTask,
                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:74:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession,
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:75:42: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           downloadTask: URLSessionDownloadTask,
                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:3:56: error: cannot find type 'URLSessionDownloadDelegate' in scope
public class SimpleDownloader: URLSessionWrapper<URL>, URLSessionDownloadDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleRequester.swift:12:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleRequester.swift:12:75: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                                                  ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SimpleRequester.swift:7:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public class SimpleRequester: URLSessionWrapper<(URLResponse, Data)> {
                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionWrapper.swift:9:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var session: URLSession!
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/URLSessionWrapper.swift:10:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var task: URLSessionTask!
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
[4/5] Compiling SimpleDownloader SimpleRequester.swift
/host/spi-builder-workspace/Sources/SimpleRequester.swift:12:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleRequester.swift:12:75: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                                                  ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SimpleRequester.swift:7:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public class SimpleRequester: URLSessionWrapper<(URLResponse, Data)> {
                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleRequester.swift:22:22: error: cannot find type 'URLRequest' in scope
        var request: URLRequest
                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleRequester.swift:25:23: error: cannot find 'URLRequest' in scope
            request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleRequester.swift:30:23: error: cannot find 'URLRequest' in scope
            request = URLRequest(url: queryUrl)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleRequester.swift:39:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = URLSession(configuration: config)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleRequester.swift:41:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        task = session.dataTask(with: request) { data, response, error in
               ~~~~~~~ ^~~~~~~~
[5/5] Compiling SimpleDownloader SimpleDownloader.swift
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:10:25: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                        ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:10:75: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
                config: URLSessionConfiguration = URLSessionConfiguration.default) {
                                                  ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:26:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession,
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:27:42: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           downloadTask: URLSessionDownloadTask,
                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:57:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession,
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:58:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           task: URLSessionTask,
                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:74:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func urlSession(_ session: URLSession,
                                      ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:75:42: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           downloadTask: URLSessionDownloadTask,
                                         ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:3:56: error: cannot find type 'URLSessionDownloadDelegate' in scope
public class SimpleDownloader: URLSessionWrapper<URL>, URLSessionDownloadDelegate {
                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:14:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = URLSession(configuration: config,
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:18:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:22:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
        task = session.downloadTask(with: request)
               ~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:30:37: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
        let response = downloadTask.response as? HTTPURLResponse
                       ~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:47:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
                self.session.finishTasksAndInvalidate()
                ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:52:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
                self.session.finishTasksAndInvalidate()
                ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SimpleDownloader.swift:70:26: error: value of type 'URLSession' (aka 'AnyObject') has no member 'finishTasksAndInvalidate'
            self.session.finishTasksAndInvalidate()
            ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux