The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DVB, reference master (3d3999), with Swift 6.1 for Android on 27 May 2025 10:12:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
/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.
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
[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.
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
/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.
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
/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.
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
[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.
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
/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.
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
/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.
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
[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.
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
/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.
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
/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.
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
[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.
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
/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.
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
/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.
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
[35/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.
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
/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.
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
[36/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.
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
/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.
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
[37/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.
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
/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.
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
[38/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.
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
/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.
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
[39/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.
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
/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.
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/34] 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.
33 | extension RouteChange {
34 |     public static func get(shortTerm: Bool = true,
35 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |                            completion: @escaping (Result<RouteChangeResponse>) -> Void) {
37 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 | extension RouteChange {
34 |     public static func get(shortTerm: Bool = true,
35 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 |                            completion: @escaping (Result<RouteChangeResponse>) -> Void) {
37 |         let data = [
/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.
 67 |     ///   - completion: handler
 68 |     public static func find(_ query: String,
 69 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |                             completion: @escaping (Result<FindResponse>) -> Void) {
 71 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 67 |     ///   - completion: handler
 68 |     public static func find(_ query: String,
 69 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 70 |                             completion: @escaping (Result<FindResponse>) -> Void) {
 71 |         let data: [String: Any] = [
/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.
 80 |     public static func findNear(lat: Double,
 81 |                                 lng: Double,
 82 |                                 session: URLSession = .shared,
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 84 |         let coord = WGSCoordinate(latitude: lat, longitude: lng)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 80 |     public static func findNear(lat: Double,
 81 |                                 lng: Double,
 82 |                                 session: URLSession = .shared,
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 83 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 84 |         let coord = WGSCoordinate(latitude: lat, longitude: lng)
/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.
 95 |     ///   - completion: handler
 96 |     public static func findNear(coord: Coordinate,
 97 |                                 session: URLSession = .shared,
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 99 |         // swiftlint:disable:next identifier_name
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 95 |     ///   - completion: handler
 96 |     public static func findNear(coord: Coordinate,
 97 |                                 session: URLSession = .shared,
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 98 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 99 |         // swiftlint:disable:next identifier_name
/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.
116 |                         allowedModes modes: [Mode] = Mode.allRequest,
117 |                         allowShorttermChanges: Bool = true,
118 |                         session: URLSession = .shared,
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |                         completion: @escaping (Result<MonitorResponse>) -> Void) {
120 |         Departure.monitor(stopWithId: self.id,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
116 |                         allowedModes modes: [Mode] = Mode.allRequest,
117 |                         allowShorttermChanges: Bool = true,
118 |                         session: URLSession = .shared,
    |                                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
119 |                         completion: @escaping (Result<MonitorResponse>) -> Void) {
120 |         Departure.monitor(stopWithId: self.id,
[3/34] 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.
33 | extension RouteChange {
34 |     public static func get(shortTerm: Bool = true,
35 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |                            completion: @escaping (Result<RouteChangeResponse>) -> Void) {
37 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 | extension RouteChange {
34 |     public static func get(shortTerm: Bool = true,
35 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 |                            completion: @escaping (Result<RouteChangeResponse>) -> Void) {
37 |         let data = [
/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.
 67 |     ///   - completion: handler
 68 |     public static func find(_ query: String,
 69 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |                             completion: @escaping (Result<FindResponse>) -> Void) {
 71 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 67 |     ///   - completion: handler
 68 |     public static func find(_ query: String,
 69 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 70 |                             completion: @escaping (Result<FindResponse>) -> Void) {
 71 |         let data: [String: Any] = [
/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.
 80 |     public static func findNear(lat: Double,
 81 |                                 lng: Double,
 82 |                                 session: URLSession = .shared,
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 84 |         let coord = WGSCoordinate(latitude: lat, longitude: lng)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 80 |     public static func findNear(lat: Double,
 81 |                                 lng: Double,
 82 |                                 session: URLSession = .shared,
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 83 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 84 |         let coord = WGSCoordinate(latitude: lat, longitude: lng)
/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.
 95 |     ///   - completion: handler
 96 |     public static func findNear(coord: Coordinate,
 97 |                                 session: URLSession = .shared,
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 99 |         // swiftlint:disable:next identifier_name
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 95 |     ///   - completion: handler
 96 |     public static func findNear(coord: Coordinate,
 97 |                                 session: URLSession = .shared,
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 98 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 99 |         // swiftlint:disable:next identifier_name
/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.
116 |                         allowedModes modes: [Mode] = Mode.allRequest,
117 |                         allowShorttermChanges: Bool = true,
118 |                         session: URLSession = .shared,
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |                         completion: @escaping (Result<MonitorResponse>) -> Void) {
120 |         Departure.monitor(stopWithId: self.id,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
116 |                         allowedModes modes: [Mode] = Mode.allRequest,
117 |                         allowShorttermChanges: Bool = true,
118 |                         session: URLSession = .shared,
    |                                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
119 |                         completion: @escaping (Result<MonitorResponse>) -> Void) {
120 |         Departure.monitor(stopWithId: self.id,
[4/34] 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.
33 | extension RouteChange {
34 |     public static func get(shortTerm: Bool = true,
35 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |                            completion: @escaping (Result<RouteChangeResponse>) -> Void) {
37 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 | extension RouteChange {
34 |     public static func get(shortTerm: Bool = true,
35 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 |                            completion: @escaping (Result<RouteChangeResponse>) -> Void) {
37 |         let data = [
/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.
 67 |     ///   - completion: handler
 68 |     public static func find(_ query: String,
 69 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |                             completion: @escaping (Result<FindResponse>) -> Void) {
 71 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 67 |     ///   - completion: handler
 68 |     public static func find(_ query: String,
 69 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 70 |                             completion: @escaping (Result<FindResponse>) -> Void) {
 71 |         let data: [String: Any] = [
/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.
 80 |     public static func findNear(lat: Double,
 81 |                                 lng: Double,
 82 |                                 session: URLSession = .shared,
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 84 |         let coord = WGSCoordinate(latitude: lat, longitude: lng)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 80 |     public static func findNear(lat: Double,
 81 |                                 lng: Double,
 82 |                                 session: URLSession = .shared,
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 83 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 84 |         let coord = WGSCoordinate(latitude: lat, longitude: lng)
/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.
 95 |     ///   - completion: handler
 96 |     public static func findNear(coord: Coordinate,
 97 |                                 session: URLSession = .shared,
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 99 |         // swiftlint:disable:next identifier_name
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 95 |     ///   - completion: handler
 96 |     public static func findNear(coord: Coordinate,
 97 |                                 session: URLSession = .shared,
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 98 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 99 |         // swiftlint:disable:next identifier_name
/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.
116 |                         allowedModes modes: [Mode] = Mode.allRequest,
117 |                         allowShorttermChanges: Bool = true,
118 |                         session: URLSession = .shared,
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |                         completion: @escaping (Result<MonitorResponse>) -> Void) {
120 |         Departure.monitor(stopWithId: self.id,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
116 |                         allowedModes modes: [Mode] = Mode.allRequest,
117 |                         allowShorttermChanges: Bool = true,
118 |                         session: URLSession = .shared,
    |                                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
119 |                         completion: @escaping (Result<MonitorResponse>) -> Void) {
120 |         Departure.monitor(stopWithId: self.id,
[5/34] 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.
33 | extension RouteChange {
34 |     public static func get(shortTerm: Bool = true,
35 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |                            completion: @escaping (Result<RouteChangeResponse>) -> Void) {
37 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 | extension RouteChange {
34 |     public static func get(shortTerm: Bool = true,
35 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 |                            completion: @escaping (Result<RouteChangeResponse>) -> Void) {
37 |         let data = [
/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.
 67 |     ///   - completion: handler
 68 |     public static func find(_ query: String,
 69 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |                             completion: @escaping (Result<FindResponse>) -> Void) {
 71 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 67 |     ///   - completion: handler
 68 |     public static func find(_ query: String,
 69 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 70 |                             completion: @escaping (Result<FindResponse>) -> Void) {
 71 |         let data: [String: Any] = [
/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.
 80 |     public static func findNear(lat: Double,
 81 |                                 lng: Double,
 82 |                                 session: URLSession = .shared,
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 84 |         let coord = WGSCoordinate(latitude: lat, longitude: lng)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 80 |     public static func findNear(lat: Double,
 81 |                                 lng: Double,
 82 |                                 session: URLSession = .shared,
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 83 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 84 |         let coord = WGSCoordinate(latitude: lat, longitude: lng)
/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.
 95 |     ///   - completion: handler
 96 |     public static func findNear(coord: Coordinate,
 97 |                                 session: URLSession = .shared,
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 99 |         // swiftlint:disable:next identifier_name
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 95 |     ///   - completion: handler
 96 |     public static func findNear(coord: Coordinate,
 97 |                                 session: URLSession = .shared,
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 98 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 99 |         // swiftlint:disable:next identifier_name
/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.
116 |                         allowedModes modes: [Mode] = Mode.allRequest,
117 |                         allowShorttermChanges: Bool = true,
118 |                         session: URLSession = .shared,
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |                         completion: @escaping (Result<MonitorResponse>) -> Void) {
120 |         Departure.monitor(stopWithId: self.id,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
116 |                         allowedModes modes: [Mode] = Mode.allRequest,
117 |                         allowShorttermChanges: Bool = true,
118 |                         session: URLSession = .shared,
    |                                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
119 |                         completion: @escaping (Result<MonitorResponse>) -> Void) {
120 |         Departure.monitor(stopWithId: self.id,
[6/38] 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.
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
/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.
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
[7/38] 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.
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
/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.
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
[8/38] 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.
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
/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.
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
[9/38] 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.
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
/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.
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
[10/38] 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.
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
/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.
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
[11/38] 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.
41 |                            stopID: String,
42 |                            atTime time: Date,
43 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |                            completion: @escaping (Result<TripsResponse>) -> Void) {
45 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            stopID: String,
42 |                            atTime time: Date,
43 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |                            completion: @escaping (Result<TripsResponse>) -> Void) {
45 |         let data: [String: Any] = [
/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.
  4 |
  5 | func get<T: Decodable>(_ url: URL,
  6 |                        session: URLSession = .shared,
    |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  4 |
  5 | func get<T: Decodable>(_ url: URL,
  6 |                        session: URLSession = .shared,
    |                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
/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.
 13 | func post<T: Decodable, U: Encodable>(_ url: URL,
 14 |                                       data: U,
 15 |                                       session: URLSession = .shared,
    |                                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |                                       completion: @escaping (Result<T>) -> Void) {
 17 |     do {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 13 | func post<T: Decodable, U: Encodable>(_ url: URL,
 14 |                                       data: U,
 15 |                                       session: URLSession = .shared,
    |                                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 16 |                                       completion: @escaping (Result<T>) -> Void) {
 17 |     do {
/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.
 28 | func post<T: Decodable>(_ url: URL,
 29 |                         data: [String: Any],
 30 |                         session: URLSession = .shared,
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |                         completion: @escaping (Result<T>) -> Void) {
 32 |     do {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 28 | func post<T: Decodable>(_ url: URL,
 29 |                         data: [String: Any],
 30 |                         session: URLSession = .shared,
    |                                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 31 |                         completion: @escaping (Result<T>) -> Void) {
 32 |     do {
/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.
 42 | func _post<T: Decodable>(_ url: URL,
 43 |                          data: Data,
 44 |                          session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |                          completion: @escaping (Result<T>) -> Void) {
 46 |     var request = URLRequest(url: url)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:59:46: error: cannot find type 'URLRequest' in scope
 57 | }
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
    |                                              `- error: cannot find type 'URLRequest' in scope
 60 |                                     session: URLSession = .shared,
 61 |                                     completion: @escaping (Result<T>) -> Void) {
/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.
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
 60 |                                     session: URLSession = .shared,
    |                                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |                                     completion: @escaping (Result<T>) -> Void) {
 62 |     let task = session.dataTask(with: request) { data, response, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
 60 |                                     session: URLSession = .shared,
    |                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 61 |                                     completion: @escaping (Result<T>) -> Void) {
 62 |     let task = session.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/DVB/Network.swift:8:19: error: cannot find 'URLRequest' in scope
  6 |                        session: URLSession = .shared,
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
  9 |     request.httpMethod = HTTPMethod.GET.rawValue
 10 |     dataTask(request: request, session: session, completion: completion)
/host/spi-builder-workspace/Sources/DVB/Network.swift:46:19: error: cannot find 'URLRequest' in scope
 44 |                          session: URLSession,
 45 |                          completion: @escaping (Result<T>) -> Void) {
 46 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 47 |     request.httpMethod = HTTPMethod.POST.rawValue
 48 |     request.addValue("application/json;charset=UTF-8", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/DVB/Network.swift:62:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 60 |                                     session: URLSession = .shared,
 61 |                                     completion: @escaping (Result<T>) -> Void) {
 62 |     let task = session.dataTask(with: request) { data, response, error in
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 63 |         guard
 64 |             error == nil,
/host/spi-builder-workspace/Sources/DVB/Network.swift:72:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |         }
 71 |
 72 |         guard response.statusCode / 100 == 2 else {
    |                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 73 |             completion(Result(failure: DVBError.server(statusCode: response.statusCode)))
 74 |             return
[12/38] 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.
41 |                            stopID: String,
42 |                            atTime time: Date,
43 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |                            completion: @escaping (Result<TripsResponse>) -> Void) {
45 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            stopID: String,
42 |                            atTime time: Date,
43 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |                            completion: @escaping (Result<TripsResponse>) -> Void) {
45 |         let data: [String: Any] = [
/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.
  4 |
  5 | func get<T: Decodable>(_ url: URL,
  6 |                        session: URLSession = .shared,
    |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  4 |
  5 | func get<T: Decodable>(_ url: URL,
  6 |                        session: URLSession = .shared,
    |                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
/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.
 13 | func post<T: Decodable, U: Encodable>(_ url: URL,
 14 |                                       data: U,
 15 |                                       session: URLSession = .shared,
    |                                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |                                       completion: @escaping (Result<T>) -> Void) {
 17 |     do {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 13 | func post<T: Decodable, U: Encodable>(_ url: URL,
 14 |                                       data: U,
 15 |                                       session: URLSession = .shared,
    |                                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 16 |                                       completion: @escaping (Result<T>) -> Void) {
 17 |     do {
/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.
 28 | func post<T: Decodable>(_ url: URL,
 29 |                         data: [String: Any],
 30 |                         session: URLSession = .shared,
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |                         completion: @escaping (Result<T>) -> Void) {
 32 |     do {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 28 | func post<T: Decodable>(_ url: URL,
 29 |                         data: [String: Any],
 30 |                         session: URLSession = .shared,
    |                                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 31 |                         completion: @escaping (Result<T>) -> Void) {
 32 |     do {
/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.
 42 | func _post<T: Decodable>(_ url: URL,
 43 |                          data: Data,
 44 |                          session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |                          completion: @escaping (Result<T>) -> Void) {
 46 |     var request = URLRequest(url: url)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:59:46: error: cannot find type 'URLRequest' in scope
 57 | }
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
    |                                              `- error: cannot find type 'URLRequest' in scope
 60 |                                     session: URLSession = .shared,
 61 |                                     completion: @escaping (Result<T>) -> Void) {
/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.
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
 60 |                                     session: URLSession = .shared,
    |                                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |                                     completion: @escaping (Result<T>) -> Void) {
 62 |     let task = session.dataTask(with: request) { data, response, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
 60 |                                     session: URLSession = .shared,
    |                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 61 |                                     completion: @escaping (Result<T>) -> Void) {
 62 |     let task = session.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/DVB/Network.swift:8:19: error: cannot find 'URLRequest' in scope
  6 |                        session: URLSession = .shared,
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
  9 |     request.httpMethod = HTTPMethod.GET.rawValue
 10 |     dataTask(request: request, session: session, completion: completion)
/host/spi-builder-workspace/Sources/DVB/Network.swift:46:19: error: cannot find 'URLRequest' in scope
 44 |                          session: URLSession,
 45 |                          completion: @escaping (Result<T>) -> Void) {
 46 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 47 |     request.httpMethod = HTTPMethod.POST.rawValue
 48 |     request.addValue("application/json;charset=UTF-8", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/DVB/Network.swift:62:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 60 |                                     session: URLSession = .shared,
 61 |                                     completion: @escaping (Result<T>) -> Void) {
 62 |     let task = session.dataTask(with: request) { data, response, error in
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 63 |         guard
 64 |             error == nil,
/host/spi-builder-workspace/Sources/DVB/Network.swift:72:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |         }
 71 |
 72 |         guard response.statusCode / 100 == 2 else {
    |                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 73 |             completion(Result(failure: DVBError.server(statusCode: response.statusCode)))
 74 |             return
[13/38] 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.
41 |                            stopID: String,
42 |                            atTime time: Date,
43 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |                            completion: @escaping (Result<TripsResponse>) -> Void) {
45 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            stopID: String,
42 |                            atTime time: Date,
43 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |                            completion: @escaping (Result<TripsResponse>) -> Void) {
45 |         let data: [String: Any] = [
/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.
  4 |
  5 | func get<T: Decodable>(_ url: URL,
  6 |                        session: URLSession = .shared,
    |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  4 |
  5 | func get<T: Decodable>(_ url: URL,
  6 |                        session: URLSession = .shared,
    |                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
/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.
 13 | func post<T: Decodable, U: Encodable>(_ url: URL,
 14 |                                       data: U,
 15 |                                       session: URLSession = .shared,
    |                                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |                                       completion: @escaping (Result<T>) -> Void) {
 17 |     do {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 13 | func post<T: Decodable, U: Encodable>(_ url: URL,
 14 |                                       data: U,
 15 |                                       session: URLSession = .shared,
    |                                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 16 |                                       completion: @escaping (Result<T>) -> Void) {
 17 |     do {
/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.
 28 | func post<T: Decodable>(_ url: URL,
 29 |                         data: [String: Any],
 30 |                         session: URLSession = .shared,
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |                         completion: @escaping (Result<T>) -> Void) {
 32 |     do {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 28 | func post<T: Decodable>(_ url: URL,
 29 |                         data: [String: Any],
 30 |                         session: URLSession = .shared,
    |                                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 31 |                         completion: @escaping (Result<T>) -> Void) {
 32 |     do {
/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.
 42 | func _post<T: Decodable>(_ url: URL,
 43 |                          data: Data,
 44 |                          session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |                          completion: @escaping (Result<T>) -> Void) {
 46 |     var request = URLRequest(url: url)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:59:46: error: cannot find type 'URLRequest' in scope
 57 | }
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
    |                                              `- error: cannot find type 'URLRequest' in scope
 60 |                                     session: URLSession = .shared,
 61 |                                     completion: @escaping (Result<T>) -> Void) {
/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.
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
 60 |                                     session: URLSession = .shared,
    |                                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |                                     completion: @escaping (Result<T>) -> Void) {
 62 |     let task = session.dataTask(with: request) { data, response, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
 60 |                                     session: URLSession = .shared,
    |                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 61 |                                     completion: @escaping (Result<T>) -> Void) {
 62 |     let task = session.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/DVB/Network.swift:8:19: error: cannot find 'URLRequest' in scope
  6 |                        session: URLSession = .shared,
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
  9 |     request.httpMethod = HTTPMethod.GET.rawValue
 10 |     dataTask(request: request, session: session, completion: completion)
/host/spi-builder-workspace/Sources/DVB/Network.swift:46:19: error: cannot find 'URLRequest' in scope
 44 |                          session: URLSession,
 45 |                          completion: @escaping (Result<T>) -> Void) {
 46 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 47 |     request.httpMethod = HTTPMethod.POST.rawValue
 48 |     request.addValue("application/json;charset=UTF-8", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/DVB/Network.swift:62:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 60 |                                     session: URLSession = .shared,
 61 |                                     completion: @escaping (Result<T>) -> Void) {
 62 |     let task = session.dataTask(with: request) { data, response, error in
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 63 |         guard
 64 |             error == nil,
/host/spi-builder-workspace/Sources/DVB/Network.swift:72:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |         }
 71 |
 72 |         guard response.statusCode / 100 == 2 else {
    |                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 73 |             completion(Result(failure: DVBError.server(statusCode: response.statusCode)))
 74 |             return
[14/38] 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.
41 |                            stopID: String,
42 |                            atTime time: Date,
43 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |                            completion: @escaping (Result<TripsResponse>) -> Void) {
45 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            stopID: String,
42 |                            atTime time: Date,
43 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |                            completion: @escaping (Result<TripsResponse>) -> Void) {
45 |         let data: [String: Any] = [
/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.
  4 |
  5 | func get<T: Decodable>(_ url: URL,
  6 |                        session: URLSession = .shared,
    |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  4 |
  5 | func get<T: Decodable>(_ url: URL,
  6 |                        session: URLSession = .shared,
    |                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
/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.
 13 | func post<T: Decodable, U: Encodable>(_ url: URL,
 14 |                                       data: U,
 15 |                                       session: URLSession = .shared,
    |                                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |                                       completion: @escaping (Result<T>) -> Void) {
 17 |     do {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 13 | func post<T: Decodable, U: Encodable>(_ url: URL,
 14 |                                       data: U,
 15 |                                       session: URLSession = .shared,
    |                                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 16 |                                       completion: @escaping (Result<T>) -> Void) {
 17 |     do {
/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.
 28 | func post<T: Decodable>(_ url: URL,
 29 |                         data: [String: Any],
 30 |                         session: URLSession = .shared,
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |                         completion: @escaping (Result<T>) -> Void) {
 32 |     do {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 28 | func post<T: Decodable>(_ url: URL,
 29 |                         data: [String: Any],
 30 |                         session: URLSession = .shared,
    |                                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 31 |                         completion: @escaping (Result<T>) -> Void) {
 32 |     do {
/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.
 42 | func _post<T: Decodable>(_ url: URL,
 43 |                          data: Data,
 44 |                          session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |                          completion: @escaping (Result<T>) -> Void) {
 46 |     var request = URLRequest(url: url)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:59:46: error: cannot find type 'URLRequest' in scope
 57 | }
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
    |                                              `- error: cannot find type 'URLRequest' in scope
 60 |                                     session: URLSession = .shared,
 61 |                                     completion: @escaping (Result<T>) -> Void) {
/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.
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
 60 |                                     session: URLSession = .shared,
    |                                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |                                     completion: @escaping (Result<T>) -> Void) {
 62 |     let task = session.dataTask(with: request) { data, response, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
 60 |                                     session: URLSession = .shared,
    |                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 61 |                                     completion: @escaping (Result<T>) -> Void) {
 62 |     let task = session.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/DVB/Network.swift:8:19: error: cannot find 'URLRequest' in scope
  6 |                        session: URLSession = .shared,
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
  9 |     request.httpMethod = HTTPMethod.GET.rawValue
 10 |     dataTask(request: request, session: session, completion: completion)
/host/spi-builder-workspace/Sources/DVB/Network.swift:46:19: error: cannot find 'URLRequest' in scope
 44 |                          session: URLSession,
 45 |                          completion: @escaping (Result<T>) -> Void) {
 46 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 47 |     request.httpMethod = HTTPMethod.POST.rawValue
 48 |     request.addValue("application/json;charset=UTF-8", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/DVB/Network.swift:62:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 60 |                                     session: URLSession = .shared,
 61 |                                     completion: @escaping (Result<T>) -> Void) {
 62 |     let task = session.dataTask(with: request) { data, response, error in
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 63 |         guard
 64 |             error == nil,
/host/spi-builder-workspace/Sources/DVB/Network.swift:72:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |         }
 71 |
 72 |         guard response.statusCode / 100 == 2 else {
    |                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 73 |             completion(Result(failure: DVBError.server(statusCode: response.statusCode)))
 74 |             return
[15/38] Compiling DVB RoutesResponse.swift
[16/38] Compiling DVB RouteChange+Kind.swift
[17/38] Compiling DVB RouteChange+Line.swift
[18/38] Compiling DVB RouteChange+ValidityPeriod.swift
[19/38] Compiling DVB POIResponse.swift
[20/38] Compiling DVB Platform.swift
[21/38] Compiling DVB MobilitySettings.swift
[22/38] Compiling DVB StandardSettings.swift
[23/38] Compiling DVB Route+MapData.swift
[24/38] 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.
 45 |                             mobilitySettings: MobilitySettings = .none,
 46 |                             standardSettings: StandardSettings = .default,
 47 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 49 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 45 |                             mobilitySettings: MobilitySettings = .none,
 46 |                             standardSettings: StandardSettings = .default,
 47 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 48 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 49 |
/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.
 79 |                             mobilitySettings: MobilitySettings = .none,
 80 |                             standardSettings: StandardSettings = .default,
 81 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 83 |         // FIXME: fire off these two requests in parallel, this implementation is just lazy
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |                             mobilitySettings: MobilitySettings = .none,
 80 |                             standardSettings: StandardSettings = .default,
 81 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 82 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 83 |         // FIXME: fire off these two requests in parallel, this implementation is just lazy
[25/38] 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.
 45 |                             mobilitySettings: MobilitySettings = .none,
 46 |                             standardSettings: StandardSettings = .default,
 47 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 49 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 45 |                             mobilitySettings: MobilitySettings = .none,
 46 |                             standardSettings: StandardSettings = .default,
 47 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 48 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 49 |
/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.
 79 |                             mobilitySettings: MobilitySettings = .none,
 80 |                             standardSettings: StandardSettings = .default,
 81 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 83 |         // FIXME: fire off these two requests in parallel, this implementation is just lazy
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |                             mobilitySettings: MobilitySettings = .none,
 80 |                             standardSettings: StandardSettings = .default,
 81 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 82 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 83 |         // FIXME: fire off these two requests in parallel, this implementation is just lazy
[26/38] 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.
 45 |                             mobilitySettings: MobilitySettings = .none,
 46 |                             standardSettings: StandardSettings = .default,
 47 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 49 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 45 |                             mobilitySettings: MobilitySettings = .none,
 46 |                             standardSettings: StandardSettings = .default,
 47 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 48 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 49 |
/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.
 79 |                             mobilitySettings: MobilitySettings = .none,
 80 |                             standardSettings: StandardSettings = .default,
 81 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 83 |         // FIXME: fire off these two requests in parallel, this implementation is just lazy
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |                             mobilitySettings: MobilitySettings = .none,
 80 |                             standardSettings: StandardSettings = .default,
 81 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 82 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 83 |         // FIXME: fire off these two requests in parallel, this implementation is just lazy
[27/38] 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.
 45 |                             mobilitySettings: MobilitySettings = .none,
 46 |                             standardSettings: StandardSettings = .default,
 47 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 49 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 45 |                             mobilitySettings: MobilitySettings = .none,
 46 |                             standardSettings: StandardSettings = .default,
 47 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 48 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 49 |
/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.
 79 |                             mobilitySettings: MobilitySettings = .none,
 80 |                             standardSettings: StandardSettings = .default,
 81 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 83 |         // FIXME: fire off these two requests in parallel, this implementation is just lazy
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |                             mobilitySettings: MobilitySettings = .none,
 80 |                             standardSettings: StandardSettings = .default,
 81 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 82 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 83 |         // FIXME: fire off these two requests in parallel, this implementation is just lazy
[28/38] 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.
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
/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.
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
/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.
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
[29/38] 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.
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
/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.
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
/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.
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
[30/38] 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.
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
/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.
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
/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.
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
[31/38] 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.
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
/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.
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
/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.
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
[32/38] 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.
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
/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.
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
/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.
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/38] Compiling DVB DVBError.swift
[34/38] Compiling DVB Date+SAP.swift
[35/38] Compiling DVB Endpoint.swift
[36/38] Compiling DVB GaussKrueger.swift
[37/38] Compiling DVB Departure+State.swift
[38/38] 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.
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:106:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
/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.
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift:127:55: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                                       `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
128 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
129 |         Stop.find(name, session: session) { result in
/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.
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
30 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
31 |         let data = [
/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.
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:40:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
/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.
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift:33:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
/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.
 45 |                             mobilitySettings: MobilitySettings = .none,
 46 |                             standardSettings: StandardSettings = .default,
 47 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 49 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:47:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 45 |                             mobilitySettings: MobilitySettings = .none,
 46 |                             standardSettings: StandardSettings = .default,
 47 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 48 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 49 |
/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.
 79 |                             mobilitySettings: MobilitySettings = .none,
 80 |                             standardSettings: StandardSettings = .default,
 81 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 83 |         // FIXME: fire off these two requests in parallel, this implementation is just lazy
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift:81:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |                             mobilitySettings: MobilitySettings = .none,
 80 |                             standardSettings: StandardSettings = .default,
 81 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 82 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 83 |         // FIXME: fire off these two requests in parallel, this implementation is just lazy
/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.
33 | extension RouteChange {
34 |     public static func get(shortTerm: Bool = true,
35 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |                            completion: @escaping (Result<RouteChangeResponse>) -> Void) {
37 |         let data = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 | extension RouteChange {
34 |     public static func get(shortTerm: Bool = true,
35 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 |                            completion: @escaping (Result<RouteChangeResponse>) -> Void) {
37 |         let data = [
/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.
 67 |     ///   - completion: handler
 68 |     public static func find(_ query: String,
 69 |                             session: URLSession = .shared,
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |                             completion: @escaping (Result<FindResponse>) -> Void) {
 71 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:69:52: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 67 |     ///   - completion: handler
 68 |     public static func find(_ query: String,
 69 |                             session: URLSession = .shared,
    |                                                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 70 |                             completion: @escaping (Result<FindResponse>) -> Void) {
 71 |         let data: [String: Any] = [
/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.
 80 |     public static func findNear(lat: Double,
 81 |                                 lng: Double,
 82 |                                 session: URLSession = .shared,
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 84 |         let coord = WGSCoordinate(latitude: lat, longitude: lng)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:82:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 80 |     public static func findNear(lat: Double,
 81 |                                 lng: Double,
 82 |                                 session: URLSession = .shared,
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 83 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 84 |         let coord = WGSCoordinate(latitude: lat, longitude: lng)
/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.
 95 |     ///   - completion: handler
 96 |     public static func findNear(coord: Coordinate,
 97 |                                 session: URLSession = .shared,
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 99 |         // swiftlint:disable:next identifier_name
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:97:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 95 |     ///   - completion: handler
 96 |     public static func findNear(coord: Coordinate,
 97 |                                 session: URLSession = .shared,
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 98 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 99 |         // swiftlint:disable:next identifier_name
/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.
116 |                         allowedModes modes: [Mode] = Mode.allRequest,
117 |                         allowShorttermChanges: Bool = true,
118 |                         session: URLSession = .shared,
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |                         completion: @escaping (Result<MonitorResponse>) -> Void) {
120 |         Departure.monitor(stopWithId: self.id,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift:118:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
116 |                         allowedModes modes: [Mode] = Mode.allRequest,
117 |                         allowShorttermChanges: Bool = true,
118 |                         session: URLSession = .shared,
    |                                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
119 |                         completion: @escaping (Result<MonitorResponse>) -> Void) {
120 |         Departure.monitor(stopWithId: self.id,
/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.
41 |                            stopID: String,
42 |                            atTime time: Date,
43 |                            session: URLSession = .shared,
   |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |                            completion: @escaping (Result<TripsResponse>) -> Void) {
45 |         let data: [String: Any] = [
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:51: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 |                            stopID: String,
42 |                            atTime time: Date,
43 |                            session: URLSession = .shared,
   |                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |                            completion: @escaping (Result<TripsResponse>) -> Void) {
45 |         let data: [String: Any] = [
/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.
  4 |
  5 | func get<T: Decodable>(_ url: URL,
  6 |                        session: URLSession = .shared,
    |                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:6:47: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  4 |
  5 | func get<T: Decodable>(_ url: URL,
  6 |                        session: URLSession = .shared,
    |                                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
/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.
 13 | func post<T: Decodable, U: Encodable>(_ url: URL,
 14 |                                       data: U,
 15 |                                       session: URLSession = .shared,
    |                                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |                                       completion: @escaping (Result<T>) -> Void) {
 17 |     do {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:15:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 13 | func post<T: Decodable, U: Encodable>(_ url: URL,
 14 |                                       data: U,
 15 |                                       session: URLSession = .shared,
    |                                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 16 |                                       completion: @escaping (Result<T>) -> Void) {
 17 |     do {
/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.
 28 | func post<T: Decodable>(_ url: URL,
 29 |                         data: [String: Any],
 30 |                         session: URLSession = .shared,
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |                         completion: @escaping (Result<T>) -> Void) {
 32 |     do {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:30:48: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 28 | func post<T: Decodable>(_ url: URL,
 29 |                         data: [String: Any],
 30 |                         session: URLSession = .shared,
    |                                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 31 |                         completion: @escaping (Result<T>) -> Void) {
 32 |     do {
/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.
 42 | func _post<T: Decodable>(_ url: URL,
 43 |                          data: Data,
 44 |                          session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |                          completion: @escaping (Result<T>) -> Void) {
 46 |     var request = URLRequest(url: url)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:59:46: error: cannot find type 'URLRequest' in scope
 57 | }
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
    |                                              `- error: cannot find type 'URLRequest' in scope
 60 |                                     session: URLSession = .shared,
 61 |                                     completion: @escaping (Result<T>) -> Void) {
/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.
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
 60 |                                     session: URLSession = .shared,
    |                                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |                                     completion: @escaping (Result<T>) -> Void) {
 62 |     let task = session.dataTask(with: request) { data, response, error in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/DVB/Network.swift:60:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
 60 |                                     session: URLSession = .shared,
    |                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 61 |                                     completion: @escaping (Result<T>) -> Void) {
 62 |     let task = session.dataTask(with: request) { data, response, error in
BUILD FAILURE 6.1 android