Build Information
Failed to build ghaw with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/toshi0383/ghaw.git
Reference: 0.4.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/toshi0383/ghaw
* tag 0.4.1 -> FETCH_HEAD
HEAD is now at 3405138 fix Package.resources
Cloned https://github.com/toshi0383/ghaw.git
Revision (git rev-parse @):
3405138c6019898147e0ffce71278c8640bca595
SUCCESS checkout https://github.com/toshi0383/ghaw.git at 0.4.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/toshi0383/ghaw.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/JohnSundell/ShellOut
Fetching https://github.com/ReactiveX/RxSwift
Fetching https://github.com/toshi0383/CoreCLI
[1/956] Fetching shellout
[212/1024] Fetching shellout, corecli
Fetched https://github.com/JohnSundell/ShellOut from cache (0.26s)
[47/51082] Fetching corecli, rxswift
Fetched https://github.com/toshi0383/CoreCLI from cache (2.10s)
Fetched https://github.com/ReactiveX/RxSwift from cache (2.14s)
Computing version for https://github.com/ReactiveX/RxSwift
Computed https://github.com/ReactiveX/RxSwift at 5.0.1 (0.52s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.2.1 (1.30s)
Computing version for https://github.com/toshi0383/CoreCLI
Computed https://github.com/toshi0383/CoreCLI at 0.1.10 (1.29s)
Creating working copy for https://github.com/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.2.1
Creating working copy for https://github.com/toshi0383/CoreCLI
Working copy of https://github.com/toshi0383/CoreCLI resolved at 0.1.10
Creating working copy for https://github.com/ReactiveX/RxSwift
Working copy of https://github.com/ReactiveX/RxSwift resolved at 5.0.1
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/156] Compiling CoreCLI CommandType.swift
[9/156] Compiling CoreCLI AutoArgumentsDecodable.swift
[10/156] Compiling CoreCLI CommandRunner.swift
[11/156] Emitting module RxSwift
[12/156] Compiling RxSwift Reactive.swift
[13/156] Compiling RxSwift RecursiveLock.swift
[14/156] Compiling RxSwift RecursiveScheduler.swift
[15/156] Compiling RxSwift Reduce.swift
[16/156] Compiling RxSwift RefCountDisposable.swift
[17/156] Compiling RxSwift Repeat.swift
[18/156] Compiling RxSwift ReplaySubject.swift
[19/156] Compiling RxSwift RetryWhen.swift
[20/156] Compiling RxSwift Rx.swift
[21/156] Compiling RxSwift RxMutableBox.swift
[22/156] Compiling RxSwift Sample.swift
[23/156] Compiling RxSwift Scan.swift
[24/156] Compiling RxSwift ScheduledDisposable.swift
[25/156] Compiling RxSwift ScheduledItem.swift
[26/156] Compiling RxSwift ScheduledItemType.swift
[27/156] Compiling RxSwift SchedulerServices+Emulation.swift
[28/156] Compiling RxSwift SchedulerType.swift
[29/156] Compiling RxSwift Sequence.swift
[30/156] Compiling RxSwift SerialDispatchQueueScheduler.swift
[31/174] Emitting module CoreCLI
[32/174] Compiling CoreCLI ArgumentParser.swift
[34/175] Compiling RxSwift CombineLatest+arity.swift
[35/175] Compiling RxSwift CombineLatest.swift
[36/175] Compiling RxSwift CompactMap.swift
[37/175] Compiling RxSwift Completable+AndThen.swift
[38/175] Compiling RxSwift Completable.swift
[39/175] Compiling RxSwift CompositeDisposable.swift
[40/175] Compiling RxSwift Concat.swift
[41/175] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[42/175] Compiling RxSwift ConcurrentMainScheduler.swift
[43/175] Compiling RxSwift ConnectableObservableType.swift
[44/175] Compiling RxSwift Create.swift
[45/175] Compiling RxSwift CurrentThreadScheduler.swift
[46/175] Compiling RxSwift Date+Dispatch.swift
[47/175] Compiling RxSwift Debounce.swift
[48/175] Compiling RxSwift Debug.swift
[49/175] Compiling RxSwift DefaultIfEmpty.swift
[50/175] Compiling RxSwift Deferred.swift
[51/175] Compiling RxSwift Delay.swift
[52/175] Compiling RxSwift DelaySubscription.swift
[53/175] Compiling RxSwift Observable.swift
[54/175] Compiling RxSwift ObservableConvertibleType.swift
[55/175] Compiling RxSwift ObservableType+Extensions.swift
[56/175] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[57/175] Compiling RxSwift ObservableType.swift
[58/175] Compiling RxSwift ObserveOn.swift
[59/175] Compiling RxSwift ObserverBase.swift
[60/175] Compiling RxSwift ObserverType.swift
[61/175] Compiling RxSwift OperationQueueScheduler.swift
[62/175] Compiling RxSwift Optional.swift
[63/175] Compiling RxSwift Platform.Darwin.swift
[64/175] Compiling RxSwift Platform.Linux.swift
[65/175] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[66/175] Compiling RxSwift PrimitiveSequence.swift
[67/175] Compiling RxSwift PriorityQueue.swift
[68/175] Compiling RxSwift Producer.swift
[69/175] Compiling RxSwift PublishSubject.swift
[70/175] Compiling RxSwift Queue.swift
[71/175] Compiling RxSwift Range.swift
[72/175] Compiling RxSwift Dematerialize.swift
[73/175] Compiling RxSwift Deprecated.swift
[74/175] Compiling RxSwift DispatchQueue+Extensions.swift
[75/175] Compiling RxSwift DispatchQueueConfiguration.swift
[76/175] Compiling RxSwift Disposable.swift
[77/175] Compiling RxSwift Disposables.swift
[78/175] Compiling RxSwift DisposeBag.swift
[79/175] Compiling RxSwift DisposeBase.swift
[80/175] Compiling RxSwift DistinctUntilChanged.swift
[81/175] Compiling RxSwift Do.swift
[82/175] Compiling RxSwift ElementAt.swift
[83/175] Compiling RxSwift Empty.swift
[84/175] Compiling RxSwift Enumerated.swift
[85/175] Compiling RxSwift Error.swift
[86/175] Compiling RxSwift Errors.swift
[87/175] Compiling RxSwift Event.swift
[88/175] Compiling RxSwift Filter.swift
[89/175] Compiling RxSwift First.swift
[90/175] Compiling RxSwift Generate.swift
[91/175] Compiling RxSwift GroupBy.swift
[92/175] Compiling RxSwift GroupedObservable.swift
[93/175] Compiling RxSwift HistoricalScheduler.swift
[94/175] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[95/175] Compiling RxSwift ImmediateSchedulerType.swift
[96/175] Compiling RxSwift InfiniteSequence.swift
[97/175] Compiling RxSwift InvocableScheduledItem.swift
[98/175] Compiling RxSwift InvocableType.swift
[99/175] Compiling RxSwift Just.swift
[100/175] Compiling RxSwift Lock.swift
[101/175] Compiling RxSwift LockOwnerType.swift
[102/175] Compiling RxSwift MainScheduler.swift
[103/175] Compiling RxSwift Map.swift
[104/175] Compiling RxSwift Materialize.swift
[105/175] Compiling RxSwift Maybe.swift
[106/175] Compiling RxSwift Merge.swift
[107/175] Compiling RxSwift Multicast.swift
[108/175] Compiling RxSwift Never.swift
[109/175] Compiling RxSwift NopDisposable.swift
[110/175] Compiling RxSwift SerialDisposable.swift
[111/175] Compiling RxSwift ShareReplayScope.swift
[112/175] Compiling RxSwift Single.swift
[113/175] Compiling RxSwift SingleAssignmentDisposable.swift
[114/175] Compiling RxSwift SingleAsync.swift
[115/175] Compiling RxSwift Sink.swift
[116/175] Compiling RxSwift Skip.swift
[117/175] Compiling RxSwift SkipUntil.swift
[118/175] Compiling RxSwift SkipWhile.swift
[119/175] Compiling RxSwift StartWith.swift
[120/175] Compiling RxSwift String+Rx.swift
[121/175] Compiling RxSwift SubjectType.swift
[122/175] Compiling RxSwift SubscribeOn.swift
[123/175] Compiling RxSwift SubscriptionDisposable.swift
[124/175] Compiling RxSwift SwiftSupport.swift
[125/175] Compiling RxSwift Switch.swift
[126/175] Compiling RxSwift SwitchIfEmpty.swift
[127/175] Compiling RxSwift SynchronizedDisposeType.swift
[128/175] Compiling RxSwift SynchronizedOnType.swift
[129/175] Compiling RxSwift AddRef.swift
[130/175] Compiling RxSwift Amb.swift
[131/175] Compiling RxSwift AnonymousDisposable.swift
[132/175] Compiling RxSwift AnonymousObserver.swift
[133/175] Compiling RxSwift AnyObserver.swift
[134/175] Compiling RxSwift AsMaybe.swift
[135/175] Compiling RxSwift AsSingle.swift
[136/175] Compiling RxSwift AsyncLock.swift
[137/175] Compiling RxSwift AsyncSubject.swift
[138/175] Compiling RxSwift AtomicInt.swift
[139/175] Compiling RxSwift Bag+Rx.swift
[140/175] Compiling RxSwift Bag.swift
[141/175] Compiling RxSwift BehaviorSubject.swift
[142/175] Compiling RxSwift BinaryDisposable.swift
[143/175] Compiling RxSwift BooleanDisposable.swift
[144/175] Compiling RxSwift Buffer.swift
[145/175] Compiling RxSwift Cancelable.swift
[146/175] Compiling RxSwift Catch.swift
[147/175] Compiling RxSwift CombineLatest+Collection.swift
[147/175] Wrapping AST for CoreCLI for debugging
[149/175] Emitting module ShellOut
[150/175] Compiling ShellOut ShellOut.swift
[151/176] Wrapping AST for ShellOut for debugging
[153/176] Compiling RxSwift SynchronizedUnsubscribeType.swift
[154/176] Compiling RxSwift TailRecursiveSink.swift
[155/176] Compiling RxSwift Take.swift
[156/176] Compiling RxSwift TakeLast.swift
[157/176] Compiling RxSwift TakeUntil.swift
[158/176] Compiling RxSwift TakeWhile.swift
[159/176] Compiling RxSwift Throttle.swift
[160/176] Compiling RxSwift Timeout.swift
[161/176] Compiling RxSwift Timer.swift
[162/176] Compiling RxSwift ToArray.swift
[163/176] Compiling RxSwift Using.swift
[164/176] Compiling RxSwift VirtualTimeConverterType.swift
[165/176] Compiling RxSwift VirtualTimeScheduler.swift
[166/176] Compiling RxSwift Window.swift
[167/176] Compiling RxSwift WithLatestFrom.swift
[168/176] Compiling RxSwift Zip+Collection.swift
[169/176] Compiling RxSwift Zip+arity.swift
[170/176] Compiling RxSwift Zip.swift
[171/177] Wrapping AST for RxSwift for debugging
[173/182] Compiling RxRelay PublishRelay.swift
[174/182] Compiling RxRelay Utils.swift
[175/182] Compiling RxRelay BehaviorRelay.swift
[176/182] Emitting module RxRelay
[177/182] Compiling RxRelay Observable+Bind.swift
[178/183] Wrapping AST for RxRelay for debugging
[180/277] Compiling RxCocoa RxCollectionViewDataSourceProxy.swift
[181/277] Compiling RxCocoa RxCollectionViewDataSourceType.swift
[182/277] Compiling RxCocoa RxCollectionViewDelegateProxy.swift
[183/277] Compiling RxCocoa RxCollectionViewReactiveArrayDataSource.swift
[184/277] Compiling RxCocoa RxNavigationControllerDelegateProxy.swift
[185/277] Compiling RxCocoa RxPickerViewAdapter.swift
[186/277] Compiling RxCocoa RxPickerViewDataSourceProxy.swift
[187/277] Compiling RxCocoa RxPickerViewDataSourceType.swift
[188/277] Compiling RxCocoa RxPickerViewDelegateProxy.swift
[189/277] Compiling RxCocoa RxScrollViewDelegateProxy.swift
[190/277] Compiling RxCocoa RxSearchBarDelegateProxy.swift
[191/277] Compiling RxCocoa RxSearchControllerDelegateProxy.swift
[192/277] Compiling RxCocoa RxTabBarControllerDelegateProxy.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[193/290] Compiling RxCocoa ItemEvents.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[194/290] Compiling RxCocoa KVORepresentable+CoreGraphics.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[195/290] Compiling RxCocoa KVORepresentable+Swift.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[196/290] Compiling RxCocoa KVORepresentable.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[197/290] Compiling RxCocoa KeyPathBinder.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[198/290] Compiling RxCocoa Logging.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[199/290] Compiling RxCocoa NSButton+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[200/290] Compiling RxCocoa NSControl+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[201/290] Compiling RxCocoa NSImageView+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[202/290] Compiling RxCocoa NSLayoutConstraint+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[203/290] Compiling RxCocoa NSObject+Rx+KVORepresentable.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[204/290] Compiling RxCocoa NSObject+Rx+RawRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[205/290] Compiling RxCocoa NSObject+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[206/290] Compiling RxCocoa NSSlider+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[207/290] Emitting module RxCocoa
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[208/290] Compiling RxCocoa UISlider+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[209/290] Compiling RxCocoa UIStepper+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[210/290] Compiling RxCocoa UISwitch+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[211/290] Compiling RxCocoa UITabBar+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[212/290] Compiling RxCocoa UITabBarController+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[213/290] Compiling RxCocoa UITabBarItem+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[214/290] Compiling RxCocoa UITableView+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[215/290] Compiling RxCocoa UITextField+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[216/290] Compiling RxCocoa UITextView+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[217/290] Compiling RxCocoa UIView+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[218/290] Compiling RxCocoa UIViewController+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[219/290] Compiling RxCocoa UIWebView+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[220/290] Compiling RxCocoa URLSession+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[221/290] Compiling RxCocoa UIGestureRecognizer+Rx.swift
[222/290] Compiling RxCocoa UIImageView+Rx.swift
[223/290] Compiling RxCocoa UILabel+Rx.swift
[224/290] Compiling RxCocoa UINavigationController+Rx.swift
[225/290] Compiling RxCocoa UINavigationItem+Rx.swift
[226/290] Compiling RxCocoa UIPageControl+Rx.swift
[227/290] Compiling RxCocoa UIPickerView+Rx.swift
[228/290] Compiling RxCocoa UIProgressView+Rx.swift
[229/290] Compiling RxCocoa UIRefreshControl+Rx.swift
[230/290] Compiling RxCocoa UIScrollView+Rx.swift
[231/290] Compiling RxCocoa UISearchBar+Rx.swift
[232/290] Compiling RxCocoa UISearchController+Rx.swift
[233/290] Compiling RxCocoa UISegmentedControl+Rx.swift
[234/290] Compiling RxCocoa SharedSequence+Operators.swift
[235/290] Compiling RxCocoa SharedSequence.swift
[236/290] Compiling RxCocoa Signal+Subscription.swift
[237/290] Compiling RxCocoa Signal.swift
[238/290] Compiling RxCocoa TextInput.swift
[239/290] Compiling RxCocoa UIActivityIndicatorView+Rx.swift
[240/290] Compiling RxCocoa UIAlertAction+Rx.swift
[241/290] Compiling RxCocoa UIApplication+Rx.swift
[242/290] Compiling RxCocoa UIBarButtonItem+Rx.swift
[243/290] Compiling RxCocoa UIButton+Rx.swift
[244/290] Compiling RxCocoa UICollectionView+Rx.swift
[245/290] Compiling RxCocoa UIControl+Rx.swift
[246/290] Compiling RxCocoa UIDatePicker+Rx.swift
[247/290] Compiling RxCocoa BehaviorRelay+Driver.swift
[248/290] Compiling RxCocoa Binder.swift
[249/290] Compiling RxCocoa ControlEvent+Driver.swift
[250/290] Compiling RxCocoa ControlEvent+Signal.swift
[251/290] Compiling RxCocoa ControlEvent.swift
[252/290] Compiling RxCocoa ControlProperty+Driver.swift
[253/290] Compiling RxCocoa ControlProperty.swift
[254/290] Compiling RxCocoa ControlTarget.swift
[255/290] Compiling RxCocoa DelegateProxy.swift
[256/290] Compiling RxCocoa DelegateProxyType.swift
[257/290] Compiling RxCocoa Deprecated.swift
[258/290] Compiling RxCocoa DispatchQueue+Extensions.swift
[259/290] Compiling RxCocoa Driver+Subscription.swift
[260/290] Compiling RxCocoa Driver.swift
[261/290] Compiling RxCocoa NSTextField+Rx.swift
[262/290] Compiling RxCocoa NSTextStorage+Rx.swift
[263/290] Compiling RxCocoa NSTextView+Rx.swift
[264/290] Compiling RxCocoa NSView+Rx.swift
[265/290] Compiling RxCocoa NotificationCenter+Rx.swift
[266/290] Compiling RxCocoa Observable+Bind.swift
[267/290] Compiling RxCocoa ObservableConvertibleType+Driver.swift
[268/290] Compiling RxCocoa ObservableConvertibleType+SharedSequence.swift
[269/290] Compiling RxCocoa ObservableConvertibleType+Signal.swift
[270/290] Compiling RxCocoa PublishRelay+Signal.swift
[271/290] Compiling RxCocoa RxCocoa.swift
[272/290] Compiling RxCocoa RxCocoaObjCRuntimeError+Extensions.swift
[273/290] Compiling RxCocoa RxCollectionViewDataSourcePrefetchingProxy.swift
[274/290] Compiling RxCocoa RxTabBarDelegateProxy.swift
[275/290] Compiling RxCocoa RxTableViewDataSourcePrefetchingProxy.swift
[276/290] Compiling RxCocoa RxTableViewDataSourceProxy.swift
[277/290] Compiling RxCocoa RxTableViewDataSourceType.swift
[278/290] Compiling RxCocoa RxTableViewDelegateProxy.swift
[279/290] Compiling RxCocoa RxTableViewReactiveArrayDataSource.swift
[280/290] Compiling RxCocoa RxTarget.swift
[281/290] Compiling RxCocoa RxTextStorageDelegateProxy.swift
[282/290] Compiling RxCocoa RxTextViewDelegateProxy.swift
[283/290] Compiling RxCocoa RxWebViewDelegateProxy.swift
[284/290] Compiling RxCocoa SchedulerType+SharedSequence.swift
[285/290] Compiling RxCocoa SectionedViewDataSourceType.swift
[286/290] Compiling RxCocoa SharedSequence+Operators+arity.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/30] Compiling RxCocoa KeyPathBinder.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[3/30] Compiling RxCocoa Logging.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[4/30] Compiling RxCocoa NSButton+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[5/30] Compiling RxCocoa NSControl+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
[6/33] Compiling RxCocoa UITextField+Rx.swift
[7/33] Compiling RxCocoa UITextView+Rx.swift
[8/33] Compiling RxCocoa UIView+Rx.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/33] Emitting module RxCocoa
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:9:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[10/33] Compiling RxCocoa UITabBarController+Rx.swift
[11/33] Compiling RxCocoa UITabBarItem+Rx.swift
[12/33] Compiling RxCocoa UITableView+Rx.swift
[13/33] Compiling RxCocoa NSObject+Rx.swift
[14/33] Compiling RxCocoa NSSlider+Rx.swift
[15/33] Compiling RxCocoa UISlider+Rx.swift
[16/33] Compiling RxCocoa UIStepper+Rx.swift
[17/33] Compiling RxCocoa UISwitch+Rx.swift
[18/33] Compiling RxCocoa UITabBar+Rx.swift
[19/33] Compiling RxCocoa NSImageView+Rx.swift
[20/33] Compiling RxCocoa NSLayoutConstraint+Rx.swift
[21/33] Compiling RxCocoa NSObject+Rx+KVORepresentable.swift
[22/33] Compiling RxCocoa NSObject+Rx+RawRepresentable.swift
[23/33] Compiling RxCocoa ItemEvents.swift
[24/33] Compiling RxCocoa KVORepresentable+CoreGraphics.swift
[25/33] Compiling RxCocoa KVORepresentable+Swift.swift
[26/33] Compiling RxCocoa KVORepresentable.swift
[27/33] Compiling RxCocoa UIViewController+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[28/33] Compiling RxCocoa UIWebView+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[29/33] Compiling RxCocoa URLSession+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:10:15: error: struct 'URLRequest' does not exist in module 'Foundation'
import struct Foundation.URLRequest
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:14:14: error: type alias 'HTTPURLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.HTTPURLResponse
~~~~~ ^
typealias
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' declared here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:15:14: error: type alias 'URLSession' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLSession
~~~~~ ^
typealias
Foundation.URLSession:2:18: note: 'URLSession' declared here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:16:14: error: type alias 'URLResponse' (aka 'AnyObject') cannot be imported as 'class'
import class Foundation.URLResponse
~~~~~ ^
typealias
Foundation.URLResponse:2:18: note: 'URLResponse' declared here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:35:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case nonHTTPResponse(response: URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:37:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case httpRequestFailed(response: HTTPURLResponse, data: Data?)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:63:60: error: cannot find type 'URLRequest' in scope
fileprivate func convertURLRequestToCurlCommand(_ request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:89:50: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func convertResponseToString(_ response: URLResponse?, _ error: NSError?, _ interval: TimeInterval) -> String {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:35: error: cannot find type 'URLRequest' in scope
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:124:72: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func response(request: URLRequest) -> Observable<(response: HTTPURLResponse, data: Data)> {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:184:31: error: cannot find type 'URLRequest' in scope
public func data(request: URLRequest) -> Observable<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:212:31: error: cannot find type 'URLRequest' in scope
public func json(request: URLRequest, options: JSONSerialization.ReadingOptions = []) -> Observable<Any> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:111:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:52:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "HTTP request failed with `\(response.statusCode)`."
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:92:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
if let response = response as? HTTPURLResponse {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:93:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if 200 ..< 300 ~= response.statusCode {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:94:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Success (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:97:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return "Failure (\(ms)ms): Status \(response.statusCode)"
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/Logging.swift:13:39: error: cannot find type 'URLRequest' in scope
public typealias LogURLRequest = (URLRequest) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:35: error: cannot find 'URLRequest' in scope
return self.json(request: URLRequest(url: url))
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:240:25: error: incorrect argument label in call (have 'request:', expected 'url:')
return self.json(request: URLRequest(url: url))
^~~~~~~~
url
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/URLSession+Rx.swift:137:34: error: value of type 'Base' has no member 'dataTask'
let task = self.base.dataTask(with: request) { data, response, error in
~~~~~~~~~ ^~~~~~~~
[30/50] Compiling RxCocoa Binder.swift
[31/50] Compiling RxCocoa ControlEvent+Driver.swift
[32/50] Compiling RxCocoa ControlEvent+Signal.swift
[33/50] Compiling RxCocoa Driver+Subscription.swift
[34/50] Compiling RxCocoa Driver.swift
[35/50] Compiling RxCocoa NotificationCenter+Rx.swift
[36/50] Compiling RxCocoa Observable+Bind.swift
[37/50] Compiling RxCocoa Deprecated.swift
[38/50] Compiling RxCocoa DispatchQueue+Extensions.swift
[39/50] Compiling RxCocoa SharedSequence.swift
[40/50] Compiling RxCocoa Signal.swift
[41/50] Compiling RxCocoa ControlProperty+Driver.swift
[42/50] Compiling RxCocoa ControlProperty.swift
[43/50] Compiling RxCocoa RxCocoa.swift
[44/50] Compiling RxCocoa RxTarget.swift
[45/50] Compiling RxCocoa SchedulerType+SharedSequence.swift
[46/50] Compiling RxCocoa SharedSequence+Operators.swift
error: fatalError
BUILD FAILURE 5.10 linux