Build Information
Successful build of Moya-ModelMapper with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sunshinejr/Moya-ModelMapper.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sunshinejr/Moya-ModelMapper
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3f0b7d9 Loosen the requirements for Moya version in Podspec (to ~> 14.0)
Cloned https://github.com/sunshinejr/Moya-ModelMapper.git
Revision (git rev-parse @):
3f0b7d953bedd2c61570bec7110fb30b720f028b
SUCCESS checkout https://github.com/sunshinejr/Moya-ModelMapper.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/sunshinejr/Moya-ModelMapper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/11] Write sources
[10/11] Write swift-version-6F35C1178C84523A.txt
[12/209] Compiling Mapper Transform.swift
[13/210] Emitting module RxSwift
[14/225] Compiling Mapper MapperError.swift
[15/225] Compiling Mapper Transform+Dictionary.swift
[16/225] Compiling RxSwift AsyncLock.swift
[17/225] Compiling RxSwift AsyncSubject.swift
[18/227] Compiling Mapper URL+Convertible.swift
[19/227] Compiling Mapper NSDictionary+Safety.swift
[20/227] Compiling Mapper Float+Convertible.swift
[21/227] Compiling Mapper Mapper.swift
[22/227] Compiling Mapper Mappable.swift
[23/227] Emitting module Mapper
[24/227] Compiling RxSwift AddRef.swift
[25/227] Compiling RxSwift Amb.swift
[26/227] Compiling Mapper Defaults+Convertible.swift
[29/227] Compiling RxSwift AnonymousDisposable.swift
[30/227] Compiling RxSwift AnonymousObserver.swift
[31/227] Emitting module Alamofire
[33/230] Compiling RxSwift AtomicInt.swift
[34/230] Compiling RxSwift Bag+Rx.swift
[37/230] Compiling RxSwift AsMaybe.swift
[38/230] Compiling RxSwift AsSingle.swift
[39/230] Emitting module ReactiveSwift
[42/230] Compiling RxSwift AnyObserver.swift
[43/230] Compiling RxSwift Cancelable.swift
[44/230] Compiling RxSwift Catch.swift
[45/230] Compiling RxSwift CombineLatest+Collection.swift
[46/230] Compiling ReactiveSwift UninhabitedTypeGuards.swift
[47/230] Compiling ReactiveSwift ValidatingProperty.swift
[48/230] Compiling RxSwift CompactMap.swift
[49/230] Compiling RxSwift Completable+AndThen.swift
[50/230] Compiling RxSwift Completable.swift
[51/230] Compiling RxSwift CompositeDisposable.swift
[52/230] Compiling RxSwift Concat.swift
[53/230] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[54/230] Compiling RxSwift ConcurrentMainScheduler.swift
[55/230] Compiling RxSwift ConnectableObservableType.swift
[56/230] Compiling Alamofire URLRequest+Alamofire.swift
[57/230] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[62/230] Compiling RxSwift BooleanDisposable.swift
[63/230] Compiling RxSwift Buffer.swift
[65/230] Compiling RxSwift Bag.swift
[66/230] Compiling RxSwift BehaviorSubject.swift
[67/230] Compiling RxSwift BinaryDisposable.swift
[93/230] Compiling RxSwift ImmediateSchedulerType.swift
[94/230] Compiling RxSwift InfiniteSequence.swift
[95/230] Compiling RxSwift InvocableScheduledItem.swift
[96/230] Compiling RxSwift InvocableType.swift
[97/230] Compiling RxSwift Just.swift
[98/230] Compiling RxSwift Lock.swift
[99/230] Compiling RxSwift LockOwnerType.swift
[100/230] Compiling RxSwift MainScheduler.swift
[101/230] Compiling RxSwift Map.swift
[102/230] Compiling RxSwift Materialize.swift
[103/230] Compiling RxSwift Maybe.swift
[104/230] Compiling RxSwift Merge.swift
[105/230] Compiling RxSwift Multicast.swift
[106/230] Compiling RxSwift Never.swift
[107/230] Compiling RxSwift NopDisposable.swift
[115/230] Compiling Alamofire Validation.swift
[118/248] Compiling RxSwift Observable.swift
[119/248] Compiling RxSwift ObservableConvertibleType.swift
[120/248] Compiling RxSwift ObservableType+Extensions.swift
[121/248] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[122/248] Compiling RxSwift ObservableType.swift
[123/248] Compiling RxSwift ObserveOn.swift
[124/248] Compiling RxSwift ObserverBase.swift
[125/248] Compiling RxSwift ObserverType.swift
[126/248] Compiling RxSwift OperationQueueScheduler.swift
[127/248] Compiling RxSwift Optional.swift
[128/248] Compiling RxSwift Platform.Darwin.swift
[129/248] Compiling RxSwift Platform.Linux.swift
[130/248] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[131/248] Compiling RxSwift PrimitiveSequence.swift
[132/248] Compiling RxSwift PriorityQueue.swift
[133/248] Compiling RxSwift DistinctUntilChanged.swift
[134/248] Compiling RxSwift Do.swift
[135/249] Compiling RxSwift ElementAt.swift
[136/249] Compiling RxSwift Empty.swift
[137/249] Compiling RxSwift Enumerated.swift
[138/249] Compiling RxSwift Error.swift
[139/249] Compiling RxSwift Errors.swift
[140/249] Compiling RxSwift Event.swift
[141/249] Compiling RxSwift Filter.swift
[142/249] Compiling RxSwift First.swift
[143/249] Compiling RxSwift Generate.swift
[144/249] Compiling RxSwift GroupBy.swift
[145/250] Compiling RxSwift GroupedObservable.swift
[146/250] Compiling RxSwift HistoricalScheduler.swift
[147/250] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[148/250] Compiling RxSwift SkipUntil.swift
[149/252] Compiling RxSwift SkipWhile.swift
[150/252] Compiling RxSwift StartWith.swift
[151/252] Compiling RxSwift String+Rx.swift
[152/252] Compiling RxSwift SubjectType.swift
[153/252] Compiling RxSwift SubscribeOn.swift
[154/252] Compiling RxSwift SubscriptionDisposable.swift
[155/252] Compiling RxSwift SwiftSupport.swift
[156/252] Compiling RxSwift Switch.swift
[157/252] Compiling RxSwift SwitchIfEmpty.swift
[158/252] Compiling RxSwift SynchronizedDisposeType.swift
[159/252] Compiling RxSwift SynchronizedOnType.swift
[160/252] Compiling RxSwift SynchronizedUnsubscribeType.swift
[161/252] Compiling RxSwift TailRecursiveSink.swift
[162/252] Compiling RxSwift Take.swift
[164/252] Compiling RxSwift Debounce.swift
[165/252] Compiling RxSwift Debug.swift
[166/252] Compiling RxSwift DefaultIfEmpty.swift
[167/252] Compiling RxSwift Deferred.swift
[168/252] Compiling RxSwift Delay.swift
[169/252] Compiling RxSwift DelaySubscription.swift
[170/252] Compiling RxSwift Dematerialize.swift
[171/252] Compiling RxSwift Deprecated.swift
[172/252] Compiling RxSwift DispatchQueue+Extensions.swift
[173/252] Compiling RxSwift DispatchQueueConfiguration.swift
[174/252] Compiling RxSwift Disposable.swift
[175/252] Compiling RxSwift Disposables.swift
[176/252] Compiling RxSwift DisposeBag.swift
[177/252] Compiling RxSwift DisposeBase.swift
[178/252] Compiling RxSwift Scan.swift
[179/252] Compiling RxSwift ScheduledDisposable.swift
[180/252] Compiling RxSwift ScheduledItem.swift
[181/252] Compiling RxSwift ScheduledItemType.swift
[182/252] Compiling RxSwift SchedulerServices+Emulation.swift
[183/252] Compiling RxSwift SchedulerType.swift
[184/252] Compiling RxSwift Sequence.swift
[185/252] Compiling RxSwift SerialDispatchQueueScheduler.swift
[186/252] Compiling RxSwift SerialDisposable.swift
[187/252] Compiling RxSwift ShareReplayScope.swift
[188/252] Compiling RxSwift Single.swift
[189/252] Compiling RxSwift SingleAssignmentDisposable.swift
[190/252] Compiling RxSwift SingleAsync.swift
[191/252] Compiling RxSwift Sink.swift
[192/252] Compiling RxSwift Skip.swift
[193/252] Compiling RxSwift Producer.swift
[194/252] Compiling RxSwift PublishSubject.swift
[195/252] Compiling RxSwift Queue.swift
[196/252] Compiling RxSwift Range.swift
[197/252] Compiling RxSwift Reactive.swift
[198/252] Compiling RxSwift RecursiveLock.swift
[199/252] Compiling RxSwift RecursiveScheduler.swift
[200/252] Compiling RxSwift Reduce.swift
[201/252] Compiling RxSwift RefCountDisposable.swift
[202/252] Compiling RxSwift Repeat.swift
[203/252] Compiling RxSwift ReplaySubject.swift
[204/252] Compiling RxSwift RetryWhen.swift
[205/252] Compiling RxSwift Rx.swift
[206/252] Compiling RxSwift RxMutableBox.swift
[207/252] Compiling RxSwift Sample.swift
[208/252] Compiling Moya Image.swift
[209/252] Compiling Moya Moya+Alamofire.swift
[210/252] Compiling Moya MoyaProvider+Internal.swift
[211/252] Compiling Moya MoyaProvider.swift
[212/252] Compiling Moya TargetType.swift
[213/252] Compiling Moya MoyaProvider+Defaults.swift
[214/252] Compiling Moya MultiTarget.swift
[215/252] Compiling Moya MultipartFormData.swift
[216/252] Compiling RxSwift TakeLast.swift
[217/252] Compiling RxSwift TakeUntil.swift
[218/252] Compiling RxSwift TakeWhile.swift
[219/252] Compiling RxSwift Throttle.swift
[220/252] Compiling RxSwift Timeout.swift
[221/252] Compiling RxSwift Timer.swift
[222/252] Compiling RxSwift ToArray.swift
[223/252] Compiling RxSwift Using.swift
[224/252] Compiling RxSwift VirtualTimeConverterType.swift
[225/252] Compiling RxSwift VirtualTimeScheduler.swift
[226/252] Compiling RxSwift Window.swift
[227/252] Compiling RxSwift WithLatestFrom.swift
[228/252] Compiling RxSwift Zip+Collection.swift
[229/252] Compiling RxSwift Zip+arity.swift
[230/252] Compiling RxSwift Zip.swift
[231/252] Compiling Moya Task.swift
[232/252] Compiling Moya URL+Moya.swift
[233/252] Compiling Moya CredentialsPlugin.swift
[234/252] Compiling Moya NetworkActivityPlugin.swift
[235/254] Emitting module Moya
[236/254] Compiling Moya NetworkLoggerPlugin.swift
[237/254] Compiling Moya RequestTypeWrapper.swift
[240/254] Compiling Moya Response.swift
[245/254] Compiling Moya URLRequest+Encoding.swift
[246/254] Compiling Moya ValidationType.swift
[247/254] Compiling Moya AnyEncodable.swift
[248/254] Compiling Moya Cancellable.swift
[249/254] Compiling Moya Endpoint.swift
[250/254] Compiling Moya Plugin.swift
[251/254] Compiling Moya AccessTokenPlugin.swift
[254/254] Compiling Moya MoyaError.swift
[255/263] Compiling ReactiveMoya SignalProducer+Response.swift
[256/263] Emitting module ReactiveMoya
[257/263] Compiling ReactiveMoya MoyaProvider+Reactive.swift
[258/263] Compiling RxMoya Single+Response.swift
[259/263] Emitting module RxMoya
[260/263] Compiling RxMoya Observable+Response.swift
[261/263] Compiling RxMoya MoyaProvider+Rx.swift
[262/263] Compiling Moya_ModelMapper Response+ModelMapper.swift
[263/263] Emitting module Moya_ModelMapper
[264/270] Compiling RxMoya_ModelMapper ObservableAvailability.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/ObservableAvailability.swift:12:5: warning: 'public' modifier is redundant for instance method declared in a public extension
10 |
11 | @available(*, unavailable, renamed: "map(to:keyPath:)")
12 | public func mapObject<T: Mappable>(type: T.Type, keyPath: String? = nil) -> Observable<T> { fatalError() }
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
13 |
14 | @available(*, unavailable, renamed: "map(to:keyPath:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/ObservableAvailability.swift:15:5: warning: 'public' modifier is redundant for instance method declared in a public extension
13 |
14 | @available(*, unavailable, renamed: "map(to:keyPath:)")
15 | public func mapArray<T: Mappable>(type: T.Type, keyPath: String? = nil) -> Observable<[T]> { fatalError() }
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
16 |
17 | @available(*, unavailable, renamed: "mapOptional(to:keyPath:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/ObservableAvailability.swift:18:5: warning: 'public' modifier is redundant for instance method declared in a public extension
16 |
17 | @available(*, unavailable, renamed: "mapOptional(to:keyPath:)")
18 | public func mapObjectOptional<T: Mappable>(type: T.Type, keyPath: String? = nil) -> Observable<T?> { fatalError() }
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
19 |
20 | @available(*, unavailable, renamed: "mapOptional(to:keyPath:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/ObservableAvailability.swift:21:5: warning: 'public' modifier is redundant for instance method declared in a public extension
19 |
20 | @available(*, unavailable, renamed: "mapOptional(to:keyPath:)")
21 | public func mapArrayOptional<T: Mappable>(type: T.Type, keyPath: String? = nil) -> Observable<[T]?> { fatalError() }
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/ObservableAvailability.swift:9:39: warning: 'E' is deprecated: Use `Element` instead.
7 | #endif
8 |
9 | public extension ObservableType where E == Response {
| `- warning: 'E' is deprecated: Use `Element` instead.
10 |
11 | @available(*, unavailable, renamed: "map(to:keyPath:)")
[265/270] Emitting module RxMoya_ModelMapper
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Observable+ModelMapper.swift:14:5: warning: 'public' modifier is redundant for instance method declared in a public extension
12 | /// Maps data received from the signal into an object which implement the Mappable protocol
13 | /// If the conversion fails, error event is sent.
14 | public func map<T: Mappable>(to type: T.Type, keyPath: String? = nil) -> Observable<T> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
15 | return flatMap { response -> Observable<T> in
16 | return Observable.just(try response.map(to: type, keyPath: keyPath))
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Observable+ModelMapper.swift:23:5: warning: 'public' modifier is redundant for instance method declared in a public extension
21 | /// If the conversion fails at any object, the error event is sent.
22 | /// If you want to remove the object from an array on error, use `compactMap()` instead.
23 | public func map<T: Mappable>(to type: [T].Type, keyPath: String? = nil) -> Observable<[T]> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
24 | return flatMap { response -> Observable<[T]> in
25 | return Observable.just(try response.map(to: type, keyPath: keyPath))
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Observable+ModelMapper.swift:32:5: warning: 'public' modifier is redundant for instance method declared in a public extension
30 | /// If the conversion fails at any object, it's removed from the response array.
31 | /// If you want to throw an error on any failure, use `map()` instead.
32 | public func compactMap<T: Mappable>(to type: [T].Type, keyPath: String? = nil) -> Observable<[T]> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
33 | return flatMap { response -> Observable<[T]> in
34 | return Observable.just(try response.compactMap(to: type, keyPath: keyPath))
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Observable+ModelMapper.swift:40:5: warning: 'public' modifier is redundant for instance method declared in a public extension
38 | /// Maps data received from the signal into an object which implement the Mappable protocol.
39 | /// If the conversion fails, the nil is returned instead of error signal.
40 | public func mapOptional<T: Mappable>(to type: T.Type, keyPath: String? = nil) -> Observable<T?> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return flatMap { response -> Observable<T?> in
42 | do {
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Observable+ModelMapper.swift:53:5: warning: 'public' modifier is redundant for instance method declared in a public extension
51 | /// Maps data received from the signal into an array of objects which implement the Mappable protocol.
52 | /// If the conversion fails, the nil is returned instead of error signal.
53 | public func mapOptional<T: Mappable>(to type: [T].Type, keyPath: String? = nil) -> Observable<[T]?> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMap { response -> Observable<[T]?> in
55 | do {
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Observable+ModelMapper.swift:68:5: warning: 'public' modifier is redundant for instance method declared in a public extension
66 | /// If the whole conversion fails, the nil is returned instead of error signal.
67 | /// Please see `map` and `compactMap` for other solutions to this problem.
68 | public func compactMapOptional<T: Mappable>(to type: [T].Type, keyPath: String? = nil) -> Observable<[T]?> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
69 | return flatMap { response -> Observable<[T]?> in
70 | do {
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Observable+ModelMapper.swift:10:39: warning: 'E' is deprecated: Use `Element` instead.
8 |
9 | /// Extension for processing Responses into Mappable objects through ObjectMapper
10 | public extension ObservableType where E == Response {
| `- warning: 'E' is deprecated: Use `Element` instead.
11 |
12 | /// Maps data received from the signal into an object which implement the Mappable protocol
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/ObservableAvailability.swift:12:5: warning: 'public' modifier is redundant for instance method declared in a public extension
10 |
11 | @available(*, unavailable, renamed: "map(to:keyPath:)")
12 | public func mapObject<T: Mappable>(type: T.Type, keyPath: String? = nil) -> Observable<T> { fatalError() }
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
13 |
14 | @available(*, unavailable, renamed: "map(to:keyPath:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/ObservableAvailability.swift:15:5: warning: 'public' modifier is redundant for instance method declared in a public extension
13 |
14 | @available(*, unavailable, renamed: "map(to:keyPath:)")
15 | public func mapArray<T: Mappable>(type: T.Type, keyPath: String? = nil) -> Observable<[T]> { fatalError() }
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
16 |
17 | @available(*, unavailable, renamed: "mapOptional(to:keyPath:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/ObservableAvailability.swift:18:5: warning: 'public' modifier is redundant for instance method declared in a public extension
16 |
17 | @available(*, unavailable, renamed: "mapOptional(to:keyPath:)")
18 | public func mapObjectOptional<T: Mappable>(type: T.Type, keyPath: String? = nil) -> Observable<T?> { fatalError() }
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
19 |
20 | @available(*, unavailable, renamed: "mapOptional(to:keyPath:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/ObservableAvailability.swift:21:5: warning: 'public' modifier is redundant for instance method declared in a public extension
19 |
20 | @available(*, unavailable, renamed: "mapOptional(to:keyPath:)")
21 | public func mapArrayOptional<T: Mappable>(type: T.Type, keyPath: String? = nil) -> Observable<[T]?> { fatalError() }
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/ObservableAvailability.swift:9:39: warning: 'E' is deprecated: Use `Element` instead.
7 | #endif
8 |
9 | public extension ObservableType where E == Response {
| `- warning: 'E' is deprecated: Use `Element` instead.
10 |
11 | @available(*, unavailable, renamed: "map(to:keyPath:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Single+ModelMapper.swift:10:35: warning: 'TraitType' is deprecated: Use `Trait` instead.
8 |
9 | /// Extension for processing Responses into Mappable objects through ObjectMapper
10 | extension PrimitiveSequence where TraitType == SingleTrait, ElementType == Response {
| `- warning: 'TraitType' is deprecated: Use `Trait` instead.
11 |
12 | /// Maps data received from the signal into an object which implements the Mappable protocol.
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Single+ModelMapper.swift:10:61: warning: 'ElementType' is deprecated: Use `Element` instead.
8 |
9 | /// Extension for processing Responses into Mappable objects through ObjectMapper
10 | extension PrimitiveSequence where TraitType == SingleTrait, ElementType == Response {
| `- warning: 'ElementType' is deprecated: Use `Element` instead.
11 |
12 | /// Maps data received from the signal into an object which implements the Mappable protocol.
[266/270] Compiling RxMoya_ModelMapper Single+ModelMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Single+ModelMapper.swift:10:35: warning: 'TraitType' is deprecated: Use `Trait` instead.
8 |
9 | /// Extension for processing Responses into Mappable objects through ObjectMapper
10 | extension PrimitiveSequence where TraitType == SingleTrait, ElementType == Response {
| `- warning: 'TraitType' is deprecated: Use `Trait` instead.
11 |
12 | /// Maps data received from the signal into an object which implements the Mappable protocol.
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Single+ModelMapper.swift:10:61: warning: 'ElementType' is deprecated: Use `Element` instead.
8 |
9 | /// Extension for processing Responses into Mappable objects through ObjectMapper
10 | extension PrimitiveSequence where TraitType == SingleTrait, ElementType == Response {
| `- warning: 'ElementType' is deprecated: Use `Element` instead.
11 |
12 | /// Maps data received from the signal into an object which implements the Mappable protocol.
[267/270] Compiling RxMoya_ModelMapper Observable+ModelMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Observable+ModelMapper.swift:14:5: warning: 'public' modifier is redundant for instance method declared in a public extension
12 | /// Maps data received from the signal into an object which implement the Mappable protocol
13 | /// If the conversion fails, error event is sent.
14 | public func map<T: Mappable>(to type: T.Type, keyPath: String? = nil) -> Observable<T> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
15 | return flatMap { response -> Observable<T> in
16 | return Observable.just(try response.map(to: type, keyPath: keyPath))
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Observable+ModelMapper.swift:23:5: warning: 'public' modifier is redundant for instance method declared in a public extension
21 | /// If the conversion fails at any object, the error event is sent.
22 | /// If you want to remove the object from an array on error, use `compactMap()` instead.
23 | public func map<T: Mappable>(to type: [T].Type, keyPath: String? = nil) -> Observable<[T]> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
24 | return flatMap { response -> Observable<[T]> in
25 | return Observable.just(try response.map(to: type, keyPath: keyPath))
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Observable+ModelMapper.swift:32:5: warning: 'public' modifier is redundant for instance method declared in a public extension
30 | /// If the conversion fails at any object, it's removed from the response array.
31 | /// If you want to throw an error on any failure, use `map()` instead.
32 | public func compactMap<T: Mappable>(to type: [T].Type, keyPath: String? = nil) -> Observable<[T]> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
33 | return flatMap { response -> Observable<[T]> in
34 | return Observable.just(try response.compactMap(to: type, keyPath: keyPath))
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Observable+ModelMapper.swift:40:5: warning: 'public' modifier is redundant for instance method declared in a public extension
38 | /// Maps data received from the signal into an object which implement the Mappable protocol.
39 | /// If the conversion fails, the nil is returned instead of error signal.
40 | public func mapOptional<T: Mappable>(to type: T.Type, keyPath: String? = nil) -> Observable<T?> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return flatMap { response -> Observable<T?> in
42 | do {
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Observable+ModelMapper.swift:53:5: warning: 'public' modifier is redundant for instance method declared in a public extension
51 | /// Maps data received from the signal into an array of objects which implement the Mappable protocol.
52 | /// If the conversion fails, the nil is returned instead of error signal.
53 | public func mapOptional<T: Mappable>(to type: [T].Type, keyPath: String? = nil) -> Observable<[T]?> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMap { response -> Observable<[T]?> in
55 | do {
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Observable+ModelMapper.swift:68:5: warning: 'public' modifier is redundant for instance method declared in a public extension
66 | /// If the whole conversion fails, the nil is returned instead of error signal.
67 | /// Please see `map` and `compactMap` for other solutions to this problem.
68 | public func compactMapOptional<T: Mappable>(to type: [T].Type, keyPath: String? = nil) -> Observable<[T]?> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
69 | return flatMap { response -> Observable<[T]?> in
70 | do {
/Users/admin/builder/spi-builder-workspace/Sources/RxMoya-ModelMapper/Observable+ModelMapper.swift:10:39: warning: 'E' is deprecated: Use `Element` instead.
8 |
9 | /// Extension for processing Responses into Mappable objects through ObjectMapper
10 | public extension ObservableType where E == Response {
| `- warning: 'E' is deprecated: Use `Element` instead.
11 |
12 | /// Maps data received from the signal into an object which implement the Mappable protocol
[268/270] Compiling ReactiveMoya_ModelMapper SignalProducerAvailability.swift
[269/270] Emitting module ReactiveMoya_ModelMapper
[270/270] Compiling ReactiveMoya_ModelMapper SignalProducer+ModelMapper.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Flatten.swift:84:20: warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
82 | /// Any failure from the inner streams is propagated immediately to the flattened
83 | /// stream of values.
84 | public static let latest = FlattenStrategy(kind: .latest)
| |- warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'latest' 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
85 |
86 | /// Forward only events from the first inner stream that sends an event. Any other
Build complete! (107.18s)
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/Moya/ReactiveSwift.git
Fetching https://github.com/Moya/Moya.git
Fetching https://github.com/lyft/mapper.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/1538] Fetching mapper
[17/47401] Fetching mapper, reactiveswift
[2457/72602] Fetching mapper, reactiveswift, moya
[2916/101382] Fetching mapper, reactiveswift, moya, alamofire
[12163/152793] Fetching mapper, reactiveswift, moya, alamofire, rxswift
Fetched https://github.com/Alamofire/Alamofire.git from cache (11.08s)
Fetched https://github.com/lyft/mapper.git from cache (11.08s)
[116306/122475] Fetching reactiveswift, moya, rxswift
Fetched https://github.com/Moya/Moya.git from cache (29.54s)
Computing version for https://github.com/lyft/mapper.git
Fetched https://github.com/Moya/ReactiveSwift.git from cache (29.54s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (29.54s)
Computed https://github.com/lyft/mapper.git at 10.0.0 (0.67s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 14.0.0 (0.66s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.0.1 (0.67s)
Computing version for https://github.com/Moya/ReactiveSwift.git
Computed https://github.com/Moya/ReactiveSwift.git at 6.1.0 (0.70s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.0.0 (0.65s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.0.0
Creating working copy for https://github.com/lyft/mapper.git
Working copy of https://github.com/lyft/mapper.git resolved at 10.0.0
Creating working copy for https://github.com/Moya/Moya.git
Working copy of https://github.com/Moya/Moya.git resolved at 14.0.0
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.0.1
Creating working copy for https://github.com/Moya/ReactiveSwift.git
Working copy of https://github.com/Moya/ReactiveSwift.git resolved at 6.1.0
Build complete.
{
"dependencies" : [
{
"identity" : "moya",
"requirement" : {
"range" : [
{
"lower_bound" : "14.0.0",
"upper_bound" : "15.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Moya/Moya.git"
},
{
"identity" : "mapper",
"requirement" : {
"range" : [
{
"lower_bound" : "10.0.0",
"upper_bound" : "11.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/lyft/mapper.git"
}
],
"manifest_display_name" : "Moya-ModelMapper",
"name" : "Moya-ModelMapper",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Moya-ModelMapper",
"targets" : [
"Moya-ModelMapper"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ReactiveMoya-ModelMapper",
"targets" : [
"ReactiveMoya-ModelMapper"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RxMoya-ModelMapper",
"targets" : [
"RxMoya-ModelMapper"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RxMoya_ModelMapper",
"module_type" : "SwiftTarget",
"name" : "RxMoya-ModelMapper",
"path" : "Sources/RxMoya-ModelMapper",
"product_dependencies" : [
"RxMoya"
],
"product_memberships" : [
"RxMoya-ModelMapper"
],
"sources" : [
"Observable+ModelMapper.swift",
"ObservableAvailability.swift",
"Single+ModelMapper.swift"
],
"target_dependencies" : [
"Moya-ModelMapper"
],
"type" : "library"
},
{
"c99name" : "ReactiveMoya_ModelMapper",
"module_type" : "SwiftTarget",
"name" : "ReactiveMoya-ModelMapper",
"path" : "Sources/ReactiveMoya-ModelMapper",
"product_dependencies" : [
"ReactiveMoya"
],
"product_memberships" : [
"ReactiveMoya-ModelMapper"
],
"sources" : [
"SignalProducer+ModelMapper.swift",
"SignalProducerAvailability.swift"
],
"target_dependencies" : [
"Moya-ModelMapper"
],
"type" : "library"
},
{
"c99name" : "Moya_ModelMapper",
"module_type" : "SwiftTarget",
"name" : "Moya-ModelMapper",
"path" : "Sources/Moya-ModelMapper",
"product_dependencies" : [
"Moya",
"Mapper"
],
"product_memberships" : [
"Moya-ModelMapper",
"ReactiveMoya-ModelMapper",
"RxMoya-ModelMapper"
],
"sources" : [
"Response+ModelMapper.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.