Build Information
Failed to build TripKit, reference main (4d924f), with Swift 6.2 for macOS (SPM) on 4 Oct 2026 14:49:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skedgo/tripkit-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/skedgo/tripkit-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4d924f9 fix(timetable): don't alert when a real-time refresh fails (RM26264) (#444)
Cloned https://github.com/skedgo/tripkit-ios.git
Revision (git rev-parse @):
4d924f9347e455228919c16b7d68018b43309802
SUCCESS checkout https://github.com/skedgo/tripkit-ios.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/skedgo/tripkit-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/74] Write sources
[6/74] Copying Shared.strings
[6/74] Copying TripKit.strings
[6/74] Copying Shared.strings
[7/74] Copying TripKit.strings
[7/74] Copying Shared.strings
[12/74] Copying TripKit.strings
[12/74] Copying Shared.strings
[12/74] Copying TripKit.strings
[12/74] Copying Shared.strings
[17/74] Copying TripKit.strings
[17/74] Copying Shared.strings
[17/74] Copying TripKit.strings
[22/74] Copying Shared.strings
[24/74] Copying TripKit.strings
[26/74] Copying Shared.strings
[26/74] Copying TripKit.strings
[29/74] Copying Shared.strings
[29/74] Copying TripKit.strings
[33/74] Copying Shared.strings
[37/74] Copying TripKit.strings
[37/74] Copying Info.plist
[37/74] Copying TripKit.strings
[37/74] Copying Shared.strings
[37/74] Copying TGScrollExtendedCardView.xib
[37/74] Copying Localizable.strings
[37/74] Copying TGScrollCardView.xib
[37/74] Write sources
[47/74] Copying TGPlainExtendedCardView.xib
[47/74] Copying TGPlainCardView.xib
[47/74] Copying TGPageHeaderView.xib
[47/74] Copying TGPageCardView.xib
[50/74] Copying TGCardDefaultTitleView.xib
[50/74] Copying Info.plist
[50/74] Copying TGCardViewController.xib
[50/74] Write sources
[53/74] Copying PrivacyInfo.xcprivacy
[57/74] Write sources
[58/74] Copying PrivacyInfo.xcprivacy
[59/74] Write sources
[62/74] Write swift-version--3CB7CFEC50E0D141.txt
[64/371] Emitting module RxSwift
[65/387] Compiling RxSwift Debug.swift
[66/387] Compiling RxSwift Decode.swift
[67/387] Compiling RxSwift DefaultIfEmpty.swift
[68/387] Compiling RxSwift Deferred.swift
[69/387] Compiling RxSwift Delay.swift
[70/387] Compiling RxSwift DelaySubscription.swift
[71/387] Compiling RxSwift Dematerialize.swift
[72/387] Compiling RxSwift DispatchQueue+Extensions.swift
[73/387] Compiling RxSwift DispatchQueueConfiguration.swift
[74/387] Compiling RxSwift Disposable.swift
[75/387] Compiling RxSwift Disposables.swift
[76/387] Compiling RxSwift DisposeBag.swift
[77/387] Compiling RxSwift DisposeBase.swift
[78/387] Compiling RxSwift DistinctUntilChanged.swift
[79/387] Compiling RxSwift Do.swift
[80/387] Compiling RxSwift ElementAt.swift
[81/387] Compiling RxSwift Empty.swift
[82/387] Compiling RxSwift Cancelable.swift
[83/387] Compiling RxSwift Catch.swift
[84/387] Compiling RxSwift CombineLatest+Collection.swift
[85/387] Compiling RxSwift CombineLatest+arity.swift
[86/387] Compiling RxSwift CombineLatest.swift
[87/387] Compiling RxSwift CompactMap.swift
[88/387] Compiling RxSwift Completable+AndThen.swift
[89/387] Compiling RxSwift Completable.swift
[90/387] Compiling RxSwift CompositeDisposable.swift
[91/387] Compiling RxSwift Concat.swift
[92/387] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[93/387] Compiling RxSwift ConcurrentMainScheduler.swift
[94/387] Compiling RxSwift ConnectableObservableType.swift
[95/387] Compiling RxSwift Create.swift
[96/387] Compiling RxSwift CurrentThreadScheduler.swift
[97/387] Compiling RxSwift Date+Dispatch.swift
[98/387] Compiling RxSwift Debounce.swift
[99/387] Compiling RxSwift AddRef.swift
[100/387] Compiling RxSwift Amb.swift
[101/387] Compiling RxSwift AnonymousDisposable.swift
[102/387] Compiling RxSwift AnonymousObserver.swift
[103/387] Compiling RxSwift AnyObserver.swift
[104/387] Compiling RxSwift AsMaybe.swift
[105/387] Compiling RxSwift AsSingle.swift
[106/387] Compiling RxSwift AsyncLock.swift
[107/387] Compiling RxSwift AsyncSubject.swift
[108/387] Compiling RxSwift AtomicInt.swift
[109/387] Compiling RxSwift Bag+Rx.swift
[110/387] Compiling RxSwift Bag.swift
[111/387] Compiling RxSwift BehaviorSubject.swift
[112/387] Compiling RxSwift BinaryDisposable.swift
[113/387] Compiling RxSwift Binder.swift
[114/387] Compiling RxSwift BooleanDisposable.swift
[115/387] Compiling RxSwift Buffer.swift
[116/387] Compiling RxSwift Infallible+Debug.swift
[117/387] Compiling RxSwift Infallible+Operators.swift
[118/387] Compiling RxSwift Infallible+Zip+arity.swift
[119/387] Compiling RxSwift Infallible.swift
[120/387] Compiling RxSwift InfiniteSequence.swift
[121/387] Compiling RxSwift InvocableScheduledItem.swift
[122/387] Compiling RxSwift InvocableType.swift
[123/387] Compiling RxSwift Just.swift
[124/387] Compiling RxSwift Lock.swift
[125/387] Compiling RxSwift LockOwnerType.swift
[126/387] Compiling RxSwift MainScheduler.swift
[127/387] Compiling RxSwift Map.swift
[128/387] Compiling RxSwift Materialize.swift
[129/387] Compiling RxSwift Maybe.swift
[130/387] Compiling RxSwift Merge.swift
[131/387] Compiling RxSwift Multicast.swift
[132/387] Compiling RxSwift Never.swift
[133/387] Compiling RxSwift NopDisposable.swift
[134/387] Compiling RxSwift Observable+Concurrency.swift
[135/387] Compiling RxSwift Observable.swift
[136/387] Compiling RxSwift ObservableConvertibleType+Infallible.swift
[137/387] Compiling RxSwift ObservableConvertibleType.swift
[138/387] Compiling RxSwift ObservableType+Extensions.swift
[139/387] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[140/387] Compiling RxSwift ObservableType.swift
[141/387] Compiling RxSwift ObserveOn.swift
[142/387] Compiling RxSwift ObserverBase.swift
[143/387] Compiling RxSwift ObserverType.swift
[144/387] Compiling RxSwift OperationQueueScheduler.swift
[145/387] Compiling RxSwift Optional.swift
[146/387] Compiling RxSwift Platform.Darwin.swift
[147/387] Compiling RxSwift Platform.Linux.swift
[148/387] Compiling RxSwift PrimitiveSequence+Concurrency.swift
[149/387] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[150/387] Compiling RxSwift PrimitiveSequence.swift
[151/387] Compiling RxSwift PriorityQueue.swift
[152/387] Compiling RxSwift Producer.swift
[153/387] Compiling RxSwift PublishSubject.swift
[154/387] Compiling RxSwift Queue.swift
[155/387] Compiling RxSwift Range.swift
[156/387] Compiling RxSwift Reactive.swift
[157/387] Compiling RxSwift RecursiveLock.swift
[158/387] Compiling RxSwift RecursiveScheduler.swift
[159/387] Compiling RxSwift Reduce.swift
[160/387] Compiling RxSwift RefCountDisposable.swift
[161/387] Compiling RxSwift Repeat.swift
[162/387] Compiling RxSwift ReplaySubject.swift
[163/387] Compiling RxSwift RetryWhen.swift
[164/387] Compiling RxSwift Sink.swift
[165/387] Compiling RxSwift Skip.swift
[166/387] Compiling RxSwift SkipUntil.swift
[167/387] Compiling RxSwift SkipWhile.swift
[168/387] Compiling RxSwift StartWith.swift
[169/387] Compiling RxSwift SubjectType.swift
[170/387] Compiling RxSwift SubscribeOn.swift
[171/387] Compiling RxSwift SubscriptionDisposable.swift
[172/387] Compiling RxSwift SwiftSupport.swift
[173/387] Compiling RxSwift Switch.swift
[174/387] Compiling RxSwift SwitchIfEmpty.swift
[175/387] Compiling RxSwift SynchronizedDisposeType.swift
[176/387] Compiling RxSwift SynchronizedOnType.swift
[177/387] Compiling RxSwift SynchronizedUnsubscribeType.swift
[178/387] Compiling RxSwift TailRecursiveSink.swift
[179/387] Compiling RxSwift Take.swift
[180/387] Compiling RxSwift Enumerated.swift
[181/387] Compiling RxSwift Error.swift
[182/387] Compiling RxSwift Errors.swift
[183/387] Compiling RxSwift Event.swift
[184/387] Compiling RxSwift Filter.swift
[185/387] Compiling RxSwift First.swift
[186/387] Compiling RxSwift Generate.swift
[187/387] Compiling RxSwift GroupBy.swift
[188/387] Compiling RxSwift GroupedObservable.swift
[189/387] Compiling RxSwift HistoricalScheduler.swift
[190/387] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[191/387] Compiling RxSwift ImmediateSchedulerType.swift
[192/387] Compiling RxSwift Infallible+CombineLatest+Collection.swift
[193/387] Compiling RxSwift Infallible+CombineLatest+arity.swift
[194/387] Compiling RxSwift Infallible+Concurrency.swift
[195/387] Compiling RxSwift Infallible+Create.swift
[196/387] Compiling RxSwift Rx.swift
[197/387] Compiling RxSwift RxMutableBox.swift
[198/387] Compiling RxSwift Sample.swift
[199/387] Compiling RxSwift Scan.swift
[200/387] Compiling RxSwift ScheduledDisposable.swift
[201/387] Compiling RxSwift ScheduledItem.swift
[202/387] Compiling RxSwift ScheduledItemType.swift
[203/387] Compiling RxSwift SchedulerServices+Emulation.swift
[204/387] Compiling RxSwift SchedulerType.swift
[205/387] Compiling RxSwift Sequence.swift
[206/387] Compiling RxSwift SerialDispatchQueueScheduler.swift
[207/387] Compiling RxSwift SerialDisposable.swift
[208/387] Compiling RxSwift ShareReplayScope.swift
[209/387] Compiling RxSwift Single.swift
[210/387] Compiling RxSwift SingleAssignmentDisposable.swift
[211/387] Compiling RxSwift SingleAsync.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[212/387] Emitting module TGCardViewController
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[213/389] Compiling RxSwift TakeLast.swift
[214/389] Compiling RxSwift TakeWithPredicate.swift
[215/389] Compiling RxSwift Throttle.swift
[216/389] Compiling RxSwift Timeout.swift
[217/389] Compiling RxSwift Timer.swift
[218/389] Compiling RxSwift ToArray.swift
[219/389] Compiling RxSwift Using.swift
[220/389] Compiling RxSwift VirtualTimeConverterType.swift
[221/389] Compiling RxSwift VirtualTimeScheduler.swift
[222/389] Compiling RxSwift Window.swift
[223/389] Compiling RxSwift WithLatestFrom.swift
[224/389] Compiling RxSwift WithUnretained.swift
[225/389] Compiling RxSwift Zip+Collection.swift
[226/389] Compiling RxSwift Zip+arity.swift
[227/389] Compiling RxSwift Zip.swift
[228/389] Compiling RxSwift resource_bundle_accessor.swift
[229/396] Compiling TGCardViewController TGKeyboardTableView.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[230/396] Compiling TGCardViewController resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[231/396] Compiling RxRelay Utils.swift
[232/396] Compiling RxRelay resource_bundle_accessor.swift
[233/396] Compiling RxRelay ReplayRelay.swift
[234/396] Emitting module RxRelay
[235/396] Compiling RxRelay PublishRelay.swift
[236/396] Compiling RxRelay BehaviorRelay.swift
[237/396] Compiling RxRelay Observable+Bind.swift
[238/396] Emitting module GeoMonitor
[238/396] Compiling RxCocoaRuntime resource_bundle_accessor.m
[239/396] Compiling RxCocoaRuntime _RXKVOObserver.m
[240/396] Compiling RxCocoaRuntime _RX.m
[241/396] Compiling RxCocoaRuntime _RXDelegateProxy.m
[242/396] Compiling RxCocoaRuntime _RXObjCRuntime.m
[244/483] Compiling RxCocoa UIScrollView+Rx.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[245/483] Compiling RxCocoa UISearchBar+Rx.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[246/483] Compiling RxCocoa UISearchController+Rx.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[247/483] Compiling RxCocoa NSTextView+Rx.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[248/483] Compiling RxCocoa NSView+Rx.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[249/483] Compiling RxCocoa NotificationCenter+Rx.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[250/483] Compiling RxCocoa RxPickerViewDelegateProxy.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[251/483] Compiling RxCocoa RxScrollViewDelegateProxy.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[252/483] Compiling RxCocoa RxSearchBarDelegateProxy.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[253/483] Compiling RxCocoa RxPickerViewAdapter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[254/483] Compiling RxCocoa RxPickerViewDataSourceProxy.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[255/483] Compiling RxCocoa RxPickerViewDataSourceType.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[256/483] Compiling RxCocoa Observable+Bind.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[257/483] Compiling RxCocoa RxCollectionViewReactiveArrayDataSource.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[258/483] Compiling RxCocoa RxNavigationControllerDelegateProxy.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[259/483] Compiling RxCocoa UISegmentedControl+Rx.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[260/483] Compiling RxCocoa UISlider+Rx.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[261/483] Compiling RxCocoa UIStepper+Rx.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[262/483] Compiling RxCocoa NSObject+Rx+KVORepresentable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[263/483] Compiling RxCocoa NSObject+Rx+RawRepresentable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[264/483] Compiling RxCocoa NSObject+Rx.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[265/483] Compiling RxCocoa NSSlider+Rx.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[266/483] Compiling RxCocoa NSTextField+Rx.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[267/483] Compiling RxCocoa NSTextStorage+Rx.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[280/488] Compiling GeoMonitor PrioritizedRegion.swift
[281/488] Compiling GeoMonitor GeoMonitor.swift
[282/488] Compiling RxCocoa SharedSequence+Concurrency.swift
[283/488] Compiling RxCocoa SharedSequence+Operators+arity.swift
[284/488] Compiling RxCocoa SharedSequence+Operators.swift
[285/488] Compiling RxCocoa SharedSequence.swift
[286/488] Compiling RxCocoa Signal+Subscription.swift
[287/488] Compiling RxCocoa Signal.swift
[288/488] Compiling RxCocoa TextInput.swift
[289/488] Compiling RxCocoa UIActivityIndicatorView+Rx.swift
[290/488] Compiling RxCocoa UIApplication+Rx.swift
[291/488] Compiling RxCocoa UIBarButtonItem+Rx.swift
[292/488] Compiling RxCocoa RxCollectionViewDataSourceProxy.swift
[293/488] Compiling RxCocoa RxCollectionViewDataSourceType.swift
[294/488] Compiling RxCocoa RxCollectionViewDelegateProxy.swift
[295/488] Compiling RxCocoa RxWKNavigationDelegateProxy.swift
[296/488] Compiling RxCocoa SchedulerType+SharedSequence.swift
[297/488] Compiling RxCocoa SectionedViewDataSourceType.swift
[298/488] Emitting module TripKitAPI
[299/488] Compiling RxCocoa UINavigationController+Rx.swift
[300/488] Compiling RxCocoa UIPickerView+Rx.swift
[301/488] Compiling RxCocoa UIRefreshControl+Rx.swift
[305/488] Compiling TripKitAPI DefaultLossyArray.swift
[306/488] Compiling TripKitAPI DefaultNil.swift
[307/488] Compiling TripKitAPI DefaultTrue.swift
[308/488] Compiling TripKitAPI ISO8601OrSecondsSince1970.swift
[309/488] Compiling TripKitAPI LossyArray.swift
[310/488] Emitting module RxCocoa
[320/497] Compiling RxCocoa Driver+Subscription.swift
[321/497] Compiling RxCocoa Driver.swift
[322/497] Compiling RxCocoa Infallible+Bind.swift
[323/497] Compiling RxCocoa Infallible+Driver.swift
[324/497] Compiling RxCocoa ItemEvents.swift
[325/497] Compiling RxCocoa KVORepresentable+CoreGraphics.swift
[326/497] Compiling RxCocoa KVORepresentable+Swift.swift
[327/497] Compiling RxCocoa KVORepresentable.swift
[328/497] Compiling RxCocoa NSButton+Rx.swift
[329/497] Compiling RxCocoa NSControl+Rx.swift
[330/497] Compiling RxCocoa RxTabBarDelegateProxy.swift
[331/497] Compiling RxCocoa RxTableViewDataSourcePrefetchingProxy.swift
[332/497] Compiling RxCocoa RxTableViewDataSourceProxy.swift
[333/497] Compiling RxCocoa RxTableViewDataSourceType.swift
[334/497] Compiling RxCocoa RxTableViewDelegateProxy.swift
[335/497] Compiling RxCocoa RxTableViewReactiveArrayDataSource.swift
[336/497] Compiling RxCocoa RxTarget.swift
[337/497] Compiling RxCocoa RxTextStorageDelegateProxy.swift
[338/497] Compiling RxCocoa RxTextViewDelegateProxy.swift
[339/497] Compiling RxCocoa BehaviorRelay+Driver.swift
[340/497] Compiling RxCocoa ControlEvent+Driver.swift
[341/497] Compiling RxCocoa ControlEvent+Signal.swift
[342/497] Compiling RxCocoa ControlEvent.swift
[343/497] Compiling RxCocoa ControlProperty+Driver.swift
[344/497] Compiling RxCocoa ControlProperty.swift
[345/497] Compiling RxCocoa ControlTarget.swift
[346/497] Compiling RxCocoa DelegateProxy.swift
[347/497] Compiling RxCocoa DelegateProxyType.swift
[348/497] Compiling RxCocoa DispatchQueue+Extensions.swift
[349/497] Emitting module Kingfisher
[365/504] Compiling RxCocoa RxSearchControllerDelegateProxy.swift
[366/504] Compiling RxCocoa RxTabBarControllerDelegateProxy.swift
[367/504] Compiling RxCocoa ObservableConvertibleType+Driver.swift
[368/504] Compiling RxCocoa ObservableConvertibleType+SharedSequence.swift
[369/504] Compiling RxCocoa ObservableConvertibleType+Signal.swift
[370/504] Compiling RxCocoa PublishRelay+Signal.swift
[371/504] Compiling RxCocoa RxCocoa.swift
[372/504] Compiling RxCocoa RxCocoaObjCRuntimeError+Extensions.swift
[373/504] Compiling RxCocoa RxCollectionViewDataSourcePrefetchingProxy.swift
[405/504] Compiling RxCocoa UISwitch+Rx.swift
[406/504] Compiling RxCocoa UITabBar+Rx.swift
[407/504] Compiling RxCocoa UITabBarController+Rx.swift
[408/504] Compiling RxCocoa UITableView+Rx.swift
[409/504] Compiling RxCocoa UITextField+Rx.swift
[410/504] Compiling RxCocoa UITextView+Rx.swift
[411/504] Compiling RxCocoa URLSession+Rx.swift
[412/504] Compiling RxCocoa WKWebView+Rx.swift
[413/504] Compiling RxCocoa resource_bundle_accessor.swift
[453/649] Compiling TripKit DLSEntry+CoreDataClass.swift
[454/649] Compiling TripKit DLSEntry+CoreDataProperties.swift
[455/649] Compiling TripKit SegmentReference+CoreDataClass.swift
[456/649] Compiling TripKit StopVisits+CoreDataClass.swift
[457/649] Compiling TripKit StopVisits+CoreDataProperties.swift
[458/649] Compiling TripKit Trip+CoreDataClass.swift
[459/649] Compiling TripKit Trip+CoreDataProperties.swift
[460/649] Compiling TripKit SegmentReference+CoreDataProperties.swift
[461/649] Compiling TripKit SegmentReference+Data.swift
[462/649] Compiling TripKit SegmentReference+Flags.swift
[463/649] Compiling TripKit SegmentTemplate+CoreDataClass.swift
[464/649] Compiling TripKit SegmentTemplate+CoreDataProperties.swift
[465/649] Compiling TripKit SegmentTemplate+Data.swift
[466/649] Compiling TripKit SegmentTemplate+Flags.swift
[467/649] Compiling TripKit StopLocation.swift
[468/649] Compiling TripKit TKContactsManager+TKAutocompleting.swift
[469/649] Compiling TripKit TKContactsManager.swift
[470/649] Compiling TripKit TKLocationManager.swift
[471/649] Compiling TripKit TKOneOffLocationManager.swift
[472/649] Compiling TripKit TKPermissionManager+AuthorizationAlert.swift
[473/649] Compiling TripKit TKPermissionManager.swift
[474/649] Compiling TripKit Service+CoreDataClass.swift
[475/649] Compiling TripKit Service+CoreDataProperties.swift
[476/649] Compiling TripKit Service+Visits.swift
[477/649] Compiling TripKit Shape+CoreDataClass.swift
[478/649] Compiling TripKit Shape+CoreDataProperties.swift
[479/649] Compiling TripKit Shape+Data.swift
[480/649] Compiling TripKit StopLocation+CoreDataClass.swift
[481/649] Compiling TripKit StopLocation+CoreDataProperties.swift
[482/649] Compiling TripKit TKRegionManager+TripKit.swift
[483/649] Compiling TripKit TKStyleManager.swift
[484/649] Compiling TripKit GeocodeAPIModel.swift
[485/649] Compiling TripKit LocationAPIModel.swift
[486/649] Compiling TripKit ShareCarAPIModel.swift
[487/649] Compiling TripKit Alert+CoreDataClass.swift
[488/649] Compiling TripKit Alert+CoreDataProperties.swift
[489/649] Compiling TripKit TKAutocompletionResult+Icon.swift
[490/649] Compiling TripKit TKAutocompletionResult+Score.swift
[491/649] Compiling TripKit TKAutocompletionResult.swift
[492/649] Compiling TripKit TKGeoJSON+NamedCoordinate.swift
[493/649] Compiling TripKit TKGeoJSON.swift
[494/649] Compiling TripKit TKGeocoderHelper.swift
[495/649] Compiling TripKit TKGeocoding.swift
[496/649] Compiling TripKit TKStyleManager+UIKit.swift
[497/649] Compiling TripKit UIColor+TripKit.swift
[498/649] Compiling TripKit UIColor+TripKitDefault.swift
[499/649] Compiling TripKit MKMultiPoint+ClosestPoint.swift
[500/649] Compiling TripKit MapKit+Extensions.swift
[501/649] Compiling TripKit NSBundle+ProductName.swift
[502/649] Compiling TripKit NSDate+Formatting.swift
[503/649] Compiling TripKit NSManagedObjectContext+Fetch.swift
[504/649] Compiling TripKit NSNumber+Formatter.swift
[505/649] Compiling TripKit Optional+OrThrow.swift
[506/649] Compiling TripKit String+NonEmpty.swift
[507/649] Compiling TripKit Loc+TripKit.swift
[508/649] Compiling TripKit Loc+TripKitBookings.swift
[509/649] Compiling TripKit Loc+TripKitInterApp.swift
[510/649] Compiling TripKit Loc+TripKitUI.swift
[511/649] Compiling TripKit Loc.swift
[528/664] Compiling TripKit TKConfig+TripKit.swift
[529/664] Compiling TripKit TKImage+TripKit.swift
[530/664] Compiling TripKit TripKit.swift
[531/664] Compiling TripKit API+ViewHelpers.swift
[532/664] Compiling TripKit DataAttachable.swift
[533/664] Compiling TripKit TKImageBuilder.swift
[534/664] Compiling TripKit TKJSONCache.swift
[535/664] Compiling TripKit TKJSONSanitizer.swift
[536/664] Compiling TripKit TKModeHelper.swift
[537/664] Compiling TripKit TKParserHelper.swift
[538/664] Compiling TripKit TKRegion+RoutingMode.swift
[539/664] Compiling TripKit TKMetricClassifier.swift
[540/664] Compiling TripKit TKTripClassifier.swift
[541/664] Compiling TripKit TripRequest+Classify.swift
[542/664] Compiling TripKit TKCalendarManager+Autocompleting.swift
[543/664] Compiling TripKit TKCalendarManager.swift
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
[548/664] Compiling TripKit Trip+Data.swift
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
[549/664] Compiling TripKit Trip+Flags.swift
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
[550/664] Compiling TripKit TripGroup+CoreDataClass.swift
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
[551/664] Compiling TripKit TripGroup+CoreDataProperties.swift
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
[552/664] Compiling TripKit TripRequest+CoreDataClass.swift
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
[553/664] Compiling TripKit TripRequest+CoreDataProperties.swift
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
[554/664] Compiling TripKit Vehicle+CoreDataClass.swift
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
[555/664] Compiling TripKit Vehicle+CoreDataProperties.swift
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
[556/664] Compiling TripKit TKAPI+Icons.swift
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
[557/664] Compiling TripKit TKAPI+MapKit.swift
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
[558/664] Compiling TripKit TKAPI+TripKit.swift
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
[559/664] Compiling TripKit TKAddressFormatter.swift
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
[560/664] Compiling TripKit TKAnnotations.swift
[561/664] Compiling TripKit TKBicycleAccessibility.swift
[562/664] Compiling TripKit TKBooking+TripKit.swift
[563/664] Compiling TripKit TKColoredRoute.swift
[564/664] Compiling TripKit TKCoordinates.swift
[565/664] Compiling TripKit TKDLSTable.swift
[566/664] Compiling TripKit TKGeocodable.swift
[567/664] Compiling TripKit TKInfoIcon.swift
[568/664] Compiling TripKit TKLocationTypes.swift
[569/664] Compiling TripKit TKModeInfo+Image.swift
[570/664] Compiling TripKit TKModeInfo+TripKit.swift
[571/664] Compiling TripKit TKNamedCoordinate.swift
[572/664] Compiling TripKit TKPathFriendliness.swift
[573/664] Compiling TripKit TKRoutePolyline.swift
[574/664] Compiling TripKit TKSecureTransformers.swift
[575/664] Compiling TripKit TKSegment+Alerts.swift
[576/664] Compiling TripKit TKSegment+Images.swift
[577/664] Compiling TripKit TKSegment+StationaryType.swift
[578/664] Compiling TripKit TKSegment+TKTripSegment.swift
[579/664] Compiling TripKit TKSegment+Ticket.swift
[580/664] Compiling TripKit TKSegment.swift
[581/664] Compiling TripKit TKSortableAnnotation.swift
[582/664] Compiling TripKit TKStore.swift
[583/664] Compiling TripKit TKTimeType.swift
[584/664] Compiling TripKit TKTimetable.swift
[585/664] Compiling TripKit TKTripAndSegments.swift
[586/664] Compiling TripKit TKTripPattern.swift
[587/664] Compiling TripKit TKVehicular.swift
[588/664] Compiling TripKit TKWheelchairAccessibility.swift
[589/664] Compiling TripKit TKAggregateGeocoder.swift
[590/664] Compiling TripKit TKAnnotationClusterer.swift
[591/664] Compiling TripKit TKAppleGeocoder.swift
[592/664] Emitting module TripKit
<unknown>:0: warning: 'nonisolated' is not supported on lazy properties; this is an error in the Swift 6 language mode
[600/664] Compiling TripKit TKGeocodingResultScorer.swift
[601/664] Compiling TripKit TKModeImageBuilder.swift
[602/664] Compiling TripKit TKNamedCoordinate+Attribution.swift
[603/664] Compiling TripKit TKNamedCoordinate+BuzzData.swift
[604/664] Compiling TripKit TKPeliasGeocoder.swift
[605/664] Compiling TripKit TKRegionAutocompleter.swift
[606/664] Compiling TripKit TKRouteAutocompleter.swift
[607/664] Compiling TripKit TKTripGoGeocoder.swift
[608/664] Compiling TripKit TKBuzzInfoProvider+Routes.swift
[609/664] Compiling TripKit TKBuzzInfoProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[610/664] Compiling TripKit TKDeparturesProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[611/664] Compiling TripKit TKLocationProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[612/664] Compiling TripKit TKNamedCoordinate+TKRegion.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[613/664] Compiling TripKit TKQuickBookingHelper+Fake.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[614/664] Compiling TripKit TKQuickBookingHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[615/664] Compiling TripKit TKRealTime.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[616/664] Compiling TripKit TKRealTimeFetcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[617/664] Compiling TripKit TKRegion+MapKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[618/664] Compiling TripKit TKReporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[619/664] Compiling TripKit TKRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[620/664] Compiling TripKit TKServer+ImageUpload.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[621/664] Compiling TripKit TKServer+ModeImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[622/664] Compiling TripKit TKServer+UserAccount.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[623/664] Compiling TripKit TKSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[624/664] Compiling TripKit TKTransportMode+TripKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:105:26: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
103 |
104 | let (region, stopCodes) = try await context.perform {
105 | guard let region = stops.first?.region else {
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
106 | throw OutputError.couldNotFetchRegions
107 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKDeparturesProvider.swift:114:58: warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
112 |
113 | return await context.perform {
114 | TKDeparturesProvider.addDepartures(departures, to: stops)
| `- warning: capture of 'stops' with non-Sendable type '[StopLocation]' in a '@Sendable' closure [#SendableClosureCaptures]
115 | }
116 | }
Swift.Array:1:23: note: generic struct 'Array' does not conform to the 'Sendable' protocol
1 | @frozen public struct Array<Element> : _DestructorSafeContainer {
| `- note: generic struct 'Array' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKQuickBookingHelper.swift:210:7: warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
208 | let bookings = try response.result.get()
209 | await segment.trip.managedObjectContext?.perform {
210 | segment.storeQuickBookings(bookings)
| `- warning: capture of 'segment' with non-Sendable type 'TKSegment' in a '@Sendable' closure [#SendableClosureCaptures]
211 | }
212 | return bookings
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKSegment.swift:28:14: note: class 'TKSegment' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public class TKSegment: NSObject {
| `- note: class 'TKSegment' does not conform to the 'Sendable' protocol
29 |
30 | /// The type of segment, `.start` and `.end` are terminal segments that just
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:27: warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
45 |
46 | /// The `serviceParas` to post, paired with what each answered service should update.
47 | struct Updateables {
| `- note: consider making struct 'Updateables' conform to the 'Sendable' protocol
48 | var serviceParas: [[String: Any]] = []
49 | /// Keyed by `Service.code`; a value per updateable, since one service can appear at several stops.
:
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: capture of 'updateables' with non-Sendable type 'TKRealTimeFetcher.Updateables' in a '@Sendable' closure [#SendableClosureCaptures]
129 | }
130 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRealTimeFetcher.swift:128:7: warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
126 | let content = try response.result.get()
127 | await context.perform {
128 | update(updateables: updateables, from: content)
| `- warning: call to main actor-isolated static method 'update(updateables:from:)' in a synchronous nonisolated context [#ActorIsolatedCall]
129 | }
130 | }
:
145 |
146 | @MainActor
147 | static func update(updateables: Updateables, from response: TKAPI.LatestResponse) {
| `- note: calls to static method 'update(updateables:from:)' from outside of its actor context are implicitly asynchronous
148 | for apiService in response.services {
149 | guard let candidates = updateables.byServiceCode[apiService.code] else {
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
7 | //
8 |
9 | import UIKit
| `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
Fetching https://github.com/skedgo/GeoMonitor.git
Fetching https://github.com/onevcat/Kingfisher.git
Fetching https://github.com/skedgo/TGCardViewController.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/263] Fetching geomonitor
[165/5790] Fetching geomonitor, tgcardviewcontroller
[1038/39784] Fetching geomonitor, tgcardviewcontroller, kingfisher
[7954/94326] Fetching geomonitor, tgcardviewcontroller, kingfisher, rxswift
Fetched https://github.com/onevcat/Kingfisher.git from cache (8.59s)
[17161/60332] Fetching geomonitor, tgcardviewcontroller, rxswift
Fetched https://github.com/skedgo/TGCardViewController.git from cache (18.15s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (18.15s)
Fetched https://github.com/skedgo/GeoMonitor.git from cache (18.15s)
Computing version for https://github.com/skedgo/GeoMonitor.git
Computed https://github.com/skedgo/GeoMonitor.git at 0.3.0 (18.83s)
Computing version for https://github.com/skedgo/TGCardViewController.git
Computed https://github.com/skedgo/TGCardViewController.git at 2.5.2 (3.96s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.10.2 (0.86s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 8.13.0 (0.59s)
Creating working copy for https://github.com/skedgo/GeoMonitor.git
Working copy of https://github.com/skedgo/GeoMonitor.git resolved at 0.3.0
Creating working copy for https://github.com/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 8.13.0
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.10.2
Creating working copy for https://github.com/skedgo/TGCardViewController.git
Working copy of https://github.com/skedgo/TGCardViewController.git resolved at 2.5.2
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/Resources/TripKit.xcassets
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/Resources/TripKitModel.xcdatamodeld
warning: 'spi-builder-workspace': found 34 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUIAlertCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUIDepartureCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/segment cards/TKUISegmentInstructionsView.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/controller/TKUIAttributionTableViewController.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUITripModeByModeHeader.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/segment cards/TKUISegmentTitleView.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUIEmptyAlertView.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUITripBoyView.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/timetable/TKUIServiceVisitCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUIModePickerCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUINearbyCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentAlertCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/Resources/TripKitUI.xcassets
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUIHomeCustomizerCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/controller/TKUISectionedAlertViewController.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUIAttributionCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIResultsTitleView.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIRoutingSupportView.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUISectionedAlertTableHeader.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/timetable/TKUIServiceTitleView.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIResultsAccessoryView.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIProgressCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/timetable/TKUIServiceNumberCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUINotificationView.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentStationaryDoubleCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUITripTitleView.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIRoutingQueryInputTitleView.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUITripCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentStationaryCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/timetable/TKUITimetableAccessoryView.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUIGroupedAlertCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUILoadingAlertView.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentImpossibleCell.xib
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentMovingCell.xib
BUILD FAILURE 6.2 macosSpm