Build Information
Successful build of TRON, reference main (e260e3
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 19:02:11 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MLSDev/TRON.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MLSDev/TRON
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e260e3a Bump peter-evans/create-pull-request from 6 to 7 (#91)
Cloned https://github.com/MLSDev/TRON.git
Revision (git rev-parse @):
e260e3afb4b1cadc44ee4ca163d1495daef508bd
SUCCESS checkout https://github.com/MLSDev/TRON.git at main
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/6126] Fetching swiftyjson
[920/36263] Fetching swiftyjson, alamofire
[4878/88946] Fetching swiftyjson, alamofire, rxswift
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (3.91s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.91s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (3.91s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.5.0 (4.53s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.1 (0.58s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.6.2 (0.59s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.6.2
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 5.0.1
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "tron",
"name": "TRON",
"url": "https://github.com/MLSDev/TRON.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TRON",
"dependencies": [
{
"identity": "alamofire",
"name": "Alamofire",
"url": "https://github.com/Alamofire/Alamofire.git",
"version": "5.10.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
"dependencies": [
]
},
{
"identity": "swiftyjson",
"name": "SwiftyJSON",
"url": "https://github.com/SwiftyJSON/SwiftyJSON.git",
"version": "5.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyJSON",
"dependencies": [
]
},
{
"identity": "rxswift",
"name": "RxSwift",
"url": "https://github.com/ReactiveX/RxSwift.git",
"version": "6.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RxSwift",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/MLSDev/TRON.git
[1/12979] Fetching tron
Fetched https://github.com/MLSDev/TRON.git from cache (1.89s)
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git from cache
Fetching https://github.com/ReactiveX/RxSwift.git from cache
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (0.51s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (0.66s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.66s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (1.23s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.9.0 (0.45s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.45s)
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 5.0.2
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Creating working copy for https://github.com/MLSDev/TRON.git
Working copy of https://github.com/MLSDev/TRON.git resolved at main (e260e3a)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.9.0
warning: '.resolve-product-dependencies': dependency 'tron' is not used by any target
Found 3 product dependencies
- Alamofire
- SwiftyJSON
- RxSwift
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/MLSDev/TRON.git
https://github.com/MLSDev/TRON.git
{
"dependencies" : [
{
"identity" : "alamofire",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alamofire/Alamofire.git"
},
{
"identity" : "swiftyjson",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftyJSON/SwiftyJSON.git"
},
{
"identity" : "rxswift",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ReactiveX/RxSwift.git"
}
],
"manifest_display_name" : "TRON",
"name" : "TRON",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "TRON",
"targets" : [
"TRON"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TRONSwiftyJSON",
"targets" : [
"TRONSwiftyJSON"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RxTRON",
"targets" : [
"RxTRON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TRONSwiftyJSON",
"module_type" : "SwiftTarget",
"name" : "TRONSwiftyJSON",
"path" : "Source/TRONSwiftyJSON",
"product_dependencies" : [
"SwiftyJSON"
],
"product_memberships" : [
"TRONSwiftyJSON"
],
"sources" : [
"SwiftyJSONDecodable.swift"
],
"target_dependencies" : [
"TRON"
],
"type" : "library"
},
{
"c99name" : "TRON",
"module_type" : "SwiftTarget",
"name" : "TRON",
"path" : "Source/TRON",
"product_dependencies" : [
"Alamofire"
],
"product_memberships" : [
"TRON",
"TRONSwiftyJSON",
"RxTRON"
],
"sources" : [
"APIError.swift",
"APIRequest.swift",
"APIStub.swift",
"BaseRequest.swift",
"Combine.swift",
"Concurrency.swift",
"DownloadAPIRequest.swift",
"Exports.swift",
"NetworkActivityPlugin.swift",
"NetworkLoggerPlugin.swift",
"Plugin.swift",
"Serialization.swift",
"TRON.swift",
"TRONCodable.swift",
"URLBuilder.swift",
"UploadAPIRequest.swift"
],
"type" : "library"
},
{
"c99name" : "RxTRON",
"module_type" : "SwiftTarget",
"name" : "RxTRON",
"path" : "Source/RxTRON",
"product_dependencies" : [
"RxSwift"
],
"product_memberships" : [
"RxTRON"
],
"sources" : [
"Tron+RxSwift.swift"
],
"target_dependencies" : [
"TRON"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/188] Emitting module Alamofire
[9/191] Emitting module RxSwift
[10/207] Compiling Alamofire URLRequest+Alamofire.swift
[11/207] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[12/207] Compiling Alamofire Validation.swift
[13/207] Compiling RxSwift Bag.swift
[14/207] Compiling RxSwift BehaviorSubject.swift
[15/207] Compiling RxSwift BinaryDisposable.swift
[16/207] Compiling RxSwift Binder.swift
[17/207] Compiling SwiftyJSON SwiftyJSON.swift
[18/207] Emitting module SwiftyJSON
[19/207] Compiling RxSwift AddRef.swift
[20/207] Compiling RxSwift Amb.swift
[21/207] Compiling RxSwift AnonymousDisposable.swift
[22/207] Compiling RxSwift AnonymousObserver.swift
[23/207] Compiling RxSwift BooleanDisposable.swift
[24/207] Compiling RxSwift Buffer.swift
[25/207] Compiling RxSwift Cancelable.swift
[26/207] Compiling RxSwift Catch.swift
[27/207] Compiling RxSwift AsyncSubject.swift
[28/207] Compiling RxSwift AtomicInt.swift
[29/207] Compiling RxSwift Bag+Rx.swift
[30/207] Compiling RxSwift CompositeDisposable.swift
[31/207] Compiling RxSwift Concat.swift
[32/207] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[33/207] Compiling RxSwift ConcurrentMainScheduler.swift
[34/207] Compiling RxSwift ConnectableObservableType.swift
[35/207] Compiling RxSwift Create.swift
[36/207] Compiling RxSwift CurrentThreadScheduler.swift
[37/207] Compiling RxSwift Date+Dispatch.swift
[38/207] Compiling RxSwift Infallible+Concurrency.swift
[39/207] Compiling RxSwift Infallible+Create.swift
[40/207] Compiling RxSwift Infallible+Operators.swift
[41/207] Compiling RxSwift Infallible+Zip+arity.swift
[42/207] Compiling RxSwift Infallible.swift
[43/207] Compiling RxSwift InfiniteSequence.swift
[44/207] Compiling RxSwift InvocableScheduledItem.swift
[45/207] Compiling RxSwift InvocableType.swift
[46/207] Compiling RxSwift Just.swift
[47/207] Compiling RxSwift Lock.swift
[48/207] Compiling RxSwift LockOwnerType.swift
[49/207] Compiling RxSwift MainScheduler.swift
[50/207] Compiling RxSwift Map.swift
[51/207] Compiling RxSwift Materialize.swift
[52/207] Compiling RxSwift Maybe.swift
[53/207] Compiling RxSwift Merge.swift
[57/207] Compiling RxSwift CombineLatest+Collection.swift
[58/207] Compiling RxSwift CombineLatest+arity.swift
[59/207] Compiling RxSwift CombineLatest.swift
[60/207] Compiling RxSwift CompactMap.swift
[61/207] Compiling RxSwift Completable+AndThen.swift
[62/207] Compiling RxSwift Completable.swift
[74/207] Compiling RxSwift AnyObserver.swift
[75/207] Compiling RxSwift AsMaybe.swift
[76/207] Compiling RxSwift AsSingle.swift
[77/207] Compiling RxSwift AsyncLock.swift
[90/207] Compiling RxSwift Multicast.swift
[91/207] Compiling RxSwift Never.swift
[92/207] Compiling RxSwift NopDisposable.swift
[93/207] Compiling RxSwift Observable+Concurrency.swift
[94/207] Compiling RxSwift Observable.swift
[95/207] Compiling RxSwift ObservableConvertibleType+Infallible.swift
[96/207] Compiling RxSwift ObservableConvertibleType.swift
[97/207] Compiling RxSwift ObservableType+Extensions.swift
[98/207] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[99/207] Compiling RxSwift ObservableType.swift
[100/207] Compiling RxSwift ObserveOn.swift
[101/207] Compiling RxSwift ObserverBase.swift
[102/207] Compiling RxSwift ObserverType.swift
[103/207] Compiling RxSwift OperationQueueScheduler.swift
[104/207] Compiling RxSwift Optional.swift
[105/207] Compiling RxSwift Platform.Darwin.swift
[113/207] Compiling RxSwift DefaultIfEmpty.swift
[114/207] Compiling RxSwift Deferred.swift
[115/207] Compiling RxSwift Delay.swift
[117/207] Compiling RxSwift DelaySubscription.swift
[119/207] Compiling RxSwift Dematerialize.swift
[121/207] Compiling RxSwift DispatchQueue+Extensions.swift
[122/207] Compiling RxSwift DispatchQueueConfiguration.swift
[123/207] Compiling RxSwift Disposable.swift
[124/207] Compiling RxSwift Disposables.swift
[125/207] Compiling RxSwift DisposeBag.swift
[126/207] Compiling RxSwift DisposeBase.swift
[127/207] Compiling RxSwift DistinctUntilChanged.swift
[128/207] Compiling RxSwift RetryWhen.swift
[129/207] Compiling RxSwift Rx.swift
[130/207] Compiling RxSwift RxMutableBox.swift
[131/207] Compiling RxSwift Sample.swift
[132/207] Compiling RxSwift Scan.swift
[133/207] Compiling RxSwift ScheduledDisposable.swift
[134/207] Compiling RxSwift ScheduledItem.swift
[135/207] Compiling RxSwift ScheduledItemType.swift
[136/207] Compiling RxSwift SchedulerServices+Emulation.swift
[137/207] Compiling RxSwift SchedulerType.swift
[138/207] Compiling RxSwift Sequence.swift
[139/207] Compiling RxSwift SerialDispatchQueueScheduler.swift
[140/207] Compiling RxSwift SerialDisposable.swift
[141/207] Compiling RxSwift ShareReplayScope.swift
[142/207] Compiling RxSwift Single.swift
[143/207] Compiling RxSwift SingleAssignmentDisposable.swift
[144/207] Compiling RxSwift Do.swift
[145/207] Compiling RxSwift ElementAt.swift
[146/207] Compiling RxSwift Empty.swift
[147/207] Compiling RxSwift Enumerated.swift
[148/207] Compiling RxSwift Error.swift
[149/207] Compiling RxSwift Errors.swift
[150/207] Compiling RxSwift Event.swift
[151/207] Compiling RxSwift Filter.swift
[152/207] Compiling RxSwift First.swift
[153/207] Compiling RxSwift Generate.swift
[154/207] Compiling RxSwift GroupBy.swift
[155/207] Compiling RxSwift GroupedObservable.swift
[156/207] Compiling RxSwift HistoricalScheduler.swift
[157/207] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[158/207] Compiling RxSwift ImmediateSchedulerType.swift
[159/207] Compiling RxSwift Infallible+CombineLatest+arity.swift
[160/207] Compiling RxSwift Platform.Linux.swift
[161/207] Compiling RxSwift PrimitiveSequence+Concurrency.swift
[162/207] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[163/207] Compiling RxSwift PrimitiveSequence.swift
[164/207] Compiling RxSwift PriorityQueue.swift
[165/207] Compiling RxSwift Producer.swift
[166/207] Compiling RxSwift PublishSubject.swift
[167/207] Compiling RxSwift Queue.swift
[168/207] Compiling RxSwift Range.swift
[169/207] Compiling RxSwift Reactive.swift
[170/207] Compiling RxSwift RecursiveLock.swift
[171/207] Compiling RxSwift RecursiveScheduler.swift
[172/207] Compiling RxSwift Reduce.swift
[173/207] Compiling RxSwift RefCountDisposable.swift
[174/207] Compiling RxSwift Repeat.swift
[175/207] Compiling RxSwift ReplaySubject.swift
[176/207] Compiling RxSwift SingleAsync.swift
[177/207] Compiling RxSwift Sink.swift
[178/207] Compiling RxSwift Skip.swift
[179/207] Compiling RxSwift SkipUntil.swift
[180/207] Compiling RxSwift SkipWhile.swift
[181/207] Compiling RxSwift StartWith.swift
[182/207] Compiling RxSwift SubjectType.swift
[183/207] Compiling RxSwift SubscribeOn.swift
[184/207] Compiling RxSwift SubscriptionDisposable.swift
[185/207] Compiling RxSwift SwiftSupport.swift
[186/207] Compiling RxSwift Switch.swift
[187/207] Compiling RxSwift SwitchIfEmpty.swift
[188/207] Compiling RxSwift SynchronizedDisposeType.swift
[189/207] Compiling RxSwift SynchronizedOnType.swift
[190/207] Compiling RxSwift SynchronizedUnsubscribeType.swift
[191/207] Compiling RxSwift TailRecursiveSink.swift
[192/207] Compiling RxSwift Take.swift
[193/207] Compiling RxSwift TakeLast.swift
[194/207] Compiling RxSwift TakeWithPredicate.swift
[195/207] Compiling RxSwift Throttle.swift
[196/207] Compiling RxSwift Timeout.swift
[197/207] Compiling RxSwift Timer.swift
[198/207] Compiling RxSwift ToArray.swift
[199/207] Compiling RxSwift Using.swift
[200/207] Compiling RxSwift VirtualTimeConverterType.swift
[201/207] Compiling RxSwift VirtualTimeScheduler.swift
[202/207] Compiling RxSwift Window.swift
[203/207] Compiling RxSwift WithLatestFrom.swift
[204/207] Compiling RxSwift WithUnretained.swift
[205/207] Compiling RxSwift Zip+Collection.swift
[206/207] Compiling RxSwift Zip+arity.swift
[207/207] Compiling RxSwift Zip.swift
[208/223] Compiling TRON TRONCodable.swift
[209/224] Compiling TRON URLBuilder.swift
[210/224] Compiling TRON TRON.swift
[211/224] Compiling TRON Plugin.swift
[212/224] Compiling TRON Serialization.swift
[213/224] Compiling TRON NetworkActivityPlugin.swift
[214/224] Compiling TRON NetworkLoggerPlugin.swift
[215/224] Compiling TRON DownloadAPIRequest.swift
/Users/admin/builder/spi-builder-workspace/Source/TRON/DownloadAPIRequest.swift:117:21: warning: capture of 'successBlock' with non-sendable type '((Model) -> Void)?' in a '@Sendable' closure
115 | case .success(let model):
116 | self?.resultDeliveryQueue.async {
117 | successBlock?(model)
| |- warning: capture of 'successBlock' with non-sendable type '((Model) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
118 | }
119 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Source/TRON/DownloadAPIRequest.swift:117:35: warning: capture of 'model' with non-sendable type 'Model' in a '@Sendable' closure
39 | `DownloadAPIRequest` encapsulates download request creation logic, stubbing options, and response/error parsing.
40 | */
41 | open class DownloadAPIRequest<Model, ErrorModel: DownloadErrorSerializable>: BaseRequest<Model, ErrorModel> {
| `- note: consider making generic parameter 'Model' conform to the 'Sendable' protocol
42 |
43 | /// DownloadAPIREquest type
:
115 | case .success(let model):
116 | self?.resultDeliveryQueue.async {
117 | successBlock?(model)
| `- warning: capture of 'model' with non-sendable type 'Model' in a '@Sendable' closure
118 | }
119 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Source/TRON/DownloadAPIRequest.swift:122:25: warning: capture of 'failureBlock' with non-sendable type '((ErrorModel) -> Void)?' in a '@Sendable' closure
120 | if let error = error.underlyingError as? ErrorModel {
121 | self?.resultDeliveryQueue.async {
122 | failureBlock?(error)
| |- warning: capture of 'failureBlock' with non-sendable type '((ErrorModel) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
123 | }
124 | }
[216/224] Compiling TRON Exports.swift
/Users/admin/builder/spi-builder-workspace/Source/TRON/DownloadAPIRequest.swift:117:21: warning: capture of 'successBlock' with non-sendable type '((Model) -> Void)?' in a '@Sendable' closure
115 | case .success(let model):
116 | self?.resultDeliveryQueue.async {
117 | successBlock?(model)
| |- warning: capture of 'successBlock' with non-sendable type '((Model) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
118 | }
119 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Source/TRON/DownloadAPIRequest.swift:117:35: warning: capture of 'model' with non-sendable type 'Model' in a '@Sendable' closure
39 | `DownloadAPIRequest` encapsulates download request creation logic, stubbing options, and response/error parsing.
40 | */
41 | open class DownloadAPIRequest<Model, ErrorModel: DownloadErrorSerializable>: BaseRequest<Model, ErrorModel> {
| `- note: consider making generic parameter 'Model' conform to the 'Sendable' protocol
42 |
43 | /// DownloadAPIREquest type
:
115 | case .success(let model):
116 | self?.resultDeliveryQueue.async {
117 | successBlock?(model)
| `- warning: capture of 'model' with non-sendable type 'Model' in a '@Sendable' closure
118 | }
119 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Source/TRON/DownloadAPIRequest.swift:122:25: warning: capture of 'failureBlock' with non-sendable type '((ErrorModel) -> Void)?' in a '@Sendable' closure
120 | if let error = error.underlyingError as? ErrorModel {
121 | self?.resultDeliveryQueue.async {
122 | failureBlock?(error)
| |- warning: capture of 'failureBlock' with non-sendable type '((ErrorModel) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
123 | }
124 | }
[217/224] Compiling TRON Combine.swift
/Users/admin/builder/spi-builder-workspace/Source/TRON/Combine.swift:34:16: warning: stored property 'response' of 'Sendable'-conforming generic struct 'DownloadError' has non-sendable type 'DownloadResponse<T, Failure>'; this is an error in the Swift 6 language mode
32 |
33 | /// Reported `DownloadResponse`
34 | public let response: DownloadResponse<T, Failure>
| `- warning: stored property 'response' of 'Sendable'-conforming generic struct 'DownloadError' has non-sendable type 'DownloadResponse<T, Failure>'; this is an error in the Swift 6 language mode
35 |
36 | /// Creates `DownloadError` for `DownloadAPIRequest`.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:215:15: note: generic struct 'DownloadResponse' does not conform to the 'Sendable' protocol
213 |
214 | /// Used to store all data associated with a serialized response of a download request.
215 | public struct DownloadResponse<Success, Failure: Error> {
| `- note: generic struct 'DownloadResponse' does not conform to the 'Sendable' protocol
216 | /// The URL request sent to the server.
217 | public let request: URLRequest?
/Users/admin/builder/spi-builder-workspace/Source/TRON/Combine.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Alamofire'
25 |
26 | import Foundation
27 | import Alamofire
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Alamofire'
28 |
29 | /// Error that is created in case `DownloadAPIRequest` errors out, but Alamofire and URL loading system report error as nil.
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:77:19: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
75 | public var result: Result<Model, ErrorModel> {
76 | get async {
77 | await withTaskCancellationHandler(handler: {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
78 | self.cancel()
79 | }, operation: {
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:78:17: warning: capture of 'self' with non-sendable type 'RequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
37 | /// Object, responsible for sending APIRequest or UploadAPIRequest when using Swift Concurrency.
38 | public final class RequestSender<Model, ErrorModel: ErrorSerializable> {
| `- note: generic class 'RequestSender' does not conform to the 'Sendable' protocol
39 |
40 | /// Whether request was explicitly cancelled
:
76 | get async {
77 | await withTaskCancellationHandler(handler: {
78 | self.cancel()
| `- warning: capture of 'self' with non-sendable type 'RequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | }, operation: {
80 | if isCancelled {
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:108:19: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
106 | public var response: AFDataResponse<Model> {
107 | get async {
108 | await withTaskCancellationHandler(handler: {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
109 | self.cancel()
110 | }, operation: {
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:109:17: warning: capture of 'self' with non-sendable type 'RequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
37 | /// Object, responsible for sending APIRequest or UploadAPIRequest when using Swift Concurrency.
38 | public final class RequestSender<Model, ErrorModel: ErrorSerializable> {
| `- note: generic class 'RequestSender' does not conform to the 'Sendable' protocol
39 |
40 | /// Whether request was explicitly cancelled
:
107 | get async {
108 | await withTaskCancellationHandler(handler: {
109 | self.cancel()
| `- warning: capture of 'self' with non-sendable type 'RequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 | }, operation: {
111 | await withCheckedContinuation { continuation in
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:177:19: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
175 | public var result: Result<Model, ErrorModel> {
176 | get async {
177 | await withTaskCancellationHandler(handler: {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
178 | self.cancel()
179 | }, operation: {
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:178:17: warning: capture of 'self' with non-sendable type 'DownloadRequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
135 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
136 | /// Object, responsible for sending DownloadAPIRequest when using Swift Concurrency.
137 | public final class DownloadRequestSender<Model, ErrorModel: DownloadErrorSerializable> {
| `- note: generic class 'DownloadRequestSender' does not conform to the 'Sendable' protocol
138 |
139 | /// Whether request was explicitly cancelled
:
176 | get async {
177 | await withTaskCancellationHandler(handler: {
178 | self.cancel()
| `- warning: capture of 'self' with non-sendable type 'DownloadRequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
179 | }, operation: {
180 | if isCancelled {
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:201:19: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
199 | public var response: AFDownloadResponse<Model> {
200 | get async {
201 | await withTaskCancellationHandler(handler: {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
202 | self.cancel()
203 | }, operation: {
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:202:17: warning: capture of 'self' with non-sendable type 'DownloadRequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
135 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
136 | /// Object, responsible for sending DownloadAPIRequest when using Swift Concurrency.
137 | public final class DownloadRequestSender<Model, ErrorModel: DownloadErrorSerializable> {
| `- note: generic class 'DownloadRequestSender' does not conform to the 'Sendable' protocol
138 |
139 | /// Whether request was explicitly cancelled
:
200 | get async {
201 | await withTaskCancellationHandler(handler: {
202 | self.cancel()
| `- warning: capture of 'self' with non-sendable type 'DownloadRequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
203 | }, operation: {
204 | await withCheckedContinuation { continuation in
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:55:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
53 | self.sendRequestWithAlamofireResponse = { continuation in
54 | request.performCollectingTimeline { response in
55 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
56 | }.uploadProgress(queue: .singleEventQueue) { [weak self] progress in
57 | self?.uploadProgressContinuation?.yield(progress)
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:69:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
67 | self.sendRequestWithAlamofireResponse = { continuation in
68 | request.performCollectingTimeline { response in
69 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:156:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
154 | sendRequestWithAlamofireResponse = { continuation in
155 | request.performCollectingTimeline { response in
156 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
157 | }.downloadProgress(queue: .singleEventQueue) { [weak self] progress in
158 | self?.downloadProgressContinuation?.yield(progress)
[218/224] Compiling TRON Concurrency.swift
/Users/admin/builder/spi-builder-workspace/Source/TRON/Combine.swift:34:16: warning: stored property 'response' of 'Sendable'-conforming generic struct 'DownloadError' has non-sendable type 'DownloadResponse<T, Failure>'; this is an error in the Swift 6 language mode
32 |
33 | /// Reported `DownloadResponse`
34 | public let response: DownloadResponse<T, Failure>
| `- warning: stored property 'response' of 'Sendable'-conforming generic struct 'DownloadError' has non-sendable type 'DownloadResponse<T, Failure>'; this is an error in the Swift 6 language mode
35 |
36 | /// Creates `DownloadError` for `DownloadAPIRequest`.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:215:15: note: generic struct 'DownloadResponse' does not conform to the 'Sendable' protocol
213 |
214 | /// Used to store all data associated with a serialized response of a download request.
215 | public struct DownloadResponse<Success, Failure: Error> {
| `- note: generic struct 'DownloadResponse' does not conform to the 'Sendable' protocol
216 | /// The URL request sent to the server.
217 | public let request: URLRequest?
/Users/admin/builder/spi-builder-workspace/Source/TRON/Combine.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Alamofire'
25 |
26 | import Foundation
27 | import Alamofire
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Alamofire'
28 |
29 | /// Error that is created in case `DownloadAPIRequest` errors out, but Alamofire and URL loading system report error as nil.
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:77:19: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
75 | public var result: Result<Model, ErrorModel> {
76 | get async {
77 | await withTaskCancellationHandler(handler: {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
78 | self.cancel()
79 | }, operation: {
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:78:17: warning: capture of 'self' with non-sendable type 'RequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
37 | /// Object, responsible for sending APIRequest or UploadAPIRequest when using Swift Concurrency.
38 | public final class RequestSender<Model, ErrorModel: ErrorSerializable> {
| `- note: generic class 'RequestSender' does not conform to the 'Sendable' protocol
39 |
40 | /// Whether request was explicitly cancelled
:
76 | get async {
77 | await withTaskCancellationHandler(handler: {
78 | self.cancel()
| `- warning: capture of 'self' with non-sendable type 'RequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
79 | }, operation: {
80 | if isCancelled {
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:108:19: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
106 | public var response: AFDataResponse<Model> {
107 | get async {
108 | await withTaskCancellationHandler(handler: {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
109 | self.cancel()
110 | }, operation: {
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:109:17: warning: capture of 'self' with non-sendable type 'RequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
36 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
37 | /// Object, responsible for sending APIRequest or UploadAPIRequest when using Swift Concurrency.
38 | public final class RequestSender<Model, ErrorModel: ErrorSerializable> {
| `- note: generic class 'RequestSender' does not conform to the 'Sendable' protocol
39 |
40 | /// Whether request was explicitly cancelled
:
107 | get async {
108 | await withTaskCancellationHandler(handler: {
109 | self.cancel()
| `- warning: capture of 'self' with non-sendable type 'RequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
110 | }, operation: {
111 | await withCheckedContinuation { continuation in
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:177:19: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
175 | public var result: Result<Model, ErrorModel> {
176 | get async {
177 | await withTaskCancellationHandler(handler: {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
178 | self.cancel()
179 | }, operation: {
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:178:17: warning: capture of 'self' with non-sendable type 'DownloadRequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
135 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
136 | /// Object, responsible for sending DownloadAPIRequest when using Swift Concurrency.
137 | public final class DownloadRequestSender<Model, ErrorModel: DownloadErrorSerializable> {
| `- note: generic class 'DownloadRequestSender' does not conform to the 'Sendable' protocol
138 |
139 | /// Whether request was explicitly cancelled
:
176 | get async {
177 | await withTaskCancellationHandler(handler: {
178 | self.cancel()
| `- warning: capture of 'self' with non-sendable type 'DownloadRequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
179 | }, operation: {
180 | if isCancelled {
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:201:19: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
199 | public var response: AFDownloadResponse<Model> {
200 | get async {
201 | await withTaskCancellationHandler(handler: {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
202 | self.cancel()
203 | }, operation: {
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:202:17: warning: capture of 'self' with non-sendable type 'DownloadRequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
135 | @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
136 | /// Object, responsible for sending DownloadAPIRequest when using Swift Concurrency.
137 | public final class DownloadRequestSender<Model, ErrorModel: DownloadErrorSerializable> {
| `- note: generic class 'DownloadRequestSender' does not conform to the 'Sendable' protocol
138 |
139 | /// Whether request was explicitly cancelled
:
200 | get async {
201 | await withTaskCancellationHandler(handler: {
202 | self.cancel()
| `- warning: capture of 'self' with non-sendable type 'DownloadRequestSender<Model, ErrorModel>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
203 | }, operation: {
204 | await withCheckedContinuation { continuation in
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:55:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
53 | self.sendRequestWithAlamofireResponse = { continuation in
54 | request.performCollectingTimeline { response in
55 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
56 | }.uploadProgress(queue: .singleEventQueue) { [weak self] progress in
57 | self?.uploadProgressContinuation?.yield(progress)
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:69:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
67 | self.sendRequestWithAlamofireResponse = { continuation in
68 | request.performCollectingTimeline { response in
69 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
70 | }
71 | }
/Users/admin/builder/spi-builder-workspace/Source/TRON/Concurrency.swift:156:30: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
154 | sendRequestWithAlamofireResponse = { continuation in
155 | request.performCollectingTimeline { response in
156 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
157 | }.downloadProgress(queue: .singleEventQueue) { [weak self] progress in
158 | self?.downloadProgressContinuation?.yield(progress)
[219/224] Compiling TRON APIError.swift
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIError.swift:40:12: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
38 |
39 | /// `APIError` is used as a generic wrapper for all kinds of API errors.
40 | open class APIError: LocalizedError, ErrorSerializable, DownloadErrorSerializable {
| `- warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
41 |
42 | /// URLRequest that was unsuccessful
[220/224] Compiling TRON APIRequest.swift
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIError.swift:40:12: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
38 |
39 | /// `APIError` is used as a generic wrapper for all kinds of API errors.
40 | open class APIError: LocalizedError, ErrorSerializable, DownloadErrorSerializable {
| `- warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
41 |
42 | /// URLRequest that was unsuccessful
[221/224] Emitting module TRON
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIError.swift:40:12: warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
38 |
39 | /// `APIError` is used as a generic wrapper for all kinds of API errors.
40 | open class APIError: LocalizedError, ErrorSerializable, DownloadErrorSerializable {
| `- warning: non-final class 'APIError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
41 |
42 | /// URLRequest that was unsuccessful
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:103:13: warning: var 'TRONAPIStubAssociatedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | private var TRONAPIStubAssociatedKey = "TRON APIStub Associated Key"
| |- warning: var 'TRONAPIStubAssociatedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'TRONAPIStubAssociatedKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'TRONAPIStubAssociatedKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | extension Request {
105 | var tron_apiStub: APIStub? {
/Users/admin/builder/spi-builder-workspace/Source/TRON/Combine.swift:34:16: warning: stored property 'response' of 'Sendable'-conforming generic struct 'DownloadError' has non-sendable type 'DownloadResponse<T, Failure>'; this is an error in the Swift 6 language mode
32 |
33 | /// Reported `DownloadResponse`
34 | public let response: DownloadResponse<T, Failure>
| `- warning: stored property 'response' of 'Sendable'-conforming generic struct 'DownloadError' has non-sendable type 'DownloadResponse<T, Failure>'; this is an error in the Swift 6 language mode
35 |
36 | /// Creates `DownloadError` for `DownloadAPIRequest`.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:215:15: note: generic struct 'DownloadResponse' does not conform to the 'Sendable' protocol
213 |
214 | /// Used to store all data associated with a serialized response of a download request.
215 | public struct DownloadResponse<Success, Failure: Error> {
| `- note: generic struct 'DownloadResponse' does not conform to the 'Sendable' protocol
216 | /// The URL request sent to the server.
217 | public let request: URLRequest?
/Users/admin/builder/spi-builder-workspace/Source/TRON/Combine.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Alamofire'
25 |
26 | import Foundation
27 | import Alamofire
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Alamofire'
28 |
29 | /// Error that is created in case `DownloadAPIRequest` errors out, but Alamofire and URL loading system report error as nil.
[222/224] Compiling TRON APIStub.swift
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:103:13: warning: var 'TRONAPIStubAssociatedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | private var TRONAPIStubAssociatedKey = "TRON APIStub Associated Key"
| |- warning: var 'TRONAPIStubAssociatedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'TRONAPIStubAssociatedKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'TRONAPIStubAssociatedKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | extension Request {
105 | var tron_apiStub: APIStub? {
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:58:21: warning: capture of 'completionHandler' with non-sendable type '(DataResponse<Serializer.SerializedObject, AFError>) -> Void' in a '@Sendable' closure
56 | result: result)
57 | queue.asyncAfter(deadline: .now() + stub.stubDelay) {
58 | completionHandler(response)
| |- warning: capture of 'completionHandler' with non-sendable type '(DataResponse<Serializer.SerializedObject, AFError>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
59 | }
60 | return self
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:58:39: warning: capture of 'response' with non-sendable type 'DataResponse<Serializer.SerializedObject, AFError>' in a '@Sendable' closure
56 | result: result)
57 | queue.asyncAfter(deadline: .now() + stub.stubDelay) {
58 | completionHandler(response)
| `- warning: capture of 'response' with non-sendable type 'DataResponse<Serializer.SerializedObject, AFError>' in a '@Sendable' closure
59 | }
60 | return self
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:33:15: note: generic struct 'DataResponse' does not conform to the 'Sendable' protocol
31 |
32 | /// Type used to store all values associated with a serialized response of a `DataRequest` or `UploadRequest`.
33 | public struct DataResponse<Success, Failure: Error> {
| `- note: generic struct 'DataResponse' does not conform to the 'Sendable' protocol
34 | /// The URL request sent to the server.
35 | public let request: URLRequest?
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Alamofire'
25 |
26 | import Foundation
27 | import Alamofire
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Alamofire'
28 |
29 | // This protocol is only needed to work around bogus warning message when casting Alamofire.Request below.
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:94:17: warning: capture of 'completionHandler' with non-sendable type '(DownloadResponse<Serializer.SerializedObject, AFError>) -> Void' in a '@Sendable' closure
92 | result: result)
93 | queue.asyncAfter(deadline: .now() + stub.stubDelay) {
94 | completionHandler(response)
| |- warning: capture of 'completionHandler' with non-sendable type '(DownloadResponse<Serializer.SerializedObject, AFError>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
95 | }
96 | return self
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:94:35: warning: capture of 'response' with non-sendable type 'DownloadResponse<Serializer.SerializedObject, AFError>' in a '@Sendable' closure
92 | result: result)
93 | queue.asyncAfter(deadline: .now() + stub.stubDelay) {
94 | completionHandler(response)
| `- warning: capture of 'response' with non-sendable type 'DownloadResponse<Serializer.SerializedObject, AFError>' in a '@Sendable' closure
95 | }
96 | return self
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:215:15: note: generic struct 'DownloadResponse' does not conform to the 'Sendable' protocol
213 |
214 | /// Used to store all data associated with a serialized response of a download request.
215 | public struct DownloadResponse<Success, Failure: Error> {
| `- note: generic struct 'DownloadResponse' does not conform to the 'Sendable' protocol
216 | /// The URL request sent to the server.
217 | public let request: URLRequest?
/Users/admin/builder/spi-builder-workspace/Source/TRON/BaseRequest.swift:111:17: warning: capture of 'success' with non-sendable type '((Model) -> Void)?' in a '@Sendable' closure
109 | case .success(let value):
110 | resultDeliveryQueue.async {
111 | success?(value)
| |- warning: capture of 'success' with non-sendable type '((Model) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
112 | }
113 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Source/TRON/BaseRequest.swift:111:26: warning: capture of 'value' with non-sendable type 'Model' in a '@Sendable' closure
38 |
39 | /// Base class, that contains common functionality, extracted from `APIRequest` and `MultipartAPIRequest`.
40 | open class BaseRequest<Model, ErrorModel> {
| `- note: consider making generic parameter 'Model' conform to the 'Sendable' protocol
41 |
42 | /// Serializes Data into Model
:
109 | case .success(let value):
110 | resultDeliveryQueue.async {
111 | success?(value)
| `- warning: capture of 'value' with non-sendable type 'Model' in a '@Sendable' closure
112 | }
113 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Source/TRON/BaseRequest.swift:118:17: warning: capture of 'failure' with non-sendable type '((ErrorModel) -> Void)?' in a '@Sendable' closure
116 | return
117 | }
118 | failure?(error)
| |- warning: capture of 'failure' with non-sendable type '((ErrorModel) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 | }
120 | }
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:107:51: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
105 | var tron_apiStub: APIStub? {
106 | get {
107 | return objc_getAssociatedObject(self, &TRONAPIStubAssociatedKey) as? APIStub
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
108 | }
109 | set {
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:111:48: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
109 | set {
110 | if let stub = newValue {
111 | objc_setAssociatedObject(self, &TRONAPIStubAssociatedKey, stub, objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
112 | }
113 | }
[223/224] Compiling TRON BaseRequest.swift
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:103:13: warning: var 'TRONAPIStubAssociatedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | private var TRONAPIStubAssociatedKey = "TRON APIStub Associated Key"
| |- warning: var 'TRONAPIStubAssociatedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'TRONAPIStubAssociatedKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'TRONAPIStubAssociatedKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | extension Request {
105 | var tron_apiStub: APIStub? {
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:58:21: warning: capture of 'completionHandler' with non-sendable type '(DataResponse<Serializer.SerializedObject, AFError>) -> Void' in a '@Sendable' closure
56 | result: result)
57 | queue.asyncAfter(deadline: .now() + stub.stubDelay) {
58 | completionHandler(response)
| |- warning: capture of 'completionHandler' with non-sendable type '(DataResponse<Serializer.SerializedObject, AFError>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
59 | }
60 | return self
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:58:39: warning: capture of 'response' with non-sendable type 'DataResponse<Serializer.SerializedObject, AFError>' in a '@Sendable' closure
56 | result: result)
57 | queue.asyncAfter(deadline: .now() + stub.stubDelay) {
58 | completionHandler(response)
| `- warning: capture of 'response' with non-sendable type 'DataResponse<Serializer.SerializedObject, AFError>' in a '@Sendable' closure
59 | }
60 | return self
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:33:15: note: generic struct 'DataResponse' does not conform to the 'Sendable' protocol
31 |
32 | /// Type used to store all values associated with a serialized response of a `DataRequest` or `UploadRequest`.
33 | public struct DataResponse<Success, Failure: Error> {
| `- note: generic struct 'DataResponse' does not conform to the 'Sendable' protocol
34 | /// The URL request sent to the server.
35 | public let request: URLRequest?
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Alamofire'
25 |
26 | import Foundation
27 | import Alamofire
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Alamofire'
28 |
29 | // This protocol is only needed to work around bogus warning message when casting Alamofire.Request below.
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:94:17: warning: capture of 'completionHandler' with non-sendable type '(DownloadResponse<Serializer.SerializedObject, AFError>) -> Void' in a '@Sendable' closure
92 | result: result)
93 | queue.asyncAfter(deadline: .now() + stub.stubDelay) {
94 | completionHandler(response)
| |- warning: capture of 'completionHandler' with non-sendable type '(DownloadResponse<Serializer.SerializedObject, AFError>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
95 | }
96 | return self
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:94:35: warning: capture of 'response' with non-sendable type 'DownloadResponse<Serializer.SerializedObject, AFError>' in a '@Sendable' closure
92 | result: result)
93 | queue.asyncAfter(deadline: .now() + stub.stubDelay) {
94 | completionHandler(response)
| `- warning: capture of 'response' with non-sendable type 'DownloadResponse<Serializer.SerializedObject, AFError>' in a '@Sendable' closure
95 | }
96 | return self
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:215:15: note: generic struct 'DownloadResponse' does not conform to the 'Sendable' protocol
213 |
214 | /// Used to store all data associated with a serialized response of a download request.
215 | public struct DownloadResponse<Success, Failure: Error> {
| `- note: generic struct 'DownloadResponse' does not conform to the 'Sendable' protocol
216 | /// The URL request sent to the server.
217 | public let request: URLRequest?
/Users/admin/builder/spi-builder-workspace/Source/TRON/BaseRequest.swift:111:17: warning: capture of 'success' with non-sendable type '((Model) -> Void)?' in a '@Sendable' closure
109 | case .success(let value):
110 | resultDeliveryQueue.async {
111 | success?(value)
| |- warning: capture of 'success' with non-sendable type '((Model) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
112 | }
113 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Source/TRON/BaseRequest.swift:111:26: warning: capture of 'value' with non-sendable type 'Model' in a '@Sendable' closure
38 |
39 | /// Base class, that contains common functionality, extracted from `APIRequest` and `MultipartAPIRequest`.
40 | open class BaseRequest<Model, ErrorModel> {
| `- note: consider making generic parameter 'Model' conform to the 'Sendable' protocol
41 |
42 | /// Serializes Data into Model
:
109 | case .success(let value):
110 | resultDeliveryQueue.async {
111 | success?(value)
| `- warning: capture of 'value' with non-sendable type 'Model' in a '@Sendable' closure
112 | }
113 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Source/TRON/BaseRequest.swift:118:17: warning: capture of 'failure' with non-sendable type '((ErrorModel) -> Void)?' in a '@Sendable' closure
116 | return
117 | }
118 | failure?(error)
| |- warning: capture of 'failure' with non-sendable type '((ErrorModel) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 | }
120 | }
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:107:51: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
105 | var tron_apiStub: APIStub? {
106 | get {
107 | return objc_getAssociatedObject(self, &TRONAPIStubAssociatedKey) as? APIStub
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
108 | }
109 | set {
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:111:48: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
109 | set {
110 | if let stub = newValue {
111 | objc_setAssociatedObject(self, &TRONAPIStubAssociatedKey, stub, objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
112 | }
113 | }
[224/224] Compiling TRON UploadAPIRequest.swift
[225/228] Emitting module RxTRON
[226/228] Compiling RxTRON Tron+RxSwift.swift
[227/228] Emitting module TRONSwiftyJSON
[228/228] Compiling TRONSwiftyJSON SwiftyJSONDecodable.swift
Build complete! (11.34s)
Build complete.
{
"dependencies" : [
{
"identity" : "alamofire",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alamofire/Alamofire.git"
},
{
"identity" : "swiftyjson",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftyJSON/SwiftyJSON.git"
},
{
"identity" : "rxswift",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ReactiveX/RxSwift.git"
}
],
"manifest_display_name" : "TRON",
"name" : "TRON",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "TRON",
"targets" : [
"TRON"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TRONSwiftyJSON",
"targets" : [
"TRONSwiftyJSON"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RxTRON",
"targets" : [
"RxTRON"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TRONSwiftyJSON",
"module_type" : "SwiftTarget",
"name" : "TRONSwiftyJSON",
"path" : "Source/TRONSwiftyJSON",
"product_dependencies" : [
"SwiftyJSON"
],
"product_memberships" : [
"TRONSwiftyJSON"
],
"sources" : [
"SwiftyJSONDecodable.swift"
],
"target_dependencies" : [
"TRON"
],
"type" : "library"
},
{
"c99name" : "TRON",
"module_type" : "SwiftTarget",
"name" : "TRON",
"path" : "Source/TRON",
"product_dependencies" : [
"Alamofire"
],
"product_memberships" : [
"TRON",
"TRONSwiftyJSON",
"RxTRON"
],
"sources" : [
"APIError.swift",
"APIRequest.swift",
"APIStub.swift",
"BaseRequest.swift",
"Combine.swift",
"Concurrency.swift",
"DownloadAPIRequest.swift",
"Exports.swift",
"NetworkActivityPlugin.swift",
"NetworkLoggerPlugin.swift",
"Plugin.swift",
"Serialization.swift",
"TRON.swift",
"TRONCodable.swift",
"URLBuilder.swift",
"UploadAPIRequest.swift"
],
"type" : "library"
},
{
"c99name" : "RxTRON",
"module_type" : "SwiftTarget",
"name" : "RxTRON",
"path" : "Source/RxTRON",
"product_dependencies" : [
"RxSwift"
],
"product_memberships" : [
"RxTRON"
],
"sources" : [
"Tron+RxSwift.swift"
],
"target_dependencies" : [
"TRON"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.