Build Information
Successful build of OJP, reference 1.7.2 (9344dd), with Swift 6.4 for macOS (SPM) on 4 Nov 2026 13:04:31 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/openTdataCH/ojp-ios.git
Reference: 1.7.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/openTdataCH/ojp-ios
* tag 1.7.2 -> FETCH_HEAD
HEAD is now at 9344dda Merge pull request #151 from openTdataCH/release/1.7.2
Cloned https://github.com/openTdataCH/ojp-ios.git
Revision (git rev-parse @):
9344dda86505335b1ad7782260a9b998f813b446
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/openTdataCH/ojp-ios.git at 1.7.2
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-testing.git
Fetching https://github.com/longinius/swift-duration.git
Fetching https://github.com/CoreOffice/XMLCoder.git
[1/10129] Fetching xmlcoder
[2/10248] Fetching xmlcoder, swift-duration
Fetched https://github.com/longinius/swift-duration.git (0.79s)
[102/10129] Fetching xmlcoder
[9219/74925] Fetching xmlcoder, swiftformat
[9220/120894] Fetching xmlcoder, swiftformat, swift-testing
[22670/202467] Fetching xmlcoder, swiftformat, swift-testing, swift-syntax
Fetched https://github.com/swiftlang/swift-testing.git (4.77s)
Fetched https://github.com/CoreOffice/XMLCoder.git (4.77s)
[64878/146369] Fetching swiftformat, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (55.37s)
Fetched https://github.com/nicklockwood/SwiftFormat (55.37s)
Computing version for https://github.com/swiftlang/swift-testing.git
Computed https://github.com/swiftlang/swift-testing.git at 6.4.1 (56.87s)
Computing version for https://github.com/longinius/swift-duration.git
Computed https://github.com/longinius/swift-duration.git at 1.0.1 (10.29s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.62.1 (0.67s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.18.2 (0.73s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (0.79s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Creating working copy for https://github.com/CoreOffice/XMLCoder.git
Working copy of https://github.com/CoreOffice/XMLCoder.git resolved at 0.18.2
Creating working copy for https://github.com/longinius/swift-duration.git
Working copy of https://github.com/longinius/swift-duration.git resolved at 1.0.1
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.62.1
Creating working copy for https://github.com/swiftlang/swift-testing.git
Working copy of https://github.com/swiftlang/swift-testing.git resolved at 6.4.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/604.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/604.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (1.41s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "ojp-ios",
"name": "OJP",
"url": "https://github.com/openTdataCH/ojp-ios.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ojp-ios",
"traits": [
"default"
],
"dependencies": [
{
"identity": "xmlcoder",
"name": "XMLCoder",
"url": "https://github.com/CoreOffice/XMLCoder.git",
"version": "0.18.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XMLCoder",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-duration",
"name": "Duration",
"url": "https://github.com/longinius/swift-duration.git",
"version": "1.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-duration",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/openTdataCH/ojp-ios.git
[1/5158] Fetching ojp-ios
Fetched https://github.com/openTdataCH/ojp-ios.git (1.33s)
Fetching https://github.com/CoreOffice/XMLCoder.git from cache
Fetching https://github.com/longinius/swift-duration.git from cache
Fetched https://github.com/longinius/swift-duration.git from cache (0.53s)
Fetched https://github.com/CoreOffice/XMLCoder.git from cache (0.55s)
Computing version for https://github.com/longinius/swift-duration.git
Computed https://github.com/longinius/swift-duration.git at 1.0.1 (0.62s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.18.2 (0.03s)
Creating working copy for https://github.com/openTdataCH/ojp-ios.git
Working copy of https://github.com/openTdataCH/ojp-ios.git resolved at 1.7.2 (9344dda)
Creating working copy for https://github.com/longinius/swift-duration.git
Working copy of https://github.com/longinius/swift-duration.git resolved at 1.0.1
Creating working copy for https://github.com/CoreOffice/XMLCoder.git
Working copy of https://github.com/CoreOffice/XMLCoder.git resolved at 0.18.2
warning: '.resolve-product-dependencies': dependency 'ojp-ios' is not used by any target
Found 2 product dependencies
- XMLCoder
- Duration
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/openTdataCH/ojp-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[81 / 108] OJP_OJPTests
[83 / 108]
[85 / 110] Duration
[95 / 159]
[100 / 159]
[103 / 159]
[104 / 159]
[107 / 159]
[109 / 159]
[111 / 159]
[113 / 159]
[116 / 159]
[117 / 159]
[118 / 159]
[119 / 159]
[130 / 159] XMLCoder
[131 / 159] Duration
[134 / 159] XMLCoder
[144 / 159] XMLCoder-product
[149 / 160] Duration
[151 / 160] Duration
[151 / 160] OJP
[165 / 205]
[175 / 205]
[177 / 205]
[181 / 205]
[183 / 205]
[184 / 205]
[196 / 205] OJP
[202 / 205] OJP
Build complete! (13.86 sec)
/Users/admin/builder/spi-builder-workspace/Sources/OJP/ConvenienceExtensions/Duration+Extensions.swift:18:5: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m #else
[0;36m18 |[0;0m extension Duration: Hashable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m19 |[0;0m public func hash(into hasher: inout Hasher) {
[0;36m20 |[0;0m hasher.combine(iso8601)
/Users/admin/builder/spi-builder-workspace/Sources/OJP/ConvenienceExtensions/Duration+Extensions.swift:18:5: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m #else
[0;36m18 |[0;0m extension Duration: Hashable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m19 |[0;0m public func hash(into hasher: inout Hasher) {
[0;36m20 |[0;0m hasher.combine(iso8601)
/Users/admin/builder/spi-builder-workspace/Sources/OJP/Models/OJPv2+Trip.swift:17:5: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m15 |[0;0m extension Duration: @unchecked @retroactive Sendable {}
[0;36m16 |[0;0m #else
[0;36m17 |[0;0m extension Duration: @unchecked Sendable {}
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m18 |[0;0m #endif
[0;36m19 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/OJP/Models/OJPv2+Trip.swift:17:5: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m15 |[0;0m extension Duration: @unchecked @retroactive Sendable {}
[0;36m16 |[0;0m #else
[0;36m17 |[0;0m extension Duration: @unchecked Sendable {}
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m18 |[0;0m #endif
[0;36m19 |[0;0m
Build complete.
{
"dependencies" : [
{
"identity" : "xmlcoder",
"requirement" : {
"range" : [
{
"lower_bound" : "0.18.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/CoreOffice/XMLCoder.git"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.50.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
},
{
"identity" : "swift-duration",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/longinius/swift-duration.git"
},
{
"identity" : "swift-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "6.3.2",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-testing.git"
}
],
"manifest_display_name" : "OJP",
"name" : "OJP",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "OJP",
"targets" : [
"OJP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OJPTests",
"module_type" : "SwiftTarget",
"name" : "OJPTests",
"path" : "Tests/OJPTests",
"product_dependencies" : [
"Testing"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/lir/lir-address.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/lir/lir-be-bbox-sorting.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/lir/lir-be-bbox.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/lir/lir-emmenmatt-sloid.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/lir/lir-lausanne.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/lir/lir-minimum-response.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/lir/lir-shared-mobility.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/lir/ns/lir-be-bbox-ns-both.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/lir/ns/lir-be-bbox-ns.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/performance/tr-perf-be-zh-1result-projection.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/performance/tr-perf-be-zh-20results-projection.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/performance/tr-perf-zh-stg-10results-wo-projection.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/ser/ser-bern.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/ser/ser-from-address.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/situations/ser-situation-empty-summaryContent.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/situations/ser-situation-multipleContentElements.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/situations/tir-situation-empty.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tir/tir-with-behig.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tir/tir.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/continuousService/tr-continuous-leg-walk.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/edgecases/trip-edgecase-empty-tripresult.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/request/tr-stopref-stopref.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/request/tr-xsd-valid-minimal.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/situations/tr-cancellation-winter.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/situations/tr-cancellation.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/situations/tr-deviation-notActuallyALiveExample.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/situations/tr-fribourg-basel.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/situations/tr-fribourg-berne.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/situations/tr-infeasible.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/situations/tr-leg3-cancellation.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/situations/tr-noPublishingActions.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/situations/trip-not-serviced.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/tr-gurten-trip1-minimal-response.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/tr-pagination/tr-bern-baerenplatz1.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/tr-pagination/tr-bern-baerenplatz2.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/tr-with-transfer-legs.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/trip-bern-zh-response.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/tr/trip-link-projection.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/trr/tripresult-long.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/trr/tripresult-short.xml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/OJPTests/Resources/trr/trr-response-bern-stmoritz.xml",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ErrorTests.swift",
"LoaderTests.swift",
"LocationRequestTests.swift",
"OJPPerformanceTests.swift",
"OjpSDKTests.swift",
"PersistenceTests.swift",
"PointOfInterestTests.swift",
"SituationTests.swift",
"StopEventTests.swift",
"SystemTests.swift",
"TestHelpers.swift",
"TripInfoRequestTests.swift",
"TripRefineRequestTests.swift",
"TripRequestTests.swift"
],
"target_dependencies" : [
"OJP"
],
"type" : "test"
},
{
"c99name" : "OJP",
"module_type" : "SwiftTarget",
"name" : "OJP",
"path" : "Sources/OJP",
"product_dependencies" : [
"XMLCoder",
"Duration"
],
"product_memberships" : [
"OJP"
],
"sources" : [
"APIConfiguration.swift",
"ConvenienceExtensions/Duration+Extensions.swift",
"ConvenienceExtensions/Logger+Extensions.swift",
"ConvenienceExtensions/PointOfInterest+Extensions.swift",
"ConvenienceExtensions/Sequence+Extensions.swift",
"ConvenienceExtensions/StopEventResponse+Extensions.swift",
"ConvenienceExtensions/TripRefine+Extension.swift",
"ConvenienceExtensions/TripRequest+Extensions.swift",
"ConvenienceExtensions/VehicleOccupancyStructure+Extensions.swift",
"Generated/Version.swift",
"GeoHelpers.swift",
"HTTPLoader.swift",
"Models/Geo.swift",
"Models/OJPv2+Extensions.swift",
"Models/OJPv2+LocationInformation.swift",
"Models/OJPv2+StopEvent.swift",
"Models/OJPv2+Trip.swift",
"Models/OJPv2+TripInfo.swift",
"Models/OJPv2+TripRefine.swift",
"Models/OJPv2.swift",
"OJP.swift",
"OJPDecoder.swift",
"OJPHelpers.swift",
"OJPSDKError.swift",
"Utilities/DecodableHelper.swift",
"Utilities/PaginatedTripLoader.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/opentdatach/ojp-ios/1.7.2
Repository: openTdataCH/ojp-ios
Swift version used: 6.4
Target: OJP
Extracting symbol information for 'OJP'...
Finished extracting symbol information for 'OJP'. (4.75s)
Building documentation for 'OJP'...
warning: 'OJPv2.TripInfoDelivery' doesn't exist at '/OJP/OJP/requestTripInfo(journeyRef:operatingDayRef:params:)'
--> ../OJP.swift:160:24-160:46
158 | /// - Parameter operatingDayRef: Reference of the operating day as listed in ``OJPv2/Trip``
159 | /// - Parameter params: the parameters for the request
160 + /// - Returns: a ``OJPv2.TripInfoDelivery`` of the service
161 | public func requestTripInfo(
162 | journeyRef: String,
warning: 'loadPrevious()' doesn't exist at '/OJP/PaginatedTripLoader'
--> ../Utilities/PaginatedTripLoader.swift:36:38-36:52
34 | ///
35 | /// Execute an initital ``TripRequest`` using ``loadTrips(for:numberOfResults:)``.
36 + /// To retrieve previous trips use ``loadPrevious()`` and ``loadNext()`` to get future trips. The `Set` of trip hashes is used to avoid duplicates. Each call only returns new results.
| ╰─suggestion: Replace 'loadPrevious()' with 'loadPrevious(_:)'
37 | public actor PaginatedTripLoader {
38 | private(set) var minDate: Date?
warning: 'loadNext()' doesn't exist at '/OJP/PaginatedTripLoader'
--> ../Utilities/PaginatedTripLoader.swift:36:61-36:71
34 | ///
35 | /// Execute an initital ``TripRequest`` using ``loadTrips(for:numberOfResults:)``.
36 + /// To retrieve previous trips use ``loadPrevious()`` and ``loadNext()`` to get future trips. The `Set` of trip hashes is used to avoid duplicates. Each call only returns new results.
| ╰─suggestion: Replace 'loadNext()' with 'loadNext(_:)'
37 | public actor PaginatedTripLoader {
38 | private(set) var minDate: Date?
warning: 'minimum(_:)' doesn't exist at '/OJP/OJPv2/NumberOfResults'
--> ../Utilities/PaginatedTripLoader.swift:54:96-54:107
52 | /// - Parameters:
53 | /// - request: ``TripRequest`` is a conve
54 + /// - numberOfResults: amount of results to be returned. Usually ``OJPv2/NumberOfResults/minimum(_:)`` should be used. The associated value is reused as a page size in ``loadNext()`` and ``loadPrevious()``
55 | /// - Returns: ``OJPv2/TripDelivery`` containing the ``OJPv2/TripResult``
56 | public func loadTrips(for request: TripRequest, numberOfResults: OJPv2.NumberOfResults = .standard(6)) async throws -> OJPv2.TripDelivery {
warning: 'loadNext()' doesn't exist at '/OJP/PaginatedTripLoader/loadTrips(for:numberOfResults:)'
--> ../Utilities/PaginatedTripLoader.swift:54:177-54:187
52 | /// - Parameters:
53 | /// - request: ``TripRequest`` is a conve
54 + /// - numberOfResults: amount of results to be returned. Usually ``OJPv2/NumberOfResults/minimum(_:)`` should be used. The associated value is reused as a page size in ``loadNext()`` and ``loadPrevious()``
55 | /// - Returns: ``OJPv2/TripDelivery`` containing the ``OJPv2/TripResult``
56 | public func loadTrips(for request: TripRequest, numberOfResults: OJPv2.NumberOfResults = .standard(6)) async throws -> OJPv2.TripDelivery {
warning: 'loadPrevious()' doesn't exist at '/OJP/PaginatedTripLoader/loadTrips(for:numberOfResults:)'
--> ../Utilities/PaginatedTripLoader.swift:54:196-54:210
52 | /// - Parameters:
53 | /// - request: ``TripRequest`` is a conve
54 + /// - numberOfResults: amount of results to be returned. Usually ``OJPv2/NumberOfResults/minimum(_:)`` should be used. The associated value is reused as a page size in ``loadNext()`` and ``loadPrevious()``
55 | /// - Returns: ``OJPv2/TripDelivery`` containing the ``OJPv2/TripResult``
56 | public func loadTrips(for request: TripRequest, numberOfResults: OJPv2.NumberOfResults = .standard(6)) async throws -> OJPv2.TripDelivery {
warning: 'before(_:)' doesn't exist at '/OJP/OJPv2/NumberOfResults'
--> ../Utilities/PaginatedTripLoader.swift:70:76-70:86
68 |
69 | /// Based on the currently already loaded trip results, load the previous trips. Potential duplicates are filtered using ``OJPv2/Trip/tripHash``.
70 + /// - Returns: new ``OJPv2/TripDelivery`` with ``OJPv2/NumberOfResults/before(_:)`` and the current lowest date as departure time.
71 | public func loadPrevious(_ count: Int = 0) async throws -> OJPv2.TripDelivery {
72 | guard var request, let minDate else {
warning: 'after(_:)' doesn't exist at '/OJP/OJPv2/NumberOfResults'
--> ../Utilities/PaginatedTripLoader.swift:81:76-81:85
79 |
80 | /// Based on the currently already loaded trip results, load the future trips. Potential duplicates are filtered using ``OJPv2/Trip/tripHash``.
81 + /// - Returns: new ``OJPv2/TripDelivery`` with ``OJPv2/NumberOfResults/after(_:)`` and the current highest date as departure time.
82 | public func loadNext(_ count: Int = 0) async throws -> OJPv2.TripDelivery {
83 | guard var request, let maxDate else {
Finished building documentation for 'OJP' (1.34s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/opentdatach/ojp-ios/1.7.2
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/nicklockwood/SwiftFormat
Updating https://github.com/swiftlang/swift-testing.git
Updating https://github.com/longinius/swift-duration.git
Updating https://github.com/swiftlang/swift-syntax.git
Updating https://github.com/CoreOffice/XMLCoder.git
[1/2345] Fetching swift-docc-plugin
Updated https://github.com/swiftlang/swift-syntax.git (1.05s)
Updated https://github.com/longinius/swift-duration.git (1.14s)
Updated https://github.com/swiftlang/swift-testing.git (1.14s)
Updated https://github.com/nicklockwood/SwiftFormat (1.14s)
Updated https://github.com/CoreOffice/XMLCoder.git (1.14s)
Fetched https://github.com/swiftlang/swift-docc-plugin (1.41s)
Computing version for https://github.com/swiftlang/swift-testing.git
Computed https://github.com/swiftlang/swift-testing.git at 6.4.1 (2.91s)
Computing version for https://github.com/longinius/swift-duration.git
Computed https://github.com/longinius/swift-duration.git at 1.0.1 (0.72s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.62.1 (0.71s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.18.2 (0.71s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.74s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3862] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.31s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.12s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (0.85s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[Pre-planning 17 / 95]
[Planning deferred tasks]
[20 / 43] Snippets
[31 / 58] SymbolKit
[40 / 58] SymbolKit
[51 / 58] snippet-extract-product
[52 / 59] SymbolKit
[55 / 63] snippet-extract-product
[58 / 63] snippet-extract-product
[59 / 63] snippet-extract-product
[61 / 63] snippet-extract-product
Build complete! (2.34 sec)
Building for debugging...
[Planning deferred tasks]
[3 / 28]
[5 / 30] Duration
[16 / 45] XMLCoder
[18 / 45] Duration
[23 / 40] XMLCoder
[27 / 37] XMLCoder
[38 / 48] XMLCoder
/Users/admin/builder/spi-builder-workspace/Sources/OJP/ConvenienceExtensions/Duration+Extensions.swift:18:5: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m #else
[0;36m18 |[0;0m extension Duration: Hashable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m19 |[0;0m public func hash(into hasher: inout Hasher) {
[0;36m20 |[0;0m hasher.combine(iso8601)
[39 / 47] OJP
/Users/admin/builder/spi-builder-workspace/Sources/OJP/ConvenienceExtensions/Duration+Extensions.swift:18:5: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m #else
[0;36m18 |[0;0m extension Duration: Hashable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m19 |[0;0m public func hash(into hasher: inout Hasher) {
[0;36m20 |[0;0m hasher.combine(iso8601)
/Users/admin/builder/spi-builder-workspace/Sources/OJP/Models/OJPv2+Trip.swift:17:5: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m15 |[0;0m extension Duration: @unchecked @retroactive Sendable {}
[0;36m16 |[0;0m #else
[0;36m17 |[0;0m extension Duration: @unchecked Sendable {}
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m18 |[0;0m #endif
[0;36m19 |[0;0m
[41 / 43] OJP/Users/admin/builder/spi-builder-workspace/Sources/OJP/Models/OJPv2+Trip.swift:17:5: [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m15 |[0;0m extension Duration: @unchecked @retroactive Sendable {}
[0;36m16 |[0;0m #else
[0;36m17 |[0;0m extension Duration: @unchecked Sendable {}
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'Duration' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Duration' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m18 |[0;0m #endif
[0;36m19 |[0;0m
Build complete! (3.28 sec)
5446
33 /Users/admin/builder/spi-builder-workspace/.docs/opentdatach/ojp-ios/1.7.2
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/opentdatach/ojp-ios/1.7.2
File count: 5446
Doc size: 33.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -opentdatach-ojp-ios-1.7.2-525fa01e.zip to presigned URL
Starting upload of 6964874 bytes...
Upload completed successfully
Done.