Build Information
Failed to build ReactiveSwift, reference master (abcdc2), with Swift 6.2 for Linux on 20 Jun 2025 21:19:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Moya/ReactiveSwift.git
Reference: master
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/Moya/ReactiveSwift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at abcdc22 SignalProducer: avoid recursive start of a sequence of producers (#734)
Submodule path 'Carthage/Checkouts/Nimble': checked out 'f8657642dfdec9973efc79cc68bcef43a653a2bc'
Submodule path 'Carthage/Checkouts/Quick': checked out '0b4ed6c706dd0cce923b5019a605a9bcc6b1b600'
Submodule path 'Carthage/Checkouts/Quick/Externals/Nimble': checked out 'a27c5186ce2d65f60d1237660b2509df3eb29023'
Submodule path 'Carthage/Checkouts/xcconfigs': checked out 'bb795558a76e5daf3688500055bbcfe243bffa8d'
Submodule 'Carthage/Checkouts/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/Nimble'
Submodule 'Carthage/Checkouts/Quick' (https://github.com/Quick/Quick.git) registered for path 'Carthage/Checkouts/Quick'
Submodule 'Carthage/Checkouts/xcconfigs' (https://github.com/jspahrsummers/xcconfigs.git) registered for path 'Carthage/Checkouts/xcconfigs'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Nimble'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Quick'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/xcconfigs'...
Submodule 'Externals/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/Quick/Externals/Nimble'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Quick/Externals/Nimble'...
Cloned https://github.com/Moya/ReactiveSwift.git
Revision (git rev-parse @):
abcdc22fecdef777eaf4dda5cd4b410e24aceae7
SUCCESS checkout https://github.com/Moya/ReactiveSwift.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/Moya/ReactiveSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14759] Fetching quick
[7233/34343] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (0.79s)
[3721/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.59s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (2.05s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.47s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/22] Compiling ReactiveSwift Action.swift
[4/22] Compiling ReactiveSwift Atomic.swift
[5/22] Compiling ReactiveSwift Bag.swift
[6/22] Emitting module ReactiveSwift
/host/spi-builder-workspace/Sources/Disposable.swift:11:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:47:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
45 | userInfo: nil)
46 |
47 | extension URLSession: ReactiveExtensionsProvider {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
48 |
49 | extension Reactive where Base: URLSession {
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:63:33: error: cannot find type 'URLRequest' in scope
61 | /// side error (i.e. when a response with status code other than
62 | /// 200...299 is received).
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
| `- error: cannot find type 'URLRequest' in scope
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:63:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | /// side error (i.e. when a response with status code other than
62 | /// 200...299 is received).
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | extension URLSession: ReactiveExtensionsProvider {}
48 |
49 | extension Reactive where Base: URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | /// Returns a SignalProducer which performs the work associated with an
51 | /// `NSURLSession`
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Property.swift:15:35: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
13 | /// Only classes can conform to this protocol, because having a signal
14 | /// for changes over time implies the origin must have a unique identity.
15 | public protocol PropertyProtocol: class, BindingSource {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
16 | /// The current value of the property.
17 | var value: Value { get }
/host/spi-builder-workspace/Sources/Scheduler.swift:17:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 |
16 | /// Represents a serial queue of work items.
17 | public protocol Scheduler: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
18 | /// Enqueues an action on the scheduler.
19 | ///
/host/spi-builder-workspace/Sources/Signal.swift:418:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
416 | }
417 |
418 | public protocol SignalProtocol: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
419 | /// The type of values being sent by `self`.
420 | associatedtype Value
/host/spi-builder-workspace/Sources/Signal.swift:1637:43: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
1635 | }
1636 |
1637 | private protocol SignalAggregateStrategy: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
1638 | /// Update the latest value of the signal at `position` to be `value`.
1639 | ///
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[7/22] Compiling ReactiveSwift Deprecations+Removals.swift
/host/spi-builder-workspace/Sources/Disposable.swift:11:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
[8/22] Compiling ReactiveSwift Disposable.swift
/host/spi-builder-workspace/Sources/Disposable.swift:11:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
[9/22] Compiling ReactiveSwift Event.swift
/host/spi-builder-workspace/Sources/Disposable.swift:11:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
[10/24] Compiling ReactiveSwift Scheduler.swift
/host/spi-builder-workspace/Sources/Scheduler.swift:17:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 |
16 | /// Represents a serial queue of work items.
17 | public protocol Scheduler: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
18 | /// Enqueues an action on the scheduler.
19 | ///
/host/spi-builder-workspace/Sources/Signal.swift:418:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
416 | }
417 |
418 | public protocol SignalProtocol: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
419 | /// The type of values being sent by `self`.
420 | associatedtype Value
/host/spi-builder-workspace/Sources/Signal.swift:1637:43: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
1635 | }
1636 |
1637 | private protocol SignalAggregateStrategy: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
1638 | /// Update the latest value of the signal at `position` to be `value`.
1639 | ///
[11/24] Compiling ReactiveSwift Signal.swift
/host/spi-builder-workspace/Sources/Scheduler.swift:17:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 |
16 | /// Represents a serial queue of work items.
17 | public protocol Scheduler: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
18 | /// Enqueues an action on the scheduler.
19 | ///
/host/spi-builder-workspace/Sources/Signal.swift:418:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
416 | }
417 |
418 | public protocol SignalProtocol: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
419 | /// The type of values being sent by `self`.
420 | associatedtype Value
/host/spi-builder-workspace/Sources/Signal.swift:1637:43: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
1635 | }
1636 |
1637 | private protocol SignalAggregateStrategy: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
1638 | /// Update the latest value of the signal at `position` to be `value`.
1639 | ///
[12/24] Compiling ReactiveSwift Lifetime.swift
[13/24] Compiling ReactiveSwift Observer.swift
[14/24] Compiling ReactiveSwift Optional.swift
[15/24] Compiling ReactiveSwift Property.swift
/host/spi-builder-workspace/Sources/Property.swift:15:35: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
13 | /// Only classes can conform to this protocol, because having a signal
14 | /// for changes over time implies the origin must have a unique identity.
15 | public protocol PropertyProtocol: class, BindingSource {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
16 | /// The current value of the property.
17 | var value: Value { get }
[16/24] Compiling ReactiveSwift Reactive.swift
/host/spi-builder-workspace/Sources/Property.swift:15:35: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
13 | /// Only classes can conform to this protocol, because having a signal
14 | /// for changes over time implies the origin must have a unique identity.
15 | public protocol PropertyProtocol: class, BindingSource {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
16 | /// The current value of the property.
17 | var value: Value { get }
[17/24] Compiling ReactiveSwift ResultExtensions.swift
/host/spi-builder-workspace/Sources/Property.swift:15:35: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
13 | /// Only classes can conform to this protocol, because having a signal
14 | /// for changes over time implies the origin must have a unique identity.
15 | public protocol PropertyProtocol: class, BindingSource {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
16 | /// The current value of the property.
17 | var value: Value { get }
[18/24] Compiling ReactiveSwift SignalProducer.swift
[19/24] Compiling ReactiveSwift UnidirectionalBinding.swift
[20/24] Compiling ReactiveSwift EventLogger.swift
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:47:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
45 | userInfo: nil)
46 |
47 | extension URLSession: ReactiveExtensionsProvider {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
48 |
49 | extension Reactive where Base: URLSession {
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:63:33: error: cannot find type 'URLRequest' in scope
61 | /// side error (i.e. when a response with status code other than
62 | /// 200...299 is received).
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
| `- error: cannot find type 'URLRequest' in scope
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:63:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | /// side error (i.e. when a response with status code other than
62 | /// 200...299 is received).
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | extension URLSession: ReactiveExtensionsProvider {}
48 |
49 | extension Reactive where Base: URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | /// Returns a SignalProducer which performs the work associated with an
51 | /// `NSURLSession`
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:65:20: error: value of type 'Base' has no member 'dataTask'
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
| `- error: value of type 'Base' has no member 'dataTask'
66 | if let data = data, let response = response {
67 | observer.send(value: (data, response))
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:67:34: error: value of type '_' expected to be instance of class or class-constrained type
65 | let task = base.dataTask(with: request) { data, response, error in
66 | if let data = data, let response = response {
67 | observer.send(value: (data, response))
| `- error: value of type '_' expected to be instance of class or class-constrained type
68 | observer.sendCompleted()
69 | } else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[21/24] Compiling ReactiveSwift Flatten.swift
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:47:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
45 | userInfo: nil)
46 |
47 | extension URLSession: ReactiveExtensionsProvider {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
48 |
49 | extension Reactive where Base: URLSession {
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:63:33: error: cannot find type 'URLRequest' in scope
61 | /// side error (i.e. when a response with status code other than
62 | /// 200...299 is received).
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
| `- error: cannot find type 'URLRequest' in scope
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:63:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | /// side error (i.e. when a response with status code other than
62 | /// 200...299 is received).
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | extension URLSession: ReactiveExtensionsProvider {}
48 |
49 | extension Reactive where Base: URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | /// Returns a SignalProducer which performs the work associated with an
51 | /// `NSURLSession`
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:65:20: error: value of type 'Base' has no member 'dataTask'
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
| `- error: value of type 'Base' has no member 'dataTask'
66 | if let data = data, let response = response {
67 | observer.send(value: (data, response))
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:67:34: error: value of type '_' expected to be instance of class or class-constrained type
65 | let task = base.dataTask(with: request) { data, response, error in
66 | if let data = data, let response = response {
67 | observer.send(value: (data, response))
| `- error: value of type '_' expected to be instance of class or class-constrained type
68 | observer.sendCompleted()
69 | } else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[22/24] Compiling ReactiveSwift FoundationExtensions.swift
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:47:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
45 | userInfo: nil)
46 |
47 | extension URLSession: ReactiveExtensionsProvider {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
48 |
49 | extension Reactive where Base: URLSession {
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:63:33: error: cannot find type 'URLRequest' in scope
61 | /// side error (i.e. when a response with status code other than
62 | /// 200...299 is received).
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
| `- error: cannot find type 'URLRequest' in scope
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:63:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | /// side error (i.e. when a response with status code other than
62 | /// 200...299 is received).
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | extension URLSession: ReactiveExtensionsProvider {}
48 |
49 | extension Reactive where Base: URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | /// Returns a SignalProducer which performs the work associated with an
51 | /// `NSURLSession`
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:65:20: error: value of type 'Base' has no member 'dataTask'
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
| `- error: value of type 'Base' has no member 'dataTask'
66 | if let data = data, let response = response {
67 | observer.send(value: (data, response))
/host/spi-builder-workspace/Sources/FoundationExtensions.swift:67:34: error: value of type '_' expected to be instance of class or class-constrained type
65 | let task = base.dataTask(with: request) { data, response, error in
66 | if let data = data, let response = response {
67 | observer.send(value: (data, response))
| `- error: value of type '_' expected to be instance of class or class-constrained type
68 | observer.sendCompleted()
69 | } else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[23/24] Compiling ReactiveSwift UninhabitedTypeGuards.swift
[24/24] Compiling ReactiveSwift ValidatingProperty.swift
BUILD FAILURE 6.2 linux