Build Information
Successful build of OJP, reference main (9344dd), with Swift 6.4 for macOS (SPM) on 7 Nov 2026 11:26: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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/openTdataCH/ojp-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
Fetching https://github.com/swiftlang/swift-testing.git
Fetching https://github.com/CoreOffice/XMLCoder.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/longinius/swift-duration.git
Fetching https://github.com/nicklockwood/SwiftFormat
[1/119] Fetching swift-duration
[120/10248] Fetching swift-duration, xmlcoder
[4679/76427] Fetching swift-duration, xmlcoder, swiftformat
[4680/122678] Fetching swift-duration, xmlcoder, swiftformat, swift-testing
[22945/204440] Fetching swift-duration, xmlcoder, swiftformat, swift-testing, swift-syntax
Fetched https://github.com/swiftlang/swift-testing.git (58.97s)
Fetched https://github.com/swiftlang/swift-syntax.git (58.97s)
Fetched https://github.com/nicklockwood/SwiftFormat (58.97s)
Fetched https://github.com/longinius/swift-duration.git (58.97s)
Fetched https://github.com/CoreOffice/XMLCoder.git (58.97s)
Computing version for https://github.com/swiftlang/swift-testing.git
Computed https://github.com/swiftlang/swift-testing.git at 6.4.1 (60.69s)
Computing version for https://github.com/longinius/swift-duration.git
Computed https://github.com/longinius/swift-duration.git at 1.0.1 (10.95s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.62.1 (0.75s)
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-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (0.84s)
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/swiftlang/swift-testing.git
Working copy of https://github.com/swiftlang/swift-testing.git resolved at 6.4.1
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/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.62.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.32s)
========================================
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.26s)
Fetching https://github.com/CoreOffice/XMLCoder.git from cache
Fetching https://github.com/longinius/swift-duration.git from cache
Fetched https://github.com/CoreOffice/XMLCoder.git from cache (0.60s)
Fetched https://github.com/longinius/swift-duration.git from cache (0.62s)
Computing version for https://github.com/longinius/swift-duration.git
Computed https://github.com/longinius/swift-duration.git at 1.0.1 (0.70s)
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/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
Creating working copy for https://github.com/openTdataCH/ojp-ios.git
Working copy of https://github.com/openTdataCH/ojp-ios.git resolved at main (9344dda)
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]
[108 / 159]
[110 / 159]
[113 / 159]
[116 / 159]
[118 / 159]
[119 / 159]
[130 / 159] Duration
[131 / 159] XMLCoder
[144 / 159] XMLCoder-product
[149 / 160]
[149 / 160] Duration
[151 / 160] OJP
[165 / 205]
[174 / 205]
[176 / 205]
[178 / 205]
[181 / 205]
[184 / 205]
[196 / 205] OJP
[202 / 205] OJP
Build complete! (13.79 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/main
Repository: openTdataCH/ojp-ios
Swift version used: 6.4
Target: OJP
Extracting symbol information for 'OJP'...
Finished extracting symbol information for 'OJP'. (4.54s)
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.33s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/opentdatach/ojp-ios/main
Updating https://github.com/longinius/swift-duration.git
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/CoreOffice/XMLCoder.git
Updating https://github.com/swiftlang/swift-syntax.git
Updated https://github.com/longinius/swift-duration.git (0.53s)
[1/2345] Fetching swift-docc-plugin
Updated https://github.com/swiftlang/swift-syntax.git (1.02s)
Updated https://github.com/swiftlang/swift-testing.git (1.32s)
Updated https://github.com/CoreOffice/XMLCoder.git (1.32s)
Updated https://github.com/nicklockwood/SwiftFormat (1.32s)
Fetched https://github.com/swiftlang/swift-docc-plugin (1.33s)
Computing version for https://github.com/swiftlang/swift-testing.git
Computed https://github.com/swiftlang/swift-testing.git at 6.4.1 (2.77s)
Computing version for https://github.com/longinius/swift-duration.git
Computed https://github.com/longinius/swift-duration.git at 1.0.1 (0.70s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.62.1 (0.64s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.18.2 (0.63s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3864] 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.04s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (0.74s)
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...
[Planning 62 / 95]
[Planning deferred tasks]
[18 / 41]
[20 / 43] Snippets
[31 / 58] SymbolKit
[40 / 58] SymbolKit
[52 / 59] SymbolKit
[54 / 59] SymbolKit
[58 / 63] snippet-extract-product
[59 / 63] snippet-extract-product
[61 / 63] snippet-extract-product
Build complete! (2.49 sec)
Building for debugging...
[Planning deferred tasks]
[3 / 28]
[5 / 30] Duration
[16 / 45] XMLCoder
[18 / 45] Duration
[23 / 41] Duration
[23 / 40] XMLCoder
[27 / 37] XMLCoder
[28 / 36] 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)
[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
/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
Build complete! (3.22 sec)
5446
33 /Users/admin/builder/spi-builder-workspace/.docs/opentdatach/ojp-ios/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/opentdatach/ojp-ios/main
File count: 5446
Doc size: 33.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -opentdatach-ojp-ios-main-8de87aec.zip to presigned URL
Starting upload of 6945980 bytes...
Upload completed successfully
Done.