Build Information
Successful build of TRON, reference 5.4.1 (db1529
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 21:59:37 UTC.
Swift 6 data race errors: 13
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MLSDev/TRON.git
Reference: 5.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MLSDev/TRON
* tag 5.4.1 -> FETCH_HEAD
HEAD is now at db1529b Releasing version 5.4.1.
Cloned https://github.com/MLSDev/TRON.git
Revision (git rev-parse @):
db1529beba9a89461536f40686d7c8b7ccace876
SUCCESS checkout https://github.com/MLSDev/TRON.git at 5.4.1
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
[1/6124] Fetching swiftyjson
[1165/36141] Fetching swiftyjson, alamofire
[1840/88534] Fetching swiftyjson, alamofire, rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (25.65s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (25.65s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (25.65s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (0.59s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.8.0 (0.44s)
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/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.8.0
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 5.0.2
========================================
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.8.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 (2.25s)
Fetching https://github.com/ReactiveX/RxSwift.git from cache
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git from cache
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/ReactiveX/RxSwift.git from cache (0.69s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (0.69s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.69s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (0.02s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.8.0 (0.03s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.03s)
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/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.8.0
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 5.4.1 (db1529b)
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.0
Building package at path: $PWD
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" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "watchos",
"version" : "3.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",
"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.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/10] Write sources
[5/10] Copying PrivacyInfo.xcprivacy
[5/10] Write sources
[5/10] Copying PrivacyInfo.xcprivacy
[9/10] Write swift-version--7754E27361AE5C74.txt
[11/201] Emitting module Alamofire
[12/205] Emitting module SwiftyJSON
[13/205] Compiling SwiftyJSON resource_bundle_accessor.swift
[14/205] Compiling SwiftyJSON SwiftyJSON.swift
[15/205] Compiling RxSwift Sink.swift
[16/205] Compiling RxSwift Skip.swift
[17/205] Compiling RxSwift SkipUntil.swift
[18/205] Compiling RxSwift SkipWhile.swift
[19/205] Compiling RxSwift StartWith.swift
[20/205] Compiling RxSwift SubjectType.swift
[21/205] Compiling RxSwift SubscribeOn.swift
[22/205] Compiling RxSwift SubscriptionDisposable.swift
[23/205] Compiling RxSwift SwiftSupport.swift
[24/205] Compiling RxSwift Switch.swift
[25/205] Compiling RxSwift SwitchIfEmpty.swift
[26/205] Compiling RxSwift SynchronizedDisposeType.swift
[27/205] Compiling RxSwift SynchronizedOnType.swift
[28/205] Compiling RxSwift SynchronizedUnsubscribeType.swift
[29/205] Compiling RxSwift TailRecursiveSink.swift
[30/205] Compiling RxSwift Take.swift
[31/221] Compiling RxSwift Debug.swift
[32/221] Compiling RxSwift Decode.swift
[33/221] Compiling RxSwift DefaultIfEmpty.swift
[34/221] Compiling RxSwift Deferred.swift
[35/221] Compiling RxSwift Delay.swift
[36/221] Compiling RxSwift Create.swift
[37/221] Compiling RxSwift CurrentThreadScheduler.swift
[38/221] Compiling RxSwift Date+Dispatch.swift
[39/221] Compiling RxSwift Debounce.swift
[40/221] Compiling RxSwift AtomicInt.swift
[41/221] Compiling RxSwift Bag+Rx.swift
[42/221] Compiling RxSwift Bag.swift
[43/221] Compiling RxSwift BehaviorSubject.swift
[44/221] Compiling RxSwift BinaryDisposable.swift
[45/221] Compiling RxSwift Binder.swift
[46/221] Compiling RxSwift BooleanDisposable.swift
[47/221] Compiling RxSwift Buffer.swift
[48/221] Emitting module RxSwift
[49/221] Compiling RxSwift AddRef.swift
[50/221] Compiling RxSwift Amb.swift
[51/221] Compiling RxSwift AnonymousDisposable.swift
[52/221] Compiling RxSwift AnonymousObserver.swift
[53/221] Compiling RxSwift AnyObserver.swift
[54/221] Compiling RxSwift AsMaybe.swift
[55/221] Compiling RxSwift AsSingle.swift
[56/221] Compiling RxSwift AsyncLock.swift
[57/221] Compiling RxSwift AsyncSubject.swift
[66/221] Compiling RxSwift Cancelable.swift
[67/221] Compiling RxSwift Catch.swift
[68/221] Compiling RxSwift CombineLatest+Collection.swift
[69/221] Compiling RxSwift CombineLatest+arity.swift
[70/221] Compiling RxSwift CombineLatest.swift
[71/221] Compiling RxSwift CompactMap.swift
[72/221] Compiling RxSwift Completable+AndThen.swift
[73/221] Compiling RxSwift Completable.swift
[74/221] Compiling RxSwift CompositeDisposable.swift
[75/221] Compiling RxSwift Concat.swift
[76/221] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[77/221] Compiling RxSwift ConcurrentMainScheduler.swift
[78/221] Compiling RxSwift ConnectableObservableType.swift
[88/221] Compiling Alamofire ServerTrustEvaluation.swift
[89/221] Compiling Alamofire URLEncodedFormEncoder.swift
[90/221] Compiling Alamofire Validation.swift
[91/221] Compiling Alamofire resource_bundle_accessor.swift
[92/221] Compiling RxSwift Disposable.swift
[93/221] Compiling RxSwift Disposables.swift
[94/221] Compiling RxSwift DisposeBag.swift
[95/221] Compiling RxSwift DisposeBase.swift
[96/221] Compiling RxSwift DistinctUntilChanged.swift
[97/221] Compiling RxSwift Do.swift
[98/221] Compiling RxSwift ElementAt.swift
[99/221] Compiling RxSwift Empty.swift
[104/221] Compiling RxSwift Rx.swift
[105/221] Compiling RxSwift RxMutableBox.swift
[106/221] Compiling RxSwift Sample.swift
[107/221] Compiling RxSwift Scan.swift
[108/221] Compiling RxSwift ScheduledDisposable.swift
[109/221] Compiling RxSwift ScheduledItem.swift
[110/221] Compiling RxSwift ScheduledItemType.swift
[111/221] Compiling RxSwift SchedulerServices+Emulation.swift
[112/221] Compiling RxSwift SchedulerType.swift
[113/221] Compiling RxSwift Sequence.swift
[114/221] Compiling RxSwift SerialDispatchQueueScheduler.swift
[115/221] Compiling RxSwift SerialDisposable.swift
[116/221] Compiling RxSwift ShareReplayScope.swift
[117/221] Compiling RxSwift Single.swift
[118/221] Compiling RxSwift SingleAssignmentDisposable.swift
[119/221] Compiling RxSwift SingleAsync.swift
[120/221] Compiling RxSwift Enumerated.swift
[121/221] Compiling RxSwift Error.swift
[122/221] Compiling RxSwift Errors.swift
[123/221] Compiling RxSwift Event.swift
[124/221] Compiling RxSwift Filter.swift
[125/221] Compiling RxSwift First.swift
[126/221] Compiling RxSwift Generate.swift
[127/221] Compiling RxSwift GroupBy.swift
[128/221] Compiling RxSwift GroupedObservable.swift
[129/221] Compiling RxSwift HistoricalScheduler.swift
[130/221] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[131/221] Compiling RxSwift ImmediateSchedulerType.swift
[132/221] Compiling RxSwift Infallible+CombineLatest+Collection.swift
[133/221] Compiling RxSwift Infallible+CombineLatest+arity.swift
[134/221] Compiling RxSwift Infallible+Concurrency.swift
[135/221] Compiling RxSwift Infallible+Create.swift
[136/221] Compiling RxSwift Infallible+Debug.swift
[137/221] Compiling RxSwift Infallible+Operators.swift
[138/221] Compiling RxSwift Infallible+Zip+arity.swift
[139/221] Compiling RxSwift Infallible.swift
[140/221] Compiling RxSwift InfiniteSequence.swift
[141/221] Compiling RxSwift InvocableScheduledItem.swift
[142/221] Compiling RxSwift InvocableType.swift
[143/221] Compiling RxSwift Just.swift
[144/221] Compiling RxSwift Lock.swift
[145/221] Compiling RxSwift LockOwnerType.swift
[146/221] Compiling RxSwift MainScheduler.swift
[147/221] Compiling RxSwift Map.swift
[148/221] Compiling RxSwift Materialize.swift
[149/221] Compiling RxSwift Maybe.swift
[150/221] Compiling RxSwift Merge.swift
[151/221] Compiling RxSwift Multicast.swift
[165/221] Compiling RxSwift Never.swift
[166/221] Compiling RxSwift NopDisposable.swift
[167/221] Compiling RxSwift Observable+Concurrency.swift
[168/221] Compiling RxSwift Observable.swift
[169/221] Compiling RxSwift ObservableConvertibleType+Infallible.swift
[170/221] Compiling RxSwift ObservableConvertibleType.swift
[171/221] Compiling RxSwift ObservableType+Extensions.swift
[172/221] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[173/221] Compiling RxSwift ObservableType.swift
[174/221] Compiling RxSwift ObserveOn.swift
[175/221] Compiling RxSwift ObserverBase.swift
[176/221] Compiling RxSwift ObserverType.swift
[177/221] Compiling RxSwift OperationQueueScheduler.swift
[178/221] Compiling RxSwift Optional.swift
[179/221] Compiling RxSwift Platform.Darwin.swift
[180/221] Compiling RxSwift Platform.Linux.swift
[181/221] Compiling RxSwift PrimitiveSequence+Concurrency.swift
[182/221] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[183/221] Compiling RxSwift PrimitiveSequence.swift
[184/221] Compiling RxSwift PriorityQueue.swift
[185/221] Compiling RxSwift Producer.swift
[186/221] Compiling RxSwift PublishSubject.swift
[187/221] Compiling RxSwift Queue.swift
[188/221] Compiling RxSwift Range.swift
[189/221] Compiling RxSwift Reactive.swift
[190/221] Compiling RxSwift RecursiveLock.swift
[191/221] Compiling RxSwift RecursiveScheduler.swift
[192/221] Compiling RxSwift Reduce.swift
[193/221] Compiling RxSwift RefCountDisposable.swift
[194/221] Compiling RxSwift Repeat.swift
[195/221] Compiling RxSwift ReplaySubject.swift
[196/221] Compiling RxSwift RetryWhen.swift
[206/236] Compiling TRON Serialization.swift
/Users/admin/builder/spi-builder-workspace/Source/TRON/Serialization.swift:33:16: warning: stored property 'closure' of 'Sendable'-conforming generic struct 'TRONDataResponseSerializer' has non-sendable type '(URLRequest?, HTTPURLResponse?, Data?, (any Error)?) throws -> Model'; this is an error in the Swift 6 language mode
31 |
32 | /// Serialization closure to execute
33 | public let closure: ((URLRequest?, HTTPURLResponse?, Data?, Error?) throws -> Model)
| |- warning: stored property 'closure' of 'Sendable'-conforming generic struct 'TRONDataResponseSerializer' has non-sendable type '(URLRequest?, HTTPURLResponse?, Data?, (any Error)?) throws -> Model'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 |
35 | /// Creates response serializer from passed serialization closure
/Users/admin/builder/spi-builder-workspace/Source/TRON/Serialization.swift:30:15: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 |
29 | /// Response serializer, that wraps serialization closure to implement `Alamofire.DataResponseSerializerProtocol`. Is used for `APIRequest` and `UploadAPIRequest`.
30 | public struct TRONDataResponseSerializer<Model>: DataResponseSerializerProtocol {
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |
32 | /// Serialization closure to execute
/Users/admin/builder/spi-builder-workspace/Source/TRON/Serialization.swift:60:16: warning: stored property 'closure' of 'Sendable'-conforming generic struct 'TRONDownloadResponseSerializer' has non-sendable type '(URLRequest?, HTTPURLResponse?, URL?, (any Error)?) throws -> Model'; this is an error in the Swift 6 language mode
58 |
59 | /// Serialization closure to execute
60 | public let closure: ((URLRequest?, HTTPURLResponse?, URL?, Error?) throws -> Model)
| |- warning: stored property 'closure' of 'Sendable'-conforming generic struct 'TRONDownloadResponseSerializer' has non-sendable type '(URLRequest?, HTTPURLResponse?, URL?, (any Error)?) throws -> Model'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 |
62 | /// Creates response serializer from passed serialization closure
/Users/admin/builder/spi-builder-workspace/Source/TRON/Serialization.swift:57:15: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | /// Response serializer, that wraps serialization closure to implement `Alamofire.DownloadResponseSerializerProtocol`. Is used for `DownloadAPIRequest`.
57 | public struct TRONDownloadResponseSerializer<Model>: DownloadResponseSerializerProtocol {
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 |
59 | /// Serialization closure to execute
[207/237] Compiling TRON URLBuilder.swift
[208/237] Compiling TRON TRONCodable.swift
/Users/admin/builder/spi-builder-workspace/Source/TRON/TRONCodable.swift:30:12: warning: non-final class 'CodableParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
28 |
29 | /// `CodableParser` is a wrapper around `modelDecoder` and `errorDecoder` JSONDecoders to be used when decoding JSON response.
30 | open class CodableParser<Model: Decodable>: DataResponseSerializerProtocol {
| `- warning: non-final class 'CodableParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |
32 | /// Decoder used for decoding model object
/Users/admin/builder/spi-builder-workspace/Source/TRON/TRONCodable.swift:30:12: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 |
29 | /// `CodableParser` is a wrapper around `modelDecoder` and `errorDecoder` JSONDecoders to be used when decoding JSON response.
30 | open class CodableParser<Model: Decodable>: DataResponseSerializerProtocol {
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |
32 | /// Decoder used for decoding model object
/Users/admin/builder/spi-builder-workspace/Source/TRON/TRONCodable.swift:140:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
138 | extension TRON {
139 | /// Creates `CodableSerializer` with current `TRON` instance and specific `modelDecoder`.
140 | open func codable(modelDecoder: JSONDecoder) -> CodableSerializer {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
141 | return CodableSerializer(self, modelDecoder: modelDecoder)
142 | }
[209/237] Compiling TRON TRON.swift
[210/237] Compiling TRON NetworkLoggerPlugin.swift
[211/237] Compiling TRON Plugin.swift
[212/237] Compiling TRON UploadAPIRequest.swift
[213/237] Compiling TRON Exports.swift
[214/237] Compiling TRON NetworkActivityPlugin.swift
[215/237] Compiling TRON Combine.swift
/Users/admin/builder/spi-builder-workspace/Source/TRON/Combine.swift:34:16: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 | /// Error that is created in case `DownloadAPIRequest` errors out, but Alamofire and URL loading system report error as nil.
30 | /// Practically, this should never happen ¯\_(ツ)_/¯ .
31 | public struct DownloadError<T, Failure: Error>: Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
32 |
33 | /// Reported `DownloadResponse`
34 | public let response: DownloadResponse<T, Failure>
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
35 |
36 | /// Creates `DownloadError` for `DownloadAPIRequest`.
/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
29 | /// Error that is created in case `DownloadAPIRequest` errors out, but Alamofire and URL loading system report error as nil.
30 | /// Practically, this should never happen ¯\_(ツ)_/¯ .
31 | public struct DownloadError<T, Failure: Error>: Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
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/Source/TRON/DownloadAPIRequest.swift:88:49: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | return session.download(urlBuilder.url(forPath: path),
87 | method: method,
88 | parameters: parameters,
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | encoding: parameterEncoding,
90 | headers: headers,
/Users/admin/builder/spi-builder-workspace/Source/TRON/DownloadAPIRequest.swift:114:29: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
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
:
112 | open func perform(withSuccess successBlock: ((Model) -> Void)? = nil, failure failureBlock: ((ErrorModel) -> Void)? = nil) -> DownloadRequest {
113 | self.performCollectingTimeline { [weak self] response in
114 | switch response.result {
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 | case .success(let model):
116 | self?.resultDeliveryQueue.async {
/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Source/TRON/DownloadAPIRequest.swift:196:20: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
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
:
194 | internal func didReceiveDownloadResponse(_ response: DownloadResponse<Model, AFError>, forRequest request: Alamofire.DownloadRequest) {
195 | allPlugins.forEach { plugin in
196 | plugin.didReceiveDownloadResponse(response, forRequest: request, formedFrom: self)
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
197 | }
198 | }
[216/237] Compiling TRON DownloadAPIRequest.swift
/Users/admin/builder/spi-builder-workspace/Source/TRON/Combine.swift:34:16: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 | /// Error that is created in case `DownloadAPIRequest` errors out, but Alamofire and URL loading system report error as nil.
30 | /// Practically, this should never happen ¯\_(ツ)_/¯ .
31 | public struct DownloadError<T, Failure: Error>: Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
32 |
33 | /// Reported `DownloadResponse`
34 | public let response: DownloadResponse<T, Failure>
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
35 |
36 | /// Creates `DownloadError` for `DownloadAPIRequest`.
/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
29 | /// Error that is created in case `DownloadAPIRequest` errors out, but Alamofire and URL loading system report error as nil.
30 | /// Practically, this should never happen ¯\_(ツ)_/¯ .
31 | public struct DownloadError<T, Failure: Error>: Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
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/Source/TRON/DownloadAPIRequest.swift:88:49: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | return session.download(urlBuilder.url(forPath: path),
87 | method: method,
88 | parameters: parameters,
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | encoding: parameterEncoding,
90 | headers: headers,
/Users/admin/builder/spi-builder-workspace/Source/TRON/DownloadAPIRequest.swift:114:29: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
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
:
112 | open func perform(withSuccess successBlock: ((Model) -> Void)? = nil, failure failureBlock: ((ErrorModel) -> Void)? = nil) -> DownloadRequest {
113 | self.performCollectingTimeline { [weak self] response in
114 | switch response.result {
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 | case .success(let model):
116 | self?.resultDeliveryQueue.async {
/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Source/TRON/DownloadAPIRequest.swift:196:20: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
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
:
194 | internal func didReceiveDownloadResponse(_ response: DownloadResponse<Model, AFError>, forRequest request: Alamofire.DownloadRequest) {
195 | allPlugins.forEach { plugin in
196 | plugin.didReceiveDownloadResponse(response, forRequest: request, formedFrom: self)
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
197 | }
198 | }
[217/237] 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: annotate 'TRONAPIStubAssociatedKey' with '@MainActor' if property should only be accessed from the main actor
| `- 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: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 | /// Error that is created in case `DownloadAPIRequest` errors out, but Alamofire and URL loading system report error as nil.
30 | /// Practically, this should never happen ¯\_(ツ)_/¯ .
31 | public struct DownloadError<T, Failure: Error>: Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
32 |
33 | /// Reported `DownloadResponse`
34 | public let response: DownloadResponse<T, Failure>
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
35 |
36 | /// Creates `DownloadError` for `DownloadAPIRequest`.
/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
29 | /// Error that is created in case `DownloadAPIRequest` errors out, but Alamofire and URL loading system report error as nil.
30 | /// Practically, this should never happen ¯\_(ツ)_/¯ .
31 | public struct DownloadError<T, Failure: Error>: Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
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/Source/TRON/Serialization.swift:33:16: warning: stored property 'closure' of 'Sendable'-conforming generic struct 'TRONDataResponseSerializer' has non-sendable type '(URLRequest?, HTTPURLResponse?, Data?, (any Error)?) throws -> Model'; this is an error in the Swift 6 language mode
31 |
32 | /// Serialization closure to execute
33 | public let closure: ((URLRequest?, HTTPURLResponse?, Data?, Error?) throws -> Model)
| |- warning: stored property 'closure' of 'Sendable'-conforming generic struct 'TRONDataResponseSerializer' has non-sendable type '(URLRequest?, HTTPURLResponse?, Data?, (any Error)?) throws -> Model'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 |
35 | /// Creates response serializer from passed serialization closure
/Users/admin/builder/spi-builder-workspace/Source/TRON/Serialization.swift:30:15: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 |
29 | /// Response serializer, that wraps serialization closure to implement `Alamofire.DataResponseSerializerProtocol`. Is used for `APIRequest` and `UploadAPIRequest`.
30 | public struct TRONDataResponseSerializer<Model>: DataResponseSerializerProtocol {
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |
32 | /// Serialization closure to execute
/Users/admin/builder/spi-builder-workspace/Source/TRON/Serialization.swift:60:16: warning: stored property 'closure' of 'Sendable'-conforming generic struct 'TRONDownloadResponseSerializer' has non-sendable type '(URLRequest?, HTTPURLResponse?, URL?, (any Error)?) throws -> Model'; this is an error in the Swift 6 language mode
58 |
59 | /// Serialization closure to execute
60 | public let closure: ((URLRequest?, HTTPURLResponse?, URL?, Error?) throws -> Model)
| |- warning: stored property 'closure' of 'Sendable'-conforming generic struct 'TRONDownloadResponseSerializer' has non-sendable type '(URLRequest?, HTTPURLResponse?, URL?, (any Error)?) throws -> Model'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
61 |
62 | /// Creates response serializer from passed serialization closure
/Users/admin/builder/spi-builder-workspace/Source/TRON/Serialization.swift:57:15: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
55 |
56 | /// Response serializer, that wraps serialization closure to implement `Alamofire.DownloadResponseSerializerProtocol`. Is used for `DownloadAPIRequest`.
57 | public struct TRONDownloadResponseSerializer<Model>: DownloadResponseSerializerProtocol {
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
58 |
59 | /// Serialization closure to execute
/Users/admin/builder/spi-builder-workspace/Source/TRON/TRONCodable.swift:30:12: warning: non-final class 'CodableParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
28 |
29 | /// `CodableParser` is a wrapper around `modelDecoder` and `errorDecoder` JSONDecoders to be used when decoding JSON response.
30 | open class CodableParser<Model: Decodable>: DataResponseSerializerProtocol {
| `- warning: non-final class 'CodableParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
31 |
32 | /// Decoder used for decoding model object
/Users/admin/builder/spi-builder-workspace/Source/TRON/TRONCodable.swift:30:12: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 |
29 | /// `CodableParser` is a wrapper around `modelDecoder` and `errorDecoder` JSONDecoders to be used when decoding JSON response.
30 | open class CodableParser<Model: Decodable>: DataResponseSerializerProtocol {
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 |
32 | /// Decoder used for decoding model object
/Users/admin/builder/spi-builder-workspace/Source/TRON/TRONCodable.swift:140:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
138 | extension TRON {
139 | /// Creates `CodableSerializer` with current `TRON` instance and specific `modelDecoder`.
140 | open func codable(modelDecoder: JSONDecoder) -> CodableSerializer {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
141 | return CodableSerializer(self, modelDecoder: modelDecoder)
142 | }
[218/237] 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
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIRequest.swift:66:44: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
64 | override func alamofireRequest(from session: Session) -> Request {
65 | return session.request(urlBuilder.url(forPath: path), method: method,
66 | parameters: parameters,
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
67 | encoding: parameterEncoding,
68 | headers: headers,
[219/237] 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
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIRequest.swift:66:44: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
64 | override func alamofireRequest(from session: Session) -> Request {
65 | return session.request(urlBuilder.url(forPath: path), method: method,
66 | parameters: parameters,
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
67 | encoding: parameterEncoding,
68 | headers: headers,
[220/237] 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: annotate 'TRONAPIStubAssociatedKey' with '@MainActor' if property should only be accessed from the main actor
| `- 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:63:120: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
39 | func performResponseSerialization<Serializer>(queue: DispatchQueue,
40 | responseSerializer: Serializer,
41 | completionHandler: @escaping (DataResponse<Serializer.SerializedObject, AFError>) -> Void) -> Self
| `- note: parameter 'completionHandler' is implicitly non-sendable
42 | where Serializer: DataResponseSerializerProtocol {
43 | if let stubbedRequest = self as? DataRequest, let stub = stubbedRequest.tron_apiStub, stub.isEnabled {
:
61 | } else if let uploadRequest = self as? UploadRequest {
62 | // swiftlint:disable:next force_cast
63 | return uploadRequest.response(queue: queue, responseSerializer: responseSerializer, completionHandler: completionHandler) as! Self
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
64 | } else if let dataRequest = self as? DataRequest {
65 | // swiftlint:disable:next force_cast
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:66:118: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
39 | func performResponseSerialization<Serializer>(queue: DispatchQueue,
40 | responseSerializer: Serializer,
41 | completionHandler: @escaping (DataResponse<Serializer.SerializedObject, AFError>) -> Void) -> Self
| `- note: parameter 'completionHandler' is implicitly non-sendable
42 | where Serializer: DataResponseSerializerProtocol {
43 | if let stubbedRequest = self as? DataRequest, let stub = stubbedRequest.tron_apiStub, stub.isEnabled {
:
64 | } else if let dataRequest = self as? DataRequest {
65 | // swiftlint:disable:next force_cast
66 | return dataRequest.response(queue: queue, responseSerializer: responseSerializer, completionHandler: completionHandler) as! Self
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
67 | } else {
68 | fatalError("\(type(of: self)) is not supported")
/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- 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:98:102: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
74 | func performResponseSerialization<Serializer>(queue: DispatchQueue,
75 | responseSerializer: Serializer,
76 | completionHandler: @escaping (DownloadResponse<Serializer.SerializedObject, AFError>) -> Void) -> Self
| `- note: parameter 'completionHandler' is implicitly non-sendable
77 | where Serializer: DownloadResponseSerializerProtocol {
78 | if let stub = tron_apiStub, stub.isEnabled {
:
96 | return self
97 | } else {
98 | return response(queue: queue, responseSerializer: responseSerializer, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
99 | }
100 | }
/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
95 | }
96 | return self
/Users/admin/builder/spi-builder-workspace/Source/TRON/BaseRequest.swift:108:25: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
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
:
106 | failure: ((ErrorModel) -> Void)?,
107 | response: Alamofire.DataResponse<Model, AFError>) {
108 | switch response.result {
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
109 | case .success(let value):
110 | resultDeliveryQueue.async {
/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
116 | return
117 | }
118 | failure?(error)
| |- warning: capture of 'failure' with non-sendable type '((ErrorModel) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 | }
120 | }
/Users/admin/builder/spi-builder-workspace/Source/TRON/BaseRequest.swift:155:20: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
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
:
153 | internal func didReceiveDataResponse(_ response: DataResponse<Model, AFError>, forRequest request: Alamofire.Request) {
154 | allPlugins.forEach { plugin in
155 | plugin.didReceiveDataResponse(response, forRequest: request, formedFrom: self)
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
156 | }
157 | }
/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 | }
[221/237] 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: annotate 'TRONAPIStubAssociatedKey' with '@MainActor' if property should only be accessed from the main actor
| `- 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:63:120: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
39 | func performResponseSerialization<Serializer>(queue: DispatchQueue,
40 | responseSerializer: Serializer,
41 | completionHandler: @escaping (DataResponse<Serializer.SerializedObject, AFError>) -> Void) -> Self
| `- note: parameter 'completionHandler' is implicitly non-sendable
42 | where Serializer: DataResponseSerializerProtocol {
43 | if let stubbedRequest = self as? DataRequest, let stub = stubbedRequest.tron_apiStub, stub.isEnabled {
:
61 | } else if let uploadRequest = self as? UploadRequest {
62 | // swiftlint:disable:next force_cast
63 | return uploadRequest.response(queue: queue, responseSerializer: responseSerializer, completionHandler: completionHandler) as! Self
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
64 | } else if let dataRequest = self as? DataRequest {
65 | // swiftlint:disable:next force_cast
/Users/admin/builder/spi-builder-workspace/Source/TRON/APIStub.swift:66:118: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
39 | func performResponseSerialization<Serializer>(queue: DispatchQueue,
40 | responseSerializer: Serializer,
41 | completionHandler: @escaping (DataResponse<Serializer.SerializedObject, AFError>) -> Void) -> Self
| `- note: parameter 'completionHandler' is implicitly non-sendable
42 | where Serializer: DataResponseSerializerProtocol {
43 | if let stubbedRequest = self as? DataRequest, let stub = stubbedRequest.tron_apiStub, stub.isEnabled {
:
64 | } else if let dataRequest = self as? DataRequest {
65 | // swiftlint:disable:next force_cast
66 | return dataRequest.response(queue: queue, responseSerializer: responseSerializer, completionHandler: completionHandler) as! Self
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
67 | } else {
68 | fatalError("\(type(of: self)) is not supported")
/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- 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:98:102: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
74 | func performResponseSerialization<Serializer>(queue: DispatchQueue,
75 | responseSerializer: Serializer,
76 | completionHandler: @escaping (DownloadResponse<Serializer.SerializedObject, AFError>) -> Void) -> Self
| `- note: parameter 'completionHandler' is implicitly non-sendable
77 | where Serializer: DownloadResponseSerializerProtocol {
78 | if let stub = tron_apiStub, stub.isEnabled {
:
96 | return self
97 | } else {
98 | return response(queue: queue, responseSerializer: responseSerializer, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
99 | }
100 | }
/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
95 | }
96 | return self
/Users/admin/builder/spi-builder-workspace/Source/TRON/BaseRequest.swift:108:25: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
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
:
106 | failure: ((ErrorModel) -> Void)?,
107 | response: Alamofire.DataResponse<Model, AFError>) {
108 | switch response.result {
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
109 | case .success(let value):
110 | resultDeliveryQueue.async {
/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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
| `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
116 | return
117 | }
118 | failure?(error)
| |- warning: capture of 'failure' with non-sendable type '((ErrorModel) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 | }
120 | }
/Users/admin/builder/spi-builder-workspace/Source/TRON/BaseRequest.swift:155:20: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
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
:
153 | internal func didReceiveDataResponse(_ response: DataResponse<Model, AFError>, forRequest request: Alamofire.Request) {
154 | allPlugins.forEach { plugin in
155 | plugin.didReceiveDataResponse(response, forRequest: request, formedFrom: self)
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
156 | }
157 | }
/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 | }
[222/239] Compiling TRONSwiftyJSON SwiftyJSONDecodable.swift
/Users/admin/builder/spi-builder-workspace/Source/TRONSwiftyJSON/SwiftyJSONDecodable.swift:42:12: warning: non-final class 'JSONDecodableParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
40 |
41 | /// `JSONDecodable` data response parser
42 | open class JSONDecodableParser<Model: JSONDecodable>: DataResponseSerializerProtocol {
| `- warning: non-final class 'JSONDecodableParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
43 |
44 | /// Reading options to be used when reading JSON from Data, using JSONSerialization.
/Users/admin/builder/spi-builder-workspace/Source/TRONSwiftyJSON/SwiftyJSONDecodable.swift:48:16: warning: stored property 'traverseJSON' of 'Sendable'-conforming generic class 'JSONDecodableParser' has non-sendable type '(JSON) -> JSON'; this is an error in the Swift 6 language mode
46 |
47 | /// Defines how JSON should be preprocessed before passing to Model initializer.
48 | public let traverseJSON: (JSON) -> JSON
| |- warning: stored property 'traverseJSON' of 'Sendable'-conforming generic class 'JSONDecodableParser' has non-sendable type '(JSON) -> JSON'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
49 |
50 | /// Creates `JSONDecodableParser` with `options`.
/Users/admin/builder/spi-builder-workspace/Source/TRONSwiftyJSON/SwiftyJSONDecodable.swift:42:12: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 |
41 | /// `JSONDecodable` data response parser
42 | open class JSONDecodableParser<Model: JSONDecodable>: DataResponseSerializerProtocol {
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 |
44 | /// Reading options to be used when reading JSON from Data, using JSONSerialization.
/Users/admin/builder/spi-builder-workspace/Source/TRONSwiftyJSON/SwiftyJSONDecodable.swift:168:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
166 | extension TRON {
167 | /// Creates `JSONDecodableSerializer` with current `TRON` instance.
168 | open var swiftyJSON: JSONDecodableSerializer {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
169 | return JSONDecodableSerializer(tron: self)
170 | }
/Users/admin/builder/spi-builder-workspace/Source/TRONSwiftyJSON/SwiftyJSONDecodable.swift:174:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
172 | /// Creates `CodableSerializer` with current `TRON` instance and specific `options` for `JSONSerialization`.
173 | /// `traversingJSON` closure defines how JSON should be preprocessed before passing to Model initializer.
174 | open func swiftyJSON(readingOptions options: JSONSerialization.ReadingOptions = [],
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
175 | traversingJSON: @escaping (JSON) -> JSON = { $0 }) -> JSONDecodableSerializer {
176 | return JSONDecodableSerializer(tron: self, options: options, traversingJSON: traversingJSON)
[223/239] Emitting module TRONSwiftyJSON
/Users/admin/builder/spi-builder-workspace/Source/TRONSwiftyJSON/SwiftyJSONDecodable.swift:42:12: warning: non-final class 'JSONDecodableParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
40 |
41 | /// `JSONDecodable` data response parser
42 | open class JSONDecodableParser<Model: JSONDecodable>: DataResponseSerializerProtocol {
| `- warning: non-final class 'JSONDecodableParser' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
43 |
44 | /// Reading options to be used when reading JSON from Data, using JSONSerialization.
/Users/admin/builder/spi-builder-workspace/Source/TRONSwiftyJSON/SwiftyJSONDecodable.swift:48:16: warning: stored property 'traverseJSON' of 'Sendable'-conforming generic class 'JSONDecodableParser' has non-sendable type '(JSON) -> JSON'; this is an error in the Swift 6 language mode
46 |
47 | /// Defines how JSON should be preprocessed before passing to Model initializer.
48 | public let traverseJSON: (JSON) -> JSON
| |- warning: stored property 'traverseJSON' of 'Sendable'-conforming generic class 'JSONDecodableParser' has non-sendable type '(JSON) -> JSON'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
49 |
50 | /// Creates `JSONDecodableParser` with `options`.
/Users/admin/builder/spi-builder-workspace/Source/TRONSwiftyJSON/SwiftyJSONDecodable.swift:42:12: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 |
41 | /// `JSONDecodable` data response parser
42 | open class JSONDecodableParser<Model: JSONDecodable>: DataResponseSerializerProtocol {
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 |
44 | /// Reading options to be used when reading JSON from Data, using JSONSerialization.
/Users/admin/builder/spi-builder-workspace/Source/TRONSwiftyJSON/SwiftyJSONDecodable.swift:168:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
166 | extension TRON {
167 | /// Creates `JSONDecodableSerializer` with current `TRON` instance.
168 | open var swiftyJSON: JSONDecodableSerializer {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
169 | return JSONDecodableSerializer(tron: self)
170 | }
/Users/admin/builder/spi-builder-workspace/Source/TRONSwiftyJSON/SwiftyJSONDecodable.swift:174:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
172 | /// Creates `CodableSerializer` with current `TRON` instance and specific `options` for `JSONSerialization`.
173 | /// `traversingJSON` closure defines how JSON should be preprocessed before passing to Model initializer.
174 | open func swiftyJSON(readingOptions options: JSONSerialization.ReadingOptions = [],
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
175 | traversingJSON: @escaping (JSON) -> JSON = { $0 }) -> JSONDecodableSerializer {
176 | return JSONDecodableSerializer(tron: self, options: options, traversingJSON: traversingJSON)
[224/239] Compiling RxSwift TakeLast.swift
[225/239] Compiling RxSwift TakeWithPredicate.swift
[226/239] Compiling RxSwift Throttle.swift
[227/239] Compiling RxSwift Timeout.swift
[228/239] Compiling RxSwift Timer.swift
[229/239] Compiling RxSwift ToArray.swift
[230/239] Compiling RxSwift Using.swift
[231/239] Compiling RxSwift VirtualTimeConverterType.swift
[232/239] Compiling RxSwift VirtualTimeScheduler.swift
[233/239] Compiling RxSwift Window.swift
[234/239] Compiling RxSwift WithLatestFrom.swift
[235/239] Compiling RxSwift WithUnretained.swift
[236/239] Compiling RxSwift Zip+Collection.swift
[237/239] Compiling RxSwift Zip+arity.swift
[238/239] Compiling RxSwift Zip.swift
[239/239] Compiling RxSwift resource_bundle_accessor.swift
[240/241] Emitting module RxTRON
/Users/admin/builder/spi-builder-workspace/Source/RxTRON/Tron+RxSwift.swift:38:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
36 | - returns: Observable<Model>
37 | */
38 | open func rxResult() -> Observable<Model> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
39 | return Observable.create({ observer in
40 | let token = self.perform(withSuccess: { result in
/Users/admin/builder/spi-builder-workspace/Source/RxTRON/Tron+RxSwift.swift:59:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
57 | - returns: Observable<Model>
58 | */
59 | open func rxResult() -> Observable<Model> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
60 | return Observable.create({ observer in
61 | let token = self.perform(withSuccess: { result in
/Users/admin/builder/spi-builder-workspace/Source/RxTRON/Tron+RxSwift.swift:80:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
78 | - returns: Observable<Model>
79 | */
80 | open func rxResult() -> Observable<URL> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
81 | return Observable.create({ observer in
82 | let token = self.performCollectingTimeline(withCompletion: { response in
[241/241] Compiling RxTRON Tron+RxSwift.swift
/Users/admin/builder/spi-builder-workspace/Source/RxTRON/Tron+RxSwift.swift:38:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
36 | - returns: Observable<Model>
37 | */
38 | open func rxResult() -> Observable<Model> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
39 | return Observable.create({ observer in
40 | let token = self.perform(withSuccess: { result in
/Users/admin/builder/spi-builder-workspace/Source/RxTRON/Tron+RxSwift.swift:59:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
57 | - returns: Observable<Model>
58 | */
59 | open func rxResult() -> Observable<Model> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
60 | return Observable.create({ observer in
61 | let token = self.perform(withSuccess: { result in
/Users/admin/builder/spi-builder-workspace/Source/RxTRON/Tron+RxSwift.swift:80:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
78 | - returns: Observable<Model>
79 | */
80 | open func rxResult() -> Observable<URL> {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
81 | return Observable.create({ observer in
82 | let token = self.performCollectingTimeline(withCompletion: { response in
/Users/admin/builder/spi-builder-workspace/Source/RxTRON/Tron+RxSwift.swift:83:39: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
81 | return Observable.create({ observer in
82 | let token = self.performCollectingTimeline(withCompletion: { response in
83 | if let url = response.fileURL {
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
84 | observer.onNext(url)
85 | observer.onCompleted()
/Users/admin/builder/spi-builder-workspace/Source/RxTRON/Tron+RxSwift.swift:87:47: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
85 | observer.onCompleted()
86 | } else {
87 | observer.onError(response.error ?? DownloadError(response))
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | }
89 | })
Build complete! (33.52s)
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" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "watchos",
"version" : "3.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",
"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.0"
}
Done.