Build Information
Failed to build DVB with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
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
[16/39] Compiling DVB SAPDateDecoder.swift
/host/spi-builder-workspace/Sources/DVB/Models/Trip.swift:43:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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/Endpoint.swift:12:16: warning: static property 'trip' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
| `- warning: static property 'trip' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
:
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
| |- note: annotate 'trip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
/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
[17/39] Compiling DVB POIResponse.swift
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:47:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
45 |
46 | /// "Ohne Einschränkungen"
47 | public static let none = MobilitySettings._preconfigured(.none)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// "Rollator, Kinderwagen"
49 | public static let medium = MobilitySettings._preconfigured(.medium)
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:49:27: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
47 | public static let none = MobilitySettings._preconfigured(.none)
48 | /// "Rollator, Kinderwagen"
49 | public static let medium = MobilitySettings._preconfigured(.medium)
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// "Rollstuhlfahrer ohne Hilfe"
51 | public static let high = MobilitySettings._preconfigured(.high)
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:51:27: warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
49 | public static let medium = MobilitySettings._preconfigured(.medium)
50 | /// "Rollstuhlfahrer ohne Hilfe"
51 | public static let high = MobilitySettings._preconfigured(.high)
| |- warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'high' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | public static func individual(noSolidStairs: Bool,
[18/39] Compiling DVB Platform.swift
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:47:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
45 |
46 | /// "Ohne Einschränkungen"
47 | public static let none = MobilitySettings._preconfigured(.none)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// "Rollator, Kinderwagen"
49 | public static let medium = MobilitySettings._preconfigured(.medium)
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:49:27: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
47 | public static let none = MobilitySettings._preconfigured(.none)
48 | /// "Rollator, Kinderwagen"
49 | public static let medium = MobilitySettings._preconfigured(.medium)
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// "Rollstuhlfahrer ohne Hilfe"
51 | public static let high = MobilitySettings._preconfigured(.high)
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:51:27: warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
49 | public static let medium = MobilitySettings._preconfigured(.medium)
50 | /// "Rollstuhlfahrer ohne Hilfe"
51 | public static let high = MobilitySettings._preconfigured(.high)
| |- warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'high' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | public static func individual(noSolidStairs: Bool,
[19/39] Compiling DVB MobilitySettings.swift
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:47:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
45 |
46 | /// "Ohne Einschränkungen"
47 | public static let none = MobilitySettings._preconfigured(.none)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// "Rollator, Kinderwagen"
49 | public static let medium = MobilitySettings._preconfigured(.medium)
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:49:27: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
47 | public static let none = MobilitySettings._preconfigured(.none)
48 | /// "Rollator, Kinderwagen"
49 | public static let medium = MobilitySettings._preconfigured(.medium)
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// "Rollstuhlfahrer ohne Hilfe"
51 | public static let high = MobilitySettings._preconfigured(.high)
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:51:27: warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
49 | public static let medium = MobilitySettings._preconfigured(.medium)
50 | /// "Rollstuhlfahrer ohne Hilfe"
51 | public static let high = MobilitySettings._preconfigured(.high)
| |- warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'high' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | public static func individual(noSolidStairs: Bool,
[20/39] Compiling DVB StandardSettings.swift
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:47:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
45 |
46 | /// "Ohne Einschränkungen"
47 | public static let none = MobilitySettings._preconfigured(.none)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// "Rollator, Kinderwagen"
49 | public static let medium = MobilitySettings._preconfigured(.medium)
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:49:27: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
47 | public static let none = MobilitySettings._preconfigured(.none)
48 | /// "Rollator, Kinderwagen"
49 | public static let medium = MobilitySettings._preconfigured(.medium)
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// "Rollstuhlfahrer ohne Hilfe"
51 | public static let high = MobilitySettings._preconfigured(.high)
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:51:27: warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
49 | public static let medium = MobilitySettings._preconfigured(.medium)
50 | /// "Rollstuhlfahrer ohne Hilfe"
51 | public static let high = MobilitySettings._preconfigured(.high)
| |- warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'high' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | public static func individual(noSolidStairs: Bool,
[21/39] Compiling DVB Route+MapData.swift
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:47:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
45 |
46 | /// "Ohne Einschränkungen"
47 | public static let none = MobilitySettings._preconfigured(.none)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// "Rollator, Kinderwagen"
49 | public static let medium = MobilitySettings._preconfigured(.medium)
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:49:27: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
47 | public static let none = MobilitySettings._preconfigured(.none)
48 | /// "Rollator, Kinderwagen"
49 | public static let medium = MobilitySettings._preconfigured(.medium)
| |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'medium' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// "Rollstuhlfahrer ohne Hilfe"
51 | public static let high = MobilitySettings._preconfigured(.high)
/host/spi-builder-workspace/Sources/DVB/Models/Route/Request Settings/MobilitySettings.swift:51:27: warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension Route {
2 | public enum MobilitySettings: Encodable {
| `- note: consider making enum 'MobilitySettings' conform to the 'Sendable' protocol
3 | //swiftlint:disable:next nesting
4 | public enum PreconfiguredMobilitySettings: String, Encodable {
:
49 | public static let medium = MobilitySettings._preconfigured(.medium)
50 | /// "Rollstuhlfahrer ohne Hilfe"
51 | public static let high = MobilitySettings._preconfigured(.high)
| |- warning: static property 'high' is not concurrency-safe because non-'Sendable' type 'Route.MobilitySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'high' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | public static func individual(noSolidStairs: Bool,
[22/39] Compiling DVB RouteChange.swift
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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/Endpoint.swift:20:16: warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
| `- warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
:
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
| |- note: annotate 'routeChanges' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/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/Endpoint.swift:8:16: warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
6 | // swiftlint:disable:next variable_name
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
| |- warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pointfinder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
10 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[23/39] Compiling DVB RouteChangeResponse.swift
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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/Endpoint.swift:20:16: warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
| `- warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
:
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
| |- note: annotate 'routeChanges' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/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/Endpoint.swift:8:16: warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
6 | // swiftlint:disable:next variable_name
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
| |- warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pointfinder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
10 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[24/39] Compiling DVB FindResponse.swift
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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/Endpoint.swift:20:16: warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
| `- warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
:
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
| |- note: annotate 'routeChanges' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/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/Endpoint.swift:8:16: warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
6 | // swiftlint:disable:next variable_name
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
| |- warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pointfinder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
10 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[25/39] Compiling DVB Stop.swift
/host/spi-builder-workspace/Sources/DVB/Models/RouteChange/RouteChange.swift:35:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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/Endpoint.swift:20:16: warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
| `- warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
:
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
| |- note: annotate 'routeChanges' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/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/Endpoint.swift:8:16: warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
6 | // swiftlint:disable:next variable_name
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
| |- warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pointfinder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
10 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[26/39] Compiling DVB DVBError.swift
/host/spi-builder-workspace/Sources/DVB/Date+SAP.swift:11:24: warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | private static let iso8601Formatter: DateFormatter = {
| `- warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // swiftlint:disable:next identifier_name
13 | let df = DateFormatter()
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/DVB/Date+SAP.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | internal extension Date {
:
9 | }
10 |
11 | private static let iso8601Formatter: DateFormatter = {
| |- note: annotate 'iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | // swiftlint:disable:next identifier_name
13 | let df = DateFormatter()
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:4:16: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | enum Endpoint {
4 | static let base = URL(string: "https://webapi.vvo-online.de/")!
| `- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next variable_name
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
4 | static let base = URL(string: "https://webapi.vvo-online.de/")!
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable:next variable_name
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:7:24: warning: static property 'tr' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next variable_name
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
| |- warning: static property 'tr' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:8:16: warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
6 | // swiftlint:disable:next variable_name
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
| |- warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pointfinder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
10 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:9:16: warning: static property 'route' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
| |- warning: static property 'route' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'route' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:11:16: warning: static property 'departureMonitor' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
| |- warning: static property 'departureMonitor' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'departureMonitor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
13 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:12:16: warning: static property 'trip' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
| |- warning: static property 'trip' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:14:24: warning: static property 'stt' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
| |- warning: static property 'stt' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
16 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:15:16: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:17:24: warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
| |- warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'map' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:18:16: warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
| |- warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'poiSearch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:20:16: warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
| |- warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'routeChanges' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[27/39] Compiling DVB Date+SAP.swift
/host/spi-builder-workspace/Sources/DVB/Date+SAP.swift:11:24: warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | private static let iso8601Formatter: DateFormatter = {
| `- warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // swiftlint:disable:next identifier_name
13 | let df = DateFormatter()
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/DVB/Date+SAP.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | internal extension Date {
:
9 | }
10 |
11 | private static let iso8601Formatter: DateFormatter = {
| |- note: annotate 'iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | // swiftlint:disable:next identifier_name
13 | let df = DateFormatter()
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:4:16: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | enum Endpoint {
4 | static let base = URL(string: "https://webapi.vvo-online.de/")!
| `- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next variable_name
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
4 | static let base = URL(string: "https://webapi.vvo-online.de/")!
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable:next variable_name
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:7:24: warning: static property 'tr' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next variable_name
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
| |- warning: static property 'tr' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:8:16: warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
6 | // swiftlint:disable:next variable_name
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
| |- warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pointfinder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
10 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:9:16: warning: static property 'route' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
| |- warning: static property 'route' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'route' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:11:16: warning: static property 'departureMonitor' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
| |- warning: static property 'departureMonitor' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'departureMonitor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
13 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:12:16: warning: static property 'trip' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
| |- warning: static property 'trip' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:14:24: warning: static property 'stt' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
| |- warning: static property 'stt' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
16 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:15:16: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:17:24: warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
| |- warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'map' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:18:16: warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
| |- warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'poiSearch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:20:16: warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
| |- warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'routeChanges' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[28/39] Compiling DVB Endpoint.swift
/host/spi-builder-workspace/Sources/DVB/Date+SAP.swift:11:24: warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | private static let iso8601Formatter: DateFormatter = {
| `- warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // swiftlint:disable:next identifier_name
13 | let df = DateFormatter()
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/DVB/Date+SAP.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | internal extension Date {
:
9 | }
10 |
11 | private static let iso8601Formatter: DateFormatter = {
| |- note: annotate 'iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | // swiftlint:disable:next identifier_name
13 | let df = DateFormatter()
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:4:16: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | enum Endpoint {
4 | static let base = URL(string: "https://webapi.vvo-online.de/")!
| `- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next variable_name
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
4 | static let base = URL(string: "https://webapi.vvo-online.de/")!
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable:next variable_name
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:7:24: warning: static property 'tr' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next variable_name
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
| |- warning: static property 'tr' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:8:16: warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
6 | // swiftlint:disable:next variable_name
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
| |- warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pointfinder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
10 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:9:16: warning: static property 'route' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
| |- warning: static property 'route' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'route' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:11:16: warning: static property 'departureMonitor' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
| |- warning: static property 'departureMonitor' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'departureMonitor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
13 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:12:16: warning: static property 'trip' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
| |- warning: static property 'trip' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:14:24: warning: static property 'stt' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
| |- warning: static property 'stt' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
16 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:15:16: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:17:24: warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
| |- warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'map' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:18:16: warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
| |- warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'poiSearch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:20:16: warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
| |- warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'routeChanges' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[29/39] Compiling DVB GaussKrueger.swift
/host/spi-builder-workspace/Sources/DVB/Date+SAP.swift:11:24: warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | private static let iso8601Formatter: DateFormatter = {
| `- warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // swiftlint:disable:next identifier_name
13 | let df = DateFormatter()
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/DVB/Date+SAP.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | internal extension Date {
:
9 | }
10 |
11 | private static let iso8601Formatter: DateFormatter = {
| |- note: annotate 'iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | // swiftlint:disable:next identifier_name
13 | let df = DateFormatter()
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:4:16: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | enum Endpoint {
4 | static let base = URL(string: "https://webapi.vvo-online.de/")!
| `- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next variable_name
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
4 | static let base = URL(string: "https://webapi.vvo-online.de/")!
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable:next variable_name
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:7:24: warning: static property 'tr' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next variable_name
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
| |- warning: static property 'tr' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:8:16: warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
6 | // swiftlint:disable:next variable_name
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
| |- warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pointfinder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
10 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:9:16: warning: static property 'route' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
| |- warning: static property 'route' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'route' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:11:16: warning: static property 'departureMonitor' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
| |- warning: static property 'departureMonitor' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'departureMonitor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
13 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:12:16: warning: static property 'trip' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
| |- warning: static property 'trip' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:14:24: warning: static property 'stt' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
| |- warning: static property 'stt' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
16 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:15:16: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:17:24: warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
| |- warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'map' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:18:16: warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
| |- warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'poiSearch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:20:16: warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
| |- warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'routeChanges' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[30/39] Compiling DVB Departure+State.swift
/host/spi-builder-workspace/Sources/DVB/Date+SAP.swift:11:24: warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | }
10 |
11 | private static let iso8601Formatter: DateFormatter = {
| `- warning: static property 'iso8601Formatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // swiftlint:disable:next identifier_name
13 | let df = DateFormatter()
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/DVB/Date+SAP.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | internal extension Date {
:
9 | }
10 |
11 | private static let iso8601Formatter: DateFormatter = {
| |- note: annotate 'iso8601Formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | // swiftlint:disable:next identifier_name
13 | let df = DateFormatter()
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:4:16: warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | enum Endpoint {
4 | static let base = URL(string: "https://webapi.vvo-online.de/")!
| `- warning: static property 'base' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next variable_name
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
4 | static let base = URL(string: "https://webapi.vvo-online.de/")!
| |- note: annotate 'base' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | // swiftlint:disable:next variable_name
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:7:24: warning: static property 'tr' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | // swiftlint:disable:next variable_name
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
| |- warning: static property 'tr' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:8:16: warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
6 | // swiftlint:disable:next variable_name
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
| |- warning: static property 'pointfinder' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pointfinder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
10 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:9:16: warning: static property 'route' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
7 | private static let tr = URL(string: "tr/", relativeTo: Endpoint.base)!
8 | static let pointfinder = URL(string: "pointfinder", relativeTo: Endpoint.tr)!
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
| |- warning: static property 'route' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'route' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:11:16: warning: static property 'departureMonitor' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
9 | static let route = URL(string: "trips", relativeTo: Endpoint.tr)!
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
| |- warning: static property 'departureMonitor' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'departureMonitor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
13 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:12:16: warning: static property 'trip' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | static let departureMonitor = URL(string: "dm/", relativeTo: Endpoint.base)!
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
| |- warning: static property 'trip' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trip' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:14:24: warning: static property 'stt' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let trip = URL(string: "trip", relativeTo: Endpoint.departureMonitor)!
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
| |- warning: static property 'stt' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
16 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:15:16: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| |- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:17:24: warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
| |- warning: static property 'map' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'map' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:18:16: warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
| |- warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'poiSearch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:20:16: warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
| |- warning: static property 'routeChanges' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'routeChanges' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[31/39] Compiling DVB RoutesResponse.swift
[32/39] Compiling DVB RouteChange+Kind.swift
[33/39] Compiling DVB RouteChange+Line.swift
[34/39] Compiling DVB RouteChange+ValidityPeriod.swift
[35/39] Compiling DVB Line.swift
/host/spi-builder-workspace/Sources/DVB/Models/Line/Line.swift:29:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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/Endpoint.swift:15:16: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| `- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
:
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| |- note: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
/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/Endpoint.swift:18:16: warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
| |- warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'poiSearch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[36/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/Endpoint.swift:15:16: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| `- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
:
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| |- note: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
/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/Endpoint.swift:18:16: warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
| |- warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'poiSearch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[37/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/Endpoint.swift:15:16: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| `- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
:
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| |- note: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
/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/Endpoint.swift:18:16: warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
| |- warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'poiSearch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[38/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/Endpoint.swift:15:16: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| `- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
:
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| |- note: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
/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/Endpoint.swift:18:16: warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
| |- warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'poiSearch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[39/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/Endpoint.swift:15:16: warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| `- warning: static property 'lines' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/DVB/Endpoint.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | enum Endpoint {
:
13 |
14 | private static let stt = URL(string: "stt/", relativeTo: Endpoint.base)!
15 | static let lines = URL(string: "lines", relativeTo: Endpoint.stt)!
| |- note: annotate 'lines' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
/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/Endpoint.swift:18:16: warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | private static let map = URL(string: "map/", relativeTo: Endpoint.base)!
18 | static let poiSearch = URL(string: "pins", relativeTo: Endpoint.map)!
| |- warning: static property 'poiSearch' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'poiSearch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | static let routeChanges = URL(string: "rc", relativeTo: Endpoint.base)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
BUILD FAILURE 6.0 linux