Build Information
Failed to build DVB with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/DVB.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/kiliankoe/DVB
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3d3999b Remove TripsResponse expirationTime
Cloned https://github.com/kiliankoe/DVB.git
Revision (git rev-parse @):
3d3999bca5e3847f0b73668b8fe496b73c69712c
SUCCESS checkout https://github.com/kiliankoe/DVB.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/kiliankoe/DVB.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/35] 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,
~^~~~~~
[4/39] 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,
~^~~~~~
[5/39] 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,
~^~~~~~
[6/39] 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,
~^~~~~~
[7/39] 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,
~^~~~~~
[8/39] 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,
~^~~~~~
[9/39] 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,
~^~~~~~
[10/39] 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,
~^~~~~~
[11/39] 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,
~^~~~~~
[12/39] 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,
~^~~~~~
[13/39] 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 {
~~~~~~~~ ^~~~~~~~~~
[14/39] 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 {
~~~~~~~~ ^~~~~~~~~~
[15/39] 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 {
~~~~~~~~ ^~~~~~~~~~
[16/39] 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 {
~~~~~~~~ ^~~~~~~~~~
[17/39] 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,
~^~~~~~
[18/39] 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,
~^~~~~~
[19/39] 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,
~^~~~~~
[20/39] 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,
~^~~~~~
[21/39] Compiling DVB POIResponse.swift
[22/39] Compiling DVB Platform.swift
[23/39] Compiling DVB MobilitySettings.swift
[24/39] Compiling DVB StandardSettings.swift
[25/39] Compiling DVB Route+MapData.swift
[26/39] Compiling DVB RoutesResponse.swift
[27/39] Compiling DVB RouteChange+Kind.swift
[28/39] Compiling DVB RouteChange+Line.swift
[29/39] Compiling DVB RouteChange+ValidityPeriod.swift
[30/39] 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,
~^~~~~~
[31/39] 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,
~^~~~~~
[32/39] 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,
~^~~~~~
[33/39] 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,
~^~~~~~
[34/39] 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,
~^~~~~~
[35/39] Compiling DVB DVBError.swift
[36/39] Compiling DVB Date+SAP.swift
[37/39] Compiling DVB Endpoint.swift
[38/39] Compiling DVB GaussKrueger.swift
[39/39] Compiling DVB Departure+State.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/22] Compiling DVB Line+Direction.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,
~^~~~~~
[3/22] Compiling DVB Line+TimeTable.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,
~^~~~~~
[4/22] 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,
~^~~~~~
[5/22] Compiling DVB RouteChangeResponse.swift
/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,
~^~~~~~
[6/22] Compiling DVB FindResponse.swift
/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,
~^~~~~~
[7/22] Compiling DVB Stop.swift
/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,
~^~~~~~
[8/22] 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,
~^~~~~~
/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,
~^~~~~~
[9/22] 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,
~^~~~~~
/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,
~^~~~~~
[10/22] Compiling DVB RouteChange.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,
~^~~~~~
/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,
~^~~~~~
[11/24] 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,
~^~~~~~
[12/24] 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,
~^~~~~~
[13/24] 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,
~^~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/24] 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,
~^~~~~~
[15/24] Compiling DVB LinesResponse.swift
[16/24] Compiling DVB Mode.swift
[17/24] Compiling DVB POI+Kind.swift
[18/24] 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 {
~~~~~~~~ ^~~~~~~~~~
[19/24] 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 {
~~~~~~~~ ^~~~~~~~~~
[20/24] Compiling DVB POI.swift
/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,
~^~~~~~
[21/24] Compiling DVB Route+ModeElement.swift
/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,
~^~~~~~
[22/24] Compiling DVB Route+RoutePartial.swift
/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,
~^~~~~~
[23/27] Compiling DVB Result.swift
[24/27] Compiling DVB SAPDateDecoder.swift
[25/27] Compiling DVB RouteChange+Line.swift
[26/27] Compiling DVB StandardSettings.swift
[27/27] Compiling DVB POIResponse.swift
error: fatalError
BUILD FAILURE 5.10 linux
Build Machine: Linux 1