The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DVB, reference master (3d3999), with Swift 6.4 for Wasm on 16 Sep 2026 05:15:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/DVB.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/kiliankoe/DVB
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3d3999b Remove TripsResponse expirationTime
Cloned https://github.com/kiliankoe/DVB.git
Revision (git rev-parse @):
3d3999bca5e3847f0b73668b8fe496b73c69712c
SUCCESS checkout https://github.com/kiliankoe/DVB.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/kiliankoe/DVB.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

[27 / 35] 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: value of type '_' expected to be instance of class or class-constrained type
104 |                                allowedModes modes: [Mode] = Mode.allRequest,
105 |                                allowShorttermChanges: Bool = true,
106 |                                session: URLSession = .shared,
    |                                                       `- error: value of type '_' expected to be instance of class or class-constrained type
107 |                                completion: @escaping (Result<MonitorResponse>) -> Void) {
108 |         let data: [String: Any] = [
/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/Departure/Departure.swift:127:55: error: value of type '_' expected to be instance of class or class-constrained type
125 |                                allowedModes modes: [Mode] = Mode.allRequest,
126 |                                allowShorttermChanges: Bool = true,
127 |                                session: URLSession = .shared,
    |                                                       `- error: value of type '_' expected to be instance of class or class-constrained type
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:29:51: error: value of type '_' expected to be instance of class or class-constrained type
27 | extension Line {
28 |     public static func get(forStopId id: String,
29 |                            session: URLSession = .shared,
   |                                                   `- error: value of type '_' expected to be instance of class or class-constrained type
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: value of type '_' expected to be instance of class or class-constrained type
38 |     /// result's `id` as an argument for the lines request.
39 |     public static func get(forStopName name: String,
40 |                            session: URLSession = .shared,
   |                                                   `- error: value of type '_' expected to be instance of class or class-constrained type
41 |                            completion: @escaping (Result<LinesResponse>) -> Void) {
42 |         Stop.find(name, session: session) { result in
/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: value of type '_' expected to be instance of class or class-constrained type
31 |     public static func find(types: [POI.Kind] = POI.Kind.allCases,
32 |                             in rect: CoordRect,
33 |                             session: URLSession = .shared,
   |                                                    `- error: value of type '_' expected to be instance of class or class-constrained type
34 |                             completion: @escaping (Result<POIResponse>) -> Void) {
35 |         guard
/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: value of type '_' expected to be instance of class or class-constrained type
 45 |                             mobilitySettings: MobilitySettings = .none,
 46 |                             standardSettings: StandardSettings = .default,
 47 |                             session: URLSession = .shared,
    |                                                    `- error: value of type '_' expected to be instance of class or class-constrained type
 48 |                             completion: @escaping (Result<RoutesResponse>) -> Void) {
 49 |
/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/Route/Route.swift:81:52: error: value of type '_' expected to be instance of class or class-constrained type
 79 |                             mobilitySettings: MobilitySettings = .none,
 80 |                             standardSettings: StandardSettings = .default,
 81 |                             session: URLSession = .shared,
    |                                                    `- error: value of type '_' expected to be instance of class or class-constrained type
 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/RouteChange/RouteChange.swift:35:51: error: value of type '_' expected to be instance of class or class-constrained type
33 | extension RouteChange {
34 |     public static func get(shortTerm: Bool = true,
35 |                            session: URLSession = .shared,
   |                                                   `- error: value of type '_' expected to be instance of class or class-constrained type
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:69:52: error: value of type '_' expected to be instance of class or class-constrained type
 67 |     ///   - completion: handler
 68 |     public static func find(_ query: String,
 69 |                             session: URLSession = .shared,
    |                                                    `- error: value of type '_' expected to be instance of class or class-constrained type
 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: value of type '_' expected to be instance of class or class-constrained type
 80 |     public static func findNear(lat: Double,
 81 |                                 lng: Double,
 82 |                                 session: URLSession = .shared,
    |                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 83 |                                 completion: @escaping (Result<FindResponse>) -> Void) {
 84 |         let coord = WGSCoordinate(latitude: lat, longitude: lng)
/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:97:56: error: value of type '_' expected to be instance of class or class-constrained type
 95 |     ///   - completion: handler
 96 |     public static func findNear(coord: Coordinate,
 97 |                                 session: URLSession = .shared,
    |                                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 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: value of type '_' expected to be instance of class or class-constrained type
116 |                         allowedModes modes: [Mode] = Mode.allRequest,
117 |                         allowShorttermChanges: Bool = true,
118 |                         session: URLSession = .shared,
    |                                                `- error: value of type '_' expected to be instance of class or class-constrained type
119 |                         completion: @escaping (Result<MonitorResponse>) -> Void) {
120 |         Departure.monitor(stopWithId: self.id,
/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/Models/Trip.swift:43:51: error: value of type '_' expected to be instance of class or class-constrained type
41 |                            stopID: String,
42 |                            atTime time: Date,
43 |                            session: URLSession = .shared,
   |                                                   `- error: value of type '_' expected to be instance of class or class-constrained type
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: value of type '_' expected to be instance of class or class-constrained type
  4 |
  5 | func get<T: Decodable>(_ url: URL,
  6 |                        session: URLSession = .shared,
    |                                               `- error: value of type '_' expected to be instance of class or class-constrained type
  7 |                        completion: @escaping (Result<T>) -> Void) {
  8 |     var request = URLRequest(url: url)
/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:15:62: error: value of type '_' expected to be instance of class or class-constrained type
 13 | func post<T: Decodable, U: Encodable>(_ url: URL,
 14 |                                       data: U,
 15 |                                       session: URLSession = .shared,
    |                                                              `- error: value of type '_' expected to be instance of class or class-constrained type
 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:30:48: error: value of type '_' expected to be instance of class or class-constrained type
 28 | func post<T: Decodable>(_ url: URL,
 29 |                         data: [String: Any],
 30 |                         session: URLSession = .shared,
    |                                                `- error: value of type '_' expected to be instance of class or class-constrained type
 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: value of type '_' expected to be instance of class or class-constrained type
 58 |
 59 | private func dataTask<T: Decodable>(request: URLRequest,
 60 |                                     session: URLSession = .shared,
    |                                                            `- error: value of type '_' expected to be instance of class or class-constrained type
 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: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
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/DVB/DVBError.swift /host/spi-builder-workspace/Sources/DVB/Date+SAP.swift /host/spi-builder-workspace/Sources/DVB/Endpoint.swift /host/spi-builder-workspace/Sources/DVB/GaussKrueger.swift /host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure+State.swift /host/spi-builder-workspace/Sources/DVB/Models/Departure/Departure.swift /host/spi-builder-workspace/Sources/DVB/Models/Departure/MonitorResponse.swift /host/spi-builder-workspace/Sources/DVB/Models/Diva.swift /host/spi-builder-workspace/Sources/DVB/Models/Line/Line+Direction.swift /host/spi-builder-workspace/Sources/DVB/Models/Line/Line+TimeTable.swift /host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift /host/spi-builder-workspace/Sources/DVB/Models/Line/LinesResponse.swift /host/spi-builder-workspace/Sources/DVB/Models/Mode.swift /host/spi-builder-workspace/Sources/DVB/Models/POI/POI+Kind.swift /host/spi-builder-workspace/Sources/DVB/Models/POI/POI.swift /host/spi-builder-workspace/Sources/DVB/Models/POI/POIResponse.swift /host/spi-builder-workspace/Sources/DVB/Models/Platform.swift /host/spi-builder-workspace/Sources/DVB/Models/Route/Request\ Settings/MobilitySettings.swift /host/spi-builder-workspace/Sources/DVB/Models/Route/Request\ Settings/StandardSettings.swift /host/spi-builder-workspace/Sources/DVB/Models/Route/Route+MapData.swift /host/spi-builder-workspace/Sources/DVB/Models/Route/Route+ModeElement.swift /host/spi-builder-workspace/Sources/DVB/Models/Route/Route+RoutePartial.swift /host/spi-builder-workspace/Sources/DVB/Models/Route/Route+RouteStop.swift /host/spi-builder-workspace/Sources/DVB/Models/Route/Route.swift /host/spi-builder-workspace/Sources/DVB/Models/Route/RoutesResponse.swift /host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange+Kind.swift /host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange+Line.swift /host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange+ValidityPeriod.swift /host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift /host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChangeResponse.swift /host/spi-builder-workspace/Sources/DVB/Models/Stop/FindResponse.swift /host/spi-builder-workspace/Sources/DVB/Models/Stop/Stop.swift /host/spi-builder-workspace/Sources/DVB/Models/Trip.swift /host/spi-builder-workspace/Sources/DVB/Network.swift /host/spi-builder-workspace/Sources/DVB/Result.swift /host/spi-builder-workspace/Sources/DVB/SAPDateDecoder.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DVB.build/Debug-webassembly-wasm32/DVB-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DVB.build/Debug-webassembly-wasm32/DVB-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DVB.build/Debug-webassembly-wasm32/DVB-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name DVB -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/DVB.build/Debug-webassembly-wasm32/DVB-t.build/Objects-normal/wasm32/DVB_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DVB.build/Debug-webassembly-wasm32/DVB-t.build/Objects-normal/wasm32/Modules/DVB.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DVB.build/Debug-webassembly-wasm32/DVB-t.build/Objects-normal/wasm32/Modules/DVB.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DVB.build/Debug-webassembly-wasm32/DVB-t.build/Objects-normal/wasm32/DVB-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DVB.build/Debug-webassembly-wasm32/DVB-t.build/Objects-normal/wasm32/DVB-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DVB.build/Debug-webassembly-wasm32/DVB-t.build/Objects-normal/wasm32/DVB-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DVB.build/Debug-webassembly-wasm32/DVB-t.build/Objects-normal/wasm32/Modules/DVB.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm