The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DVB, reference master (3d3999), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 19:59:33 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/kiliankoe/DVB.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/36] Emitting module DVB
[4/39] Compiling DVB Platform.swift
[5/39] Compiling DVB MobilitySettings.swift
[6/39] Compiling DVB StandardSettings.swift
[7/39] Compiling DVB Route+MapData.swift
[8/39] Compiling DVB Line+Direction.swift
[9/39] Compiling DVB Line+TimeTable.swift
[10/39] Compiling DVB Line.swift
[11/39] Compiling DVB LinesResponse.swift
[12/39] Compiling DVB RoutesResponse.swift
[13/39] Compiling DVB RouteChange+Kind.swift
[14/39] Compiling DVB RouteChange+Line.swift
[15/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 non-sendable type 'T.Type' in an isolated closure
 66 |             let response = response as? HTTPURLResponse
 67 |         else {
 68 |             completion(Result(failure: DVBError.network))
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 69 |             return
 70 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DVB/Network.swift:61:37: warning: capture of non-sendable type 'T.Type' in an isolated closure
 59 | private func dataTask<T: Decodable>(request: URLRequest,
 60 |                                     session: URLSession = .shared,
 61 |                                     completion: @escaping (Result<T>) -> Void) {
    |                                     `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 62 |     let task = session.dataTask(with: request) { data, response, error in
 63 |         guard
[16/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 non-sendable type 'T.Type' in an isolated closure
 66 |             let response = response as? HTTPURLResponse
 67 |         else {
 68 |             completion(Result(failure: DVBError.network))
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 69 |             return
 70 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DVB/Network.swift:61:37: warning: capture of non-sendable type 'T.Type' in an isolated closure
 59 | private func dataTask<T: Decodable>(request: URLRequest,
 60 |                                     session: URLSession = .shared,
 61 |                                     completion: @escaping (Result<T>) -> Void) {
    |                                     `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 62 |     let task = session.dataTask(with: request) { data, response, error in
 63 |         guard
[17/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 non-sendable type 'T.Type' in an isolated closure
 66 |             let response = response as? HTTPURLResponse
 67 |         else {
 68 |             completion(Result(failure: DVBError.network))
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 69 |             return
 70 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DVB/Network.swift:61:37: warning: capture of non-sendable type 'T.Type' in an isolated closure
 59 | private func dataTask<T: Decodable>(request: URLRequest,
 60 |                                     session: URLSession = .shared,
 61 |                                     completion: @escaping (Result<T>) -> Void) {
    |                                     `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 62 |     let task = session.dataTask(with: request) { data, response, error in
 63 |         guard
[18/39] Compiling DVB Route+ModeElement.swift
[19/39] Compiling DVB Route+RoutePartial.swift
[20/39] Compiling DVB Route+RouteStop.swift
[21/39] Compiling DVB Route.swift
[22/39] Compiling DVB Mode.swift
[23/39] Compiling DVB POI+Kind.swift
[24/39] Compiling DVB POI.swift
[25/39] Compiling DVB POIResponse.swift
[26/39] Compiling DVB RouteChange+ValidityPeriod.swift
[27/39] Compiling DVB RouteChange.swift
[28/39] Compiling DVB RouteChangeResponse.swift
[29/39] Compiling DVB DVBError.swift
[30/39] Compiling DVB Date+SAP.swift
[31/39] Compiling DVB Endpoint.swift
[32/39] Compiling DVB GaussKrueger.swift
[33/39] Compiling DVB FindResponse.swift
[34/39] Compiling DVB Stop.swift
[35/39] Compiling DVB Trip.swift
[36/39] Compiling DVB Departure+State.swift
[37/39] Compiling DVB Departure.swift
[38/39] Compiling DVB MonitorResponse.swift
[39/39] Compiling DVB Diva.swift
Build complete! (5.32s)
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.