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 Cosmic with Swift 5.8 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.25.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jnewc/Cosmic.git
Reference: master
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/jnewc/Cosmic
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0c836f1 Fix double formatting with composite logger
Cloned https://github.com/jnewc/Cosmic.git
Revision (git rev-parse @):
0c836f1c9935418c613c3f9913e32412ded5c782
SUCCESS checkout https://github.com/jnewc/Cosmic.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/Kitura/BlueSocket
Fetching https://github.com/apple/swift-argument-parser
[1/2942] Fetching bluesocket
[2943/13990] Fetching bluesocket, swift-argument-parser
Fetched https://github.com/Kitura/BlueSocket (0.76s)
Computing version for https://github.com/Kitura/BlueSocket
Fetched https://github.com/apple/swift-argument-parser (0.77s)
Computed https://github.com/Kitura/BlueSocket at 2.0.2 (0.37s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.41s)
Creating working copy for https://github.com/Kitura/BlueSocket
Working copy of https://github.com/Kitura/BlueSocket resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Building for debugging...
[1/6] Compiling Socket SocketProtocols.swift
[2/6] Compiling Socket SocketUtils.swift
[3/6] Emitting module Socket
[4/6] Compiling Socket Socket+Hashable.swift
[5/6] Compiling Socket Socket+Equatable.swift
[6/6] Compiling Socket Socket.swift
[9/32] Compiling Cosmic HTTPLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:59:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal var session: URLSession
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:77: error: 'nil' requires a contextual type
        session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
                                                                            ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:90:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: URL(string: url)!)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
                  ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
                                       ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:112:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
        task.resume()
        ~~~~ ^~~~~~
[10/32] Compiling Cosmic LambdaLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:59:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal var session: URLSession
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:77: error: 'nil' requires a contextual type
        session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
                                                                            ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:90:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: URL(string: url)!)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
                  ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
                                       ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:112:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
        task.resume()
        ~~~~ ^~~~~~
[11/32] Compiling Cosmic MemoryLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:59:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal var session: URLSession
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:77: error: 'nil' requires a contextual type
        session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
                                                                            ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:90:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: URL(string: url)!)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
                  ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
                                       ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:112:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
        task.resume()
        ~~~~ ^~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/32] Emitting module Cosmic
/host/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol Logger: class {
                        ^~~~~
                        AnyObject
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:59:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal var session: URLSession
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Cosmic/Utilities/Extensions.swift:21:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
    open class func string(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) -> String? {
    ^~~~
    public
[13/35] Compiling Cosmic JSONFormatter.swift
[14/35] Compiling Cosmic SyslogFormatter.swift
[15/35] Compiling Cosmic CompositeLogger.swift
[16/35] Compiling Cosmic Commons.swift
[17/35] Compiling Cosmic DataUtility.swift
[18/35] Compiling Cosmic Debug.swift
[19/35] Compiling Cosmic LogzLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[20/35] Compiling Cosmic PapertrailLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[21/35] Compiling Cosmic SocketLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[22/35] Compiling Cosmic PrintLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[23/35] Compiling Cosmic LogItLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[24/35] Compiling Cosmic LogglyLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[25/35] Compiling Cosmic LogOutputStream.swift
/host/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol Logger: class {
                        ^~~~~
                        AnyObject
[26/35] Compiling Cosmic LogReporter.swift
/host/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol Logger: class {
                        ^~~~~
                        AnyObject
[27/35] Compiling Cosmic Logger.swift
/host/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol Logger: class {
                        ^~~~~
                        AnyObject
[28/35] Compiling Cosmic CompletionFormatter.swift
/host/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol Logger: class {
                        ^~~~~
                        AnyObject
[29/35] Compiling Cosmic Extensions.swift
/host/spi-builder-workspace/Sources/Cosmic/Utilities/Extensions.swift:21:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
    open class func string(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) -> String? {
    ^~~~
    public
[30/35] Compiling Cosmic Operators.swift
/host/spi-builder-workspace/Sources/Cosmic/Utilities/Extensions.swift:21:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
    open class func string(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) -> String? {
    ^~~~
    public
[31/35] Compiling Cosmic UniversalSocket.swift
/host/spi-builder-workspace/Sources/Cosmic/Utilities/Extensions.swift:21:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
    open class func string(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) -> String? {
    ^~~~
    public
[32/35] Compiling Cosmic LogCache.swift
[33/35] Compiling Cosmic LogFilter.swift
[34/35] Compiling Cosmic LogFormatter.swift
[35/35] Compiling Cosmic LogLevel.swift
[0/1] Planning build
Building for debugging...
[1/9] Compiling Cosmic PapertrailLogger.swift
[2/10] Compiling Cosmic LogzLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[3/10] Compiling Cosmic LogItLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[4/10] Compiling Cosmic LogglyLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[5/10] Compiling Cosmic MemoryLogger.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/10] Compiling Cosmic PrintLogger.swift
[7/10] Emitting module Cosmic
/host/spi-builder-workspace/Sources/Cosmic/Base/Logger.swift:43:25: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
public protocol Logger: class {
                        ^~~~~
                        AnyObject
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:59:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal var session: URLSession
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Cosmic/Utilities/Extensions.swift:21:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
    open class func string(withJSONObject obj: Any, options opt: JSONSerialization.WritingOptions = []) -> String? {
    ^~~~
    public
[8/10] Compiling Cosmic HTTPLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:59:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal var session: URLSession
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:77: error: 'nil' requires a contextual type
        session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
                                                                            ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:90:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: URL(string: url)!)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
                  ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
                                       ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:112:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
        task.resume()
        ~~~~ ^~~~~~
[9/10] Compiling Cosmic LambdaLogger.swift
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:57:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    internal var sessionConfiguration = URLSessionConfiguration.default
                                        ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:59:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal var session: URLSession
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:71:77: error: 'nil' requires a contextual type
        session = URLSession(configuration: sessionConfiguration, delegate: nil, delegateQueue: queue)
                                                                            ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:90:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: URL(string: url)!)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
                  ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:104:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task: URLSessionDataTask = session.dataTask(with: request) { data, response, error in
                                       ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Cosmic/Loggers/HTTPLogger.swift:112:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
        task.resume()
        ~~~~ ^~~~~~
[10/12] Compiling Cosmic Debug.swift
[11/12] Compiling Cosmic LogReporter.swift
[12/12] Compiling Cosmic SocketLogger.swift
[13/13] Compiling Cosmic UniversalSocket.swift
BUILD FAILURE 5.8 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.