Build Information
Successful build of DVB with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/DVB.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/DVB
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3d3999b Remove TripsResponse expirationTime
Cloned https://github.com/kiliankoe/DVB.git
Revision (git rev-parse @):
3d3999bca5e3847f0b73668b8fe496b73c69712c
SUCCESS checkout https://github.com/kiliankoe/DVB.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/kiliankoe/DVB.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/36] Compiling DVB Route+ModeElement.swift
/Users/admin/builder/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)
[4/36] Compiling DVB Route+RoutePartial.swift
/Users/admin/builder/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)
[5/36] Compiling DVB Route+RouteStop.swift
/Users/admin/builder/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)
[6/36] Compiling DVB Route.swift
/Users/admin/builder/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)
[7/39] Compiling DVB RouteChange+ValidityPeriod.swift
[8/39] Compiling DVB RouteChange.swift
[9/39] Compiling DVB RouteChangeResponse.swift
[10/39] Emitting module DVB
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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,
[11/39] Compiling DVB FindResponse.swift
[12/39] Compiling DVB Stop.swift
[13/39] Compiling DVB Trip.swift
[14/39] Compiling DVB Line+Direction.swift
[15/39] Compiling DVB Line+TimeTable.swift
[16/39] Compiling DVB Line.swift
[17/39] Compiling DVB LinesResponse.swift
[18/39] Compiling DVB Platform.swift
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 RoutesResponse.swift
[23/39] Compiling DVB RouteChange+Kind.swift
[24/39] Compiling DVB RouteChange+Line.swift
[25/39] Compiling DVB Departure+State.swift
[26/39] Compiling DVB Departure.swift
[27/39] Compiling DVB MonitorResponse.swift
[28/39] Compiling DVB Diva.swift
[29/39] Compiling DVB Mode.swift
[30/39] Compiling DVB POI+Kind.swift
[31/39] Compiling DVB POI.swift
[32/39] Compiling DVB POIResponse.swift
[33/39] Compiling DVB DVBError.swift
[34/39] Compiling DVB Date+SAP.swift
[35/39] Compiling DVB Endpoint.swift
[36/39] Compiling DVB GaussKrueger.swift
[37/39] Compiling DVB Network.swift
/Users/admin/builder/spi-builder-workspace/Sources/DVB/Network.swift:101:71: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
99 |
100 | let jsonDecoder = JSONDecoder()
101 | jsonDecoder.dateDecodingStrategy = .custom(SAPDateDecoder.strategy)
| `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
102 | let decoded = try jsonDecoder.decode(T.self, from: data)
103 | completion(Result(success: decoded))
/Users/admin/builder/spi-builder-workspace/Sources/DVB/Network.swift:68:13: warning: capture of 'completion' with non-sendable type '(Result<T>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | let response = response as? HTTPURLResponse
67 | else {
68 | completion(Result(failure: DVBError.network))
| |- warning: capture of 'completion' with non-sendable type '(Result<T>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
69 | return
70 | }
[38/39] Compiling DVB Result.swift
/Users/admin/builder/spi-builder-workspace/Sources/DVB/Network.swift:101:71: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
99 |
100 | let jsonDecoder = JSONDecoder()
101 | jsonDecoder.dateDecodingStrategy = .custom(SAPDateDecoder.strategy)
| `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
102 | let decoded = try jsonDecoder.decode(T.self, from: data)
103 | completion(Result(success: decoded))
/Users/admin/builder/spi-builder-workspace/Sources/DVB/Network.swift:68:13: warning: capture of 'completion' with non-sendable type '(Result<T>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | let response = response as? HTTPURLResponse
67 | else {
68 | completion(Result(failure: DVBError.network))
| |- warning: capture of 'completion' with non-sendable type '(Result<T>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
69 | return
70 | }
[39/39] Compiling DVB SAPDateDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/DVB/Network.swift:101:71: warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
99 |
100 | let jsonDecoder = JSONDecoder()
101 | jsonDecoder.dateDecodingStrategy = .custom(SAPDateDecoder.strategy)
| `- warning: converting non-sendable function value to '@Sendable (any Decoder) throws -> Date' may introduce data races
102 | let decoded = try jsonDecoder.decode(T.self, from: data)
103 | completion(Result(success: decoded))
/Users/admin/builder/spi-builder-workspace/Sources/DVB/Network.swift:68:13: warning: capture of 'completion' with non-sendable type '(Result<T>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | let response = response as? HTTPURLResponse
67 | else {
68 | completion(Result(failure: DVBError.network))
| |- warning: capture of 'completion' with non-sendable type '(Result<T>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
69 | return
70 | }
Build complete! (23.28s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "DVB",
"name" : "DVB",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "DVB",
"targets" : [
"DVB"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DVBTests",
"module_type" : "SwiftTarget",
"name" : "DVBTests",
"path" : "Tests/DVBTests",
"sources" : [
"DateTests.swift",
"DepartureTests.swift",
"GaussKruegerTests.swift",
"LineTests.swift",
"ModeTests.swift",
"POITests.swift",
"ResultTests.swift",
"RouteChangeTests.swift",
"RouteTests.swift",
"StopTests.swift",
"TripTests.swift"
],
"target_dependencies" : [
"DVB"
],
"type" : "test"
},
{
"c99name" : "DVB",
"module_type" : "SwiftTarget",
"name" : "DVB",
"path" : "Sources/DVB",
"product_memberships" : [
"DVB"
],
"sources" : [
"DVBError.swift",
"Date+SAP.swift",
"Endpoint.swift",
"GaussKrueger.swift",
"Models/Departure/Departure+State.swift",
"Models/Departure/Departure.swift",
"Models/Departure/MonitorResponse.swift",
"Models/Diva.swift",
"Models/Line/Line+Direction.swift",
"Models/Line/Line+TimeTable.swift",
"Models/Line/Line.swift",
"Models/Line/LinesResponse.swift",
"Models/Mode.swift",
"Models/POI/POI+Kind.swift",
"Models/POI/POI.swift",
"Models/POI/POIResponse.swift",
"Models/Platform.swift",
"Models/Route/Request Settings/MobilitySettings.swift",
"Models/Route/Request Settings/StandardSettings.swift",
"Models/Route/Route+MapData.swift",
"Models/Route/Route+ModeElement.swift",
"Models/Route/Route+RoutePartial.swift",
"Models/Route/Route+RouteStop.swift",
"Models/Route/Route.swift",
"Models/Route/RoutesResponse.swift",
"Models/RouteChange/RouteChange+Kind.swift",
"Models/RouteChange/RouteChange+Line.swift",
"Models/RouteChange/RouteChange+ValidityPeriod.swift",
"Models/RouteChange/RouteChange.swift",
"Models/RouteChange/RouteChangeResponse.swift",
"Models/Stop/FindResponse.swift",
"Models/Stop/Stop.swift",
"Models/Trip.swift",
"Network.swift",
"Result.swift",
"SAPDateDecoder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.