The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DVB with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/DVB.git
Reference: master
Cloned https://github.com/kiliankoe/DVB.git into spi-builder-workspace
SUCCESS checkout https://github.com/kiliankoe/DVB.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/33] Emitting module DVB
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                               session: URLSession = .shared,
                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                               session: URLSession = .shared,
                                                     ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                               session: URLSession = .shared,
                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                               session: URLSession = .shared,
                                                     ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession = .shared,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                session: URLSession = .shared,
                                                      ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession = .shared,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                session: URLSession = .shared,
                                                      ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        session: URLSession = .shared,
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                        session: URLSession = .shared,
                                              ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       session: URLSession = .shared,
                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                       session: URLSession = .shared,
                                             ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                      session: URLSession = .shared,
                                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                      session: URLSession = .shared,
                                                            ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        session: URLSession = .shared,
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                        session: URLSession = .shared,
                                              ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:44:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                         session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:59:46: error: cannot find type 'URLRequest' in scope
private func dataTask<T: Decodable>(request: URLRequest,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:46: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                    session: URLSession = .shared,
                                             ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                    session: URLSession = .shared,
                                                          ~^~~~~~
[2/37] Compiling DVB Trip.swift
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       session: URLSession = .shared,
                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                       session: URLSession = .shared,
                                             ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                      session: URLSession = .shared,
                                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                      session: URLSession = .shared,
                                                            ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        session: URLSession = .shared,
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                        session: URLSession = .shared,
                                              ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:44:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                         session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:59:46: error: cannot find type 'URLRequest' in scope
private func dataTask<T: Decodable>(request: URLRequest,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:46: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                    session: URLSession = .shared,
                                             ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                    session: URLSession = .shared,
                                                          ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:8:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:46:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:62:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = session.dataTask(with: request) { data, response, error in
               ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:72:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        guard response.statusCode / 100 == 2 else {
              ~~~~~~~~ ^~~~~~~~~~
[3/37] Compiling DVB Network.swift
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       session: URLSession = .shared,
                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                       session: URLSession = .shared,
                                             ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                      session: URLSession = .shared,
                                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                      session: URLSession = .shared,
                                                            ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        session: URLSession = .shared,
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                        session: URLSession = .shared,
                                              ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:44:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                         session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:59:46: error: cannot find type 'URLRequest' in scope
private func dataTask<T: Decodable>(request: URLRequest,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:46: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                    session: URLSession = .shared,
                                             ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                    session: URLSession = .shared,
                                                          ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:8:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:46:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:62:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = session.dataTask(with: request) { data, response, error in
               ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:72:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        guard response.statusCode / 100 == 2 else {
              ~~~~~~~~ ^~~~~~~~~~
[4/37] Compiling DVB Result.swift
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       session: URLSession = .shared,
                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                       session: URLSession = .shared,
                                             ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                      session: URLSession = .shared,
                                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                      session: URLSession = .shared,
                                                            ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        session: URLSession = .shared,
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                        session: URLSession = .shared,
                                              ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:44:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                         session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:59:46: error: cannot find type 'URLRequest' in scope
private func dataTask<T: Decodable>(request: URLRequest,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:46: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                    session: URLSession = .shared,
                                             ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                    session: URLSession = .shared,
                                                          ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:8:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:46:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:62:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = session.dataTask(with: request) { data, response, error in
               ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:72:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        guard response.statusCode / 100 == 2 else {
              ~~~~~~~~ ^~~~~~~~~~
[5/37] Compiling DVB SAPDateDecoder.swift
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:33: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       session: URLSession = .shared,
                                ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                       session: URLSession = .shared,
                                             ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                      session: URLSession = .shared,
                                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                      session: URLSession = .shared,
                                                            ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        session: URLSession = .shared,
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                        session: URLSession = .shared,
                                              ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:44:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                         session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:59:46: error: cannot find type 'URLRequest' in scope
private func dataTask<T: Decodable>(request: URLRequest,
                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:46: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                    session: URLSession = .shared,
                                             ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                    session: URLSession = .shared,
                                                          ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:8:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:46:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:62:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = session.dataTask(with: request) { data, response, error in
               ~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/DVB/Network.swift:72:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        guard response.statusCode / 100 == 2 else {
              ~~~~~~~~ ^~~~~~~~~~
[6/37] Compiling DVB RoutesResponse.swift
[7/37] Compiling DVB RouteChange+Kind.swift
[8/37] Compiling DVB RouteChange+Line.swift
[9/37] Compiling DVB RouteChange+ValidityPeriod.swift
[10/37] Compiling DVB DVBError.swift
[11/37] Compiling DVB Date+SAP.swift
[12/37] Compiling DVB Endpoint.swift
[13/37] Compiling DVB GaussKrueger.swift
[14/37] Compiling DVB Departure+State.swift
[15/37] Compiling DVB Route+ModeElement.swift
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
[16/37] Compiling DVB Route+RoutePartial.swift
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
[17/37] Compiling DVB Route+RouteStop.swift
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
[18/37] Compiling DVB Route.swift
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
[19/37] Compiling DVB RouteChange.swift
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession = .shared,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                session: URLSession = .shared,
                                                      ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession = .shared,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                session: URLSession = .shared,
                                                      ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        session: URLSession = .shared,
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                        session: URLSession = .shared,
                                              ~^~~~~~
[20/37] Compiling DVB RouteChangeResponse.swift
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession = .shared,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                session: URLSession = .shared,
                                                      ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession = .shared,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                session: URLSession = .shared,
                                                      ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        session: URLSession = .shared,
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                        session: URLSession = .shared,
                                              ~^~~~~~
[21/37] Compiling DVB FindResponse.swift
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession = .shared,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                session: URLSession = .shared,
                                                      ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession = .shared,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                session: URLSession = .shared,
                                                      ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        session: URLSession = .shared,
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                        session: URLSession = .shared,
                                              ~^~~~~~
[22/37] Compiling DVB Stop.swift
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession = .shared,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                session: URLSession = .shared,
                                                      ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                                session: URLSession = .shared,
                                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                                session: URLSession = .shared,
                                                      ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        session: URLSession = .shared,
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                        session: URLSession = .shared,
                                              ~^~~~~~
[23/37] Compiling DVB Line.swift
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
[24/37] Compiling DVB LinesResponse.swift
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
[25/37] Compiling DVB Mode.swift
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
[26/37] Compiling DVB POI+Kind.swift
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
[27/37] Compiling DVB POI.swift
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                           session: URLSession = .shared,
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                           session: URLSession = .shared,
                                                 ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                            session: URLSession = .shared,
                                     ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                            session: URLSession = .shared,
                                                  ~^~~~~~
[28/37] Compiling DVB Departure.swift
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                               session: URLSession = .shared,
                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                               session: URLSession = .shared,
                                                     ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                               session: URLSession = .shared,
                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                               session: URLSession = .shared,
                                                     ~^~~~~~
[29/37] Compiling DVB MonitorResponse.swift
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                               session: URLSession = .shared,
                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                               session: URLSession = .shared,
                                                     ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                               session: URLSession = .shared,
                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                               session: URLSession = .shared,
                                                     ~^~~~~~
[30/37] Compiling DVB Diva.swift
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                               session: URLSession = .shared,
                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                               session: URLSession = .shared,
                                                     ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                               session: URLSession = .shared,
                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                               session: URLSession = .shared,
                                                     ~^~~~~~
[31/37] Compiling DVB Line+Direction.swift
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                               session: URLSession = .shared,
                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                               session: URLSession = .shared,
                                                     ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                               session: URLSession = .shared,
                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                               session: URLSession = .shared,
                                                     ~^~~~~~
[32/37] Compiling DVB Line+TimeTable.swift
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                               session: URLSession = .shared,
                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                               session: URLSession = .shared,
                                                     ~^~~~~~
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:41: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                               session: URLSession = .shared,
                                        ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
                               session: URLSession = .shared,
                                                     ~^~~~~~
[33/37] Compiling DVB POIResponse.swift
[34/37] Compiling DVB Platform.swift
[35/37] Compiling DVB MobilitySettings.swift
[36/37] Compiling DVB StandardSettings.swift
[37/37] Compiling DVB Route+MapData.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2