Build Information
Failed to build OperantKit, reference master (f5cf44
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 14:20:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/ObservableType+.swift:35:43: error: cannot find type 'Element' in scope
33 |
34 | /// Store the last response and return tuple
35 | func store() -> Observable<(newValue: Element, oldValue: Element?)> {
| `- error: cannot find type 'Element' in scope
36 | let shared = self.share(replay: 1)
37 | return Observable.zip(shared, shared.map(Optional.init).startWith(nil)) { a, b in
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/ObservableType+.swift:35:62: error: cannot find type 'Element' in scope
33 |
34 | /// Store the last response and return tuple
35 | func store() -> Observable<(newValue: Element, oldValue: Element?)> {
| `- error: cannot find type 'Element' in scope
36 | let shared = self.share(replay: 1)
37 | return Observable.zip(shared, shared.map(Optional.init).startWith(nil)) { a, b in
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:46:45: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
44 |
45 | /// Store the last response and return tuple
46 | func store(startWith: PrimitiveSequence.Element) -> Single<(newValue: Element, oldValue: Element)> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
47 | return asObservable().store(startWith: startWith).asSingle()
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:39:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, Element>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
37 | /// Map from any to void
38 | func mapToVoid() -> Single<Void> {
39 | return map { _ in }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, Element>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, Element>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, Element>.TraitType' (aka 'Trait')
155 |
156 | /**
[302/356] Compiling OperantKit UIApplication+Rx.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/TrialState.swift:20:23: warning: static property 'ready' produces an empty option set
18 |
19 | /// Ready for the trial
20 | public static let ready = TrialState(rawValue: 0)
| |- warning: static property 'ready' produces an empty option set
| `- note: use [] to silence this warning
21 | /// The trial occured reinforcement
22 | public static let didReinforcement = TrialState(rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/ObservableType+.swift:19:50: error: cannot find type 'Element' in scope
17 |
18 | /// Translate from Observable to Driver on error just complete
19 | func asDriverOnErrorJustComplete() -> Driver<Element> {
| `- error: cannot find type 'Element' in scope
20 | return asDriver { error in
21 | assertionFailure("Error \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/ObservableType+.swift:27:66: error: cannot find type 'Element' in scope
25 |
26 | /// Store the last response and return tuple
27 | func store(startWith: Self.Element) -> Observable<(newValue: Element, oldValue: Element)> {
| `- error: cannot find type 'Element' in scope
28 | let shared = self.share(replay: 1)
29 | return Observable.zip(shared, shared.startWith(startWith)) { a, b in
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/ObservableType+.swift:27:85: error: cannot find type 'Element' in scope
25 |
26 | /// Store the last response and return tuple
27 | func store(startWith: Self.Element) -> Observable<(newValue: Element, oldValue: Element)> {
| `- error: cannot find type 'Element' in scope
28 | let shared = self.share(replay: 1)
29 | return Observable.zip(shared, shared.startWith(startWith)) { a, b in
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/ObservableType+.swift:27:32: error: 'Element' is not a member type of type 'Self'
25 |
26 | /// Store the last response and return tuple
27 | func store(startWith: Self.Element) -> Observable<(newValue: Element, oldValue: Element)> {
| `- error: 'Element' is not a member type of type 'Self'
28 | let shared = self.share(replay: 1)
29 | return Observable.zip(shared, shared.startWith(startWith)) { a, b in
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/ObservableType+.swift:35:43: error: cannot find type 'Element' in scope
33 |
34 | /// Store the last response and return tuple
35 | func store() -> Observable<(newValue: Element, oldValue: Element?)> {
| `- error: cannot find type 'Element' in scope
36 | let shared = self.share(replay: 1)
37 | return Observable.zip(shared, shared.map(Optional.init).startWith(nil)) { a, b in
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/ObservableType+.swift:35:62: error: cannot find type 'Element' in scope
33 |
34 | /// Store the last response and return tuple
35 | func store() -> Observable<(newValue: Element, oldValue: Element?)> {
| `- error: cannot find type 'Element' in scope
36 | let shared = self.share(replay: 1)
37 | return Observable.zip(shared, shared.map(Optional.init).startWith(nil)) { a, b in
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:46:45: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
44 |
45 | /// Store the last response and return tuple
46 | func store(startWith: PrimitiveSequence.Element) -> Single<(newValue: Element, oldValue: Element)> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
47 | return asObservable().store(startWith: startWith).asSingle()
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:39:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, Element>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
37 | /// Map from any to void
38 | func mapToVoid() -> Single<Void> {
39 | return map { _ in }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, Element>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, Element>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, Element>.TraitType' (aka 'Trait')
155 |
156 | /**
[303/356] Compiling OperantKit FixedEntity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[304/356] Compiling OperantKit RandomEntity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[305/356] Compiling OperantKit ResponseEntity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[306/356] Compiling OperantKit ResultEntity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[307/356] Compiling OperantKit ScheduleRecordEntity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[308/356] Compiling OperantKit VariableEntity.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[309/356] Compiling OperantKit DiscreteTrialRepositoryImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[310/356] Compiling OperantKit ScheduleRespositoryImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[311/356] Compiling OperantKit AlternativeScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[312/356] Compiling OperantKit Times.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/CRF.swift:19:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
17 | /// - Tag: .CRF()
18 | func CRF() -> Single<Bool> {
19 | return map { r in r.fixedRatio(1) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/EXT.swift:28:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
26 | /// - Tag: .EXT()
27 | func EXT() -> Single<Bool> {
28 | return map { $0.extinction() }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:46:45: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
44 |
45 | /// Store the last response and return tuple
46 | func store(startWith: PrimitiveSequence.Element) -> Single<(newValue: Element, oldValue: Element)> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
47 | return asObservable().store(startWith: startWith).asSingle()
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:29:48: error: argument passed to call that takes no arguments
27 | /// - Tag: .FI()
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:30:58: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:40:48: error: argument passed to call that takes no arguments
38 | /// - Tag: .FI()
39 | func FI(_ value: Single<Int>) -> Single<Bool> {
40 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
41 | .flatMap { a in
42 | value.map { b in
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:43:51: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
41 | .flatMap { a in
42 | value.map { b in
43 | a.newValue.fixedInterval(b, a.oldValue.numOfResponses)
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:38:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
36 | /// - Tag: .FR()
37 | func FR(_ value: @escaping @autoclosure () -> Int) -> Single<Bool> {
38 | return map { r in r.fixedRatio(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:51:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
49 | /// - Tag: .FR()
50 | func FR(_ value: Single<Int>) -> Single<Bool> {
51 | return flatMap { r in value.map { v in r.fixedRatio(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:29:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
27 | /// - Tag: .FT()
28 | func FT(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return map { r in r.fixedTime(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:39:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
37 | /// - Tag: .FT()
38 | func FT(_ value: Single<Int>) -> Single<Bool> {
39 | return flatMap { r in value.map { v in r.fixedTime(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
[313/356] Compiling OperantKit SessionEvents.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/CRF.swift:19:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
17 | /// - Tag: .CRF()
18 | func CRF() -> Single<Bool> {
19 | return map { r in r.fixedRatio(1) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/EXT.swift:28:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
26 | /// - Tag: .EXT()
27 | func EXT() -> Single<Bool> {
28 | return map { $0.extinction() }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:46:45: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
44 |
45 | /// Store the last response and return tuple
46 | func store(startWith: PrimitiveSequence.Element) -> Single<(newValue: Element, oldValue: Element)> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
47 | return asObservable().store(startWith: startWith).asSingle()
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:29:48: error: argument passed to call that takes no arguments
27 | /// - Tag: .FI()
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:30:58: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:40:48: error: argument passed to call that takes no arguments
38 | /// - Tag: .FI()
39 | func FI(_ value: Single<Int>) -> Single<Bool> {
40 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
41 | .flatMap { a in
42 | value.map { b in
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:43:51: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
41 | .flatMap { a in
42 | value.map { b in
43 | a.newValue.fixedInterval(b, a.oldValue.numOfResponses)
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:38:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
36 | /// - Tag: .FR()
37 | func FR(_ value: @escaping @autoclosure () -> Int) -> Single<Bool> {
38 | return map { r in r.fixedRatio(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:51:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
49 | /// - Tag: .FR()
50 | func FR(_ value: Single<Int>) -> Single<Bool> {
51 | return flatMap { r in value.map { v in r.fixedRatio(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:29:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
27 | /// - Tag: .FT()
28 | func FT(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return map { r in r.fixedTime(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:39:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
37 | /// - Tag: .FT()
38 | func FT(_ value: Single<Int>) -> Single<Bool> {
39 | return flatMap { r in value.map { v in r.fixedTime(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
[314/356] Compiling OperantKit FleshlerHoffman.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/CRF.swift:19:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
17 | /// - Tag: .CRF()
18 | func CRF() -> Single<Bool> {
19 | return map { r in r.fixedRatio(1) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/EXT.swift:28:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
26 | /// - Tag: .EXT()
27 | func EXT() -> Single<Bool> {
28 | return map { $0.extinction() }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:46:45: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
44 |
45 | /// Store the last response and return tuple
46 | func store(startWith: PrimitiveSequence.Element) -> Single<(newValue: Element, oldValue: Element)> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
47 | return asObservable().store(startWith: startWith).asSingle()
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:29:48: error: argument passed to call that takes no arguments
27 | /// - Tag: .FI()
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:30:58: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:40:48: error: argument passed to call that takes no arguments
38 | /// - Tag: .FI()
39 | func FI(_ value: Single<Int>) -> Single<Bool> {
40 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
41 | .flatMap { a in
42 | value.map { b in
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:43:51: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
41 | .flatMap { a in
42 | value.map { b in
43 | a.newValue.fixedInterval(b, a.oldValue.numOfResponses)
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:38:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
36 | /// - Tag: .FR()
37 | func FR(_ value: @escaping @autoclosure () -> Int) -> Single<Bool> {
38 | return map { r in r.fixedRatio(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:51:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
49 | /// - Tag: .FR()
50 | func FR(_ value: Single<Int>) -> Single<Bool> {
51 | return flatMap { r in value.map { v in r.fixedRatio(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:29:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
27 | /// - Tag: .FT()
28 | func FT(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return map { r in r.fixedTime(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:39:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
37 | /// - Tag: .FT()
38 | func FT(_ value: Single<Int>) -> Single<Bool> {
39 | return flatMap { r in value.map { v in r.fixedTime(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
[315/356] Compiling OperantKit CRF.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/CRF.swift:19:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
17 | /// - Tag: .CRF()
18 | func CRF() -> Single<Bool> {
19 | return map { r in r.fixedRatio(1) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/EXT.swift:28:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
26 | /// - Tag: .EXT()
27 | func EXT() -> Single<Bool> {
28 | return map { $0.extinction() }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:46:45: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
44 |
45 | /// Store the last response and return tuple
46 | func store(startWith: PrimitiveSequence.Element) -> Single<(newValue: Element, oldValue: Element)> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
47 | return asObservable().store(startWith: startWith).asSingle()
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:29:48: error: argument passed to call that takes no arguments
27 | /// - Tag: .FI()
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:30:58: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:40:48: error: argument passed to call that takes no arguments
38 | /// - Tag: .FI()
39 | func FI(_ value: Single<Int>) -> Single<Bool> {
40 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
41 | .flatMap { a in
42 | value.map { b in
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:43:51: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
41 | .flatMap { a in
42 | value.map { b in
43 | a.newValue.fixedInterval(b, a.oldValue.numOfResponses)
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:38:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
36 | /// - Tag: .FR()
37 | func FR(_ value: @escaping @autoclosure () -> Int) -> Single<Bool> {
38 | return map { r in r.fixedRatio(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:51:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
49 | /// - Tag: .FR()
50 | func FR(_ value: Single<Int>) -> Single<Bool> {
51 | return flatMap { r in value.map { v in r.fixedRatio(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:29:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
27 | /// - Tag: .FT()
28 | func FT(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return map { r in r.fixedTime(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:39:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
37 | /// - Tag: .FT()
38 | func FT(_ value: Single<Int>) -> Single<Bool> {
39 | return flatMap { r in value.map { v in r.fixedTime(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
[316/356] Compiling OperantKit EXT.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/CRF.swift:19:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
17 | /// - Tag: .CRF()
18 | func CRF() -> Single<Bool> {
19 | return map { r in r.fixedRatio(1) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/EXT.swift:28:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
26 | /// - Tag: .EXT()
27 | func EXT() -> Single<Bool> {
28 | return map { $0.extinction() }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:46:45: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
44 |
45 | /// Store the last response and return tuple
46 | func store(startWith: PrimitiveSequence.Element) -> Single<(newValue: Element, oldValue: Element)> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
47 | return asObservable().store(startWith: startWith).asSingle()
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:29:48: error: argument passed to call that takes no arguments
27 | /// - Tag: .FI()
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:30:58: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:40:48: error: argument passed to call that takes no arguments
38 | /// - Tag: .FI()
39 | func FI(_ value: Single<Int>) -> Single<Bool> {
40 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
41 | .flatMap { a in
42 | value.map { b in
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:43:51: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
41 | .flatMap { a in
42 | value.map { b in
43 | a.newValue.fixedInterval(b, a.oldValue.numOfResponses)
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:38:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
36 | /// - Tag: .FR()
37 | func FR(_ value: @escaping @autoclosure () -> Int) -> Single<Bool> {
38 | return map { r in r.fixedRatio(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:51:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
49 | /// - Tag: .FR()
50 | func FR(_ value: Single<Int>) -> Single<Bool> {
51 | return flatMap { r in value.map { v in r.fixedRatio(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:29:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
27 | /// - Tag: .FT()
28 | func FT(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return map { r in r.fixedTime(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:39:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
37 | /// - Tag: .FT()
38 | func FT(_ value: Single<Int>) -> Single<Bool> {
39 | return flatMap { r in value.map { v in r.fixedTime(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
[317/356] Compiling OperantKit FI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/CRF.swift:19:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
17 | /// - Tag: .CRF()
18 | func CRF() -> Single<Bool> {
19 | return map { r in r.fixedRatio(1) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/EXT.swift:28:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
26 | /// - Tag: .EXT()
27 | func EXT() -> Single<Bool> {
28 | return map { $0.extinction() }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:46:45: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
44 |
45 | /// Store the last response and return tuple
46 | func store(startWith: PrimitiveSequence.Element) -> Single<(newValue: Element, oldValue: Element)> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
47 | return asObservable().store(startWith: startWith).asSingle()
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:29:48: error: argument passed to call that takes no arguments
27 | /// - Tag: .FI()
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:30:58: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:40:48: error: argument passed to call that takes no arguments
38 | /// - Tag: .FI()
39 | func FI(_ value: Single<Int>) -> Single<Bool> {
40 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
41 | .flatMap { a in
42 | value.map { b in
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:43:51: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
41 | .flatMap { a in
42 | value.map { b in
43 | a.newValue.fixedInterval(b, a.oldValue.numOfResponses)
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:38:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
36 | /// - Tag: .FR()
37 | func FR(_ value: @escaping @autoclosure () -> Int) -> Single<Bool> {
38 | return map { r in r.fixedRatio(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:51:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
49 | /// - Tag: .FR()
50 | func FR(_ value: Single<Int>) -> Single<Bool> {
51 | return flatMap { r in value.map { v in r.fixedRatio(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:29:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
27 | /// - Tag: .FT()
28 | func FT(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return map { r in r.fixedTime(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:39:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
37 | /// - Tag: .FT()
38 | func FT(_ value: Single<Int>) -> Single<Bool> {
39 | return flatMap { r in value.map { v in r.fixedTime(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
[318/356] Compiling OperantKit FR.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/CRF.swift:19:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
17 | /// - Tag: .CRF()
18 | func CRF() -> Single<Bool> {
19 | return map { r in r.fixedRatio(1) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/EXT.swift:28:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
26 | /// - Tag: .EXT()
27 | func EXT() -> Single<Bool> {
28 | return map { $0.extinction() }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:46:45: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
44 |
45 | /// Store the last response and return tuple
46 | func store(startWith: PrimitiveSequence.Element) -> Single<(newValue: Element, oldValue: Element)> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
47 | return asObservable().store(startWith: startWith).asSingle()
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:29:48: error: argument passed to call that takes no arguments
27 | /// - Tag: .FI()
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:30:58: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:40:48: error: argument passed to call that takes no arguments
38 | /// - Tag: .FI()
39 | func FI(_ value: Single<Int>) -> Single<Bool> {
40 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
41 | .flatMap { a in
42 | value.map { b in
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:43:51: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
41 | .flatMap { a in
42 | value.map { b in
43 | a.newValue.fixedInterval(b, a.oldValue.numOfResponses)
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:38:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
36 | /// - Tag: .FR()
37 | func FR(_ value: @escaping @autoclosure () -> Int) -> Single<Bool> {
38 | return map { r in r.fixedRatio(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:51:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
49 | /// - Tag: .FR()
50 | func FR(_ value: Single<Int>) -> Single<Bool> {
51 | return flatMap { r in value.map { v in r.fixedRatio(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:29:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
27 | /// - Tag: .FT()
28 | func FT(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return map { r in r.fixedTime(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:39:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
37 | /// - Tag: .FT()
38 | func FT(_ value: Single<Int>) -> Single<Bool> {
39 | return flatMap { r in value.map { v in r.fixedTime(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
[319/356] Compiling OperantKit FT.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/CRF.swift:19:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
17 | /// - Tag: .CRF()
18 | func CRF() -> Single<Bool> {
19 | return map { r in r.fixedRatio(1) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/EXT.swift:28:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
26 | /// - Tag: .EXT()
27 | func EXT() -> Single<Bool> {
28 | return map { $0.extinction() }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:46:45: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
44 |
45 | /// Store the last response and return tuple
46 | func store(startWith: PrimitiveSequence.Element) -> Single<(newValue: Element, oldValue: Element)> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
47 | return asObservable().store(startWith: startWith).asSingle()
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:29:48: error: argument passed to call that takes no arguments
27 | /// - Tag: .FI()
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:30:58: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:40:48: error: argument passed to call that takes no arguments
38 | /// - Tag: .FI()
39 | func FI(_ value: Single<Int>) -> Single<Bool> {
40 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
41 | .flatMap { a in
42 | value.map { b in
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:43:51: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
41 | .flatMap { a in
42 | value.map { b in
43 | a.newValue.fixedInterval(b, a.oldValue.numOfResponses)
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:38:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
36 | /// - Tag: .FR()
37 | func FR(_ value: @escaping @autoclosure () -> Int) -> Single<Bool> {
38 | return map { r in r.fixedRatio(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:51:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
49 | /// - Tag: .FR()
50 | func FR(_ value: Single<Int>) -> Single<Bool> {
51 | return flatMap { r in value.map { v in r.fixedRatio(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:29:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
27 | /// - Tag: .FT()
28 | func FT(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return map { r in r.fixedTime(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:39:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
37 | /// - Tag: .FT()
38 | func FT(_ value: Single<Int>) -> Single<Bool> {
39 | return flatMap { r in value.map { v in r.fixedTime(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
[320/356] Compiling OperantKit RI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/CRF.swift:19:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
17 | /// - Tag: .CRF()
18 | func CRF() -> Single<Bool> {
19 | return map { r in r.fixedRatio(1) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
20 | }
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/EXT.swift:28:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
26 | /// - Tag: .EXT()
27 | func EXT() -> Single<Bool> {
28 | return map { $0.extinction() }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:46:45: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
44 |
45 | /// Store the last response and return tuple
46 | func store(startWith: PrimitiveSequence.Element) -> Single<(newValue: Element, oldValue: Element)> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
47 | return asObservable().store(startWith: startWith).asSingle()
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:29:48: error: argument passed to call that takes no arguments
27 | /// - Tag: .FI()
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:30:58: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
28 | func FI(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return store(startWith: ResponseEntity.zero)
30 | .map { $0.newValue.fixedInterval(value(), $0.oldValue.numOfResponses) }
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:40:48: error: argument passed to call that takes no arguments
38 | /// - Tag: .FI()
39 | func FI(_ value: Single<Int>) -> Single<Bool> {
40 | return store(startWith: ResponseEntity.zero)
| `- error: argument passed to call that takes no arguments
41 | .flatMap { a in
42 | value.map { b in
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FI.swift:43:51: error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
41 | .flatMap { a in
42 | value.map { b in
43 | a.newValue.fixedInterval(b, a.oldValue.numOfResponses)
| |- error: value of optional type 'ResponseEntity?' must be unwrapped to refer to member 'numOfResponses' of wrapped base type 'ResponseEntity'
| |- note: chain the optional using '?' to access member 'numOfResponses' only for non-'nil' base values
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:38:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
36 | /// - Tag: .FR()
37 | func FR(_ value: @escaping @autoclosure () -> Int) -> Single<Bool> {
38 | return map { r in r.fixedRatio(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FR.swift:51:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
49 | /// - Tag: .FR()
50 | func FR(_ value: Single<Int>) -> Single<Bool> {
51 | return flatMap { r in value.map { v in r.fixedRatio(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
52 | }
53 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:29:16: error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
27 | /// - Tag: .FT()
28 | func FT(_ value: @escaping @autoclosure () -> Milliseconds) -> Single<Bool> {
29 | return map { r in r.fixedTime(value()) }
| `- error: referencing instance method 'map' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Common/Schedules/FT.swift:39:16: error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
37 | /// - Tag: .FT()
38 | func FT(_ value: Single<Int>) -> Single<Bool> {
39 | return flatMap { r in value.map { v in r.fixedTime(v) } }
| `- error: referencing instance method 'flatMap' on 'PrimitiveSequenceType' requires the types 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait') and 'SingleTrait' be equivalent
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/Single.swift:154:1: note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
152 | }
153 |
154 | extension PrimitiveSequenceType where TraitType == SingleTrait {
| `- note: where 'Self.TraitType' = 'PrimitiveSequence<Trait, ResponseEntity>.TraitType' (aka 'Trait')
155 |
156 | /**
[321/356] Compiling OperantKit RandomIntervalScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
[322/356] Compiling OperantKit RandomRatioScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
[323/356] Compiling OperantKit RandomTimeScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
[324/356] Compiling OperantKit ScheduleUseCaseBase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
[325/356] Compiling OperantKit StepTimerUseCaseTimerUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
[326/356] Compiling OperantKit VariableIntervalScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
[327/356] Compiling OperantKit VariableRatioScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
[328/356] Compiling OperantKit VariableTimeScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
[329/356] Compiling OperantKit WhileLoopTimerUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
[330/356] Compiling OperantKit ScheduleBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ExperimentType.swift:20:23: warning: static property 'discreteTrial' produces an empty option set
18 |
19 | /// Discrete trial procedure
20 | public static let discreteTrial = ExperimentType(rawValue: 0)
| |- warning: static property 'discreteTrial' produces an empty option set
| `- note: use [] to silence this warning
21 | /// Continuous free-operant procedure
22 | public static let freeOperant = ExperimentType(rawValue: 1)
[331/356] Compiling OperantKit ExitCondition.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ExperimentType.swift:20:23: warning: static property 'discreteTrial' produces an empty option set
18 |
19 | /// Discrete trial procedure
20 | public static let discreteTrial = ExperimentType(rawValue: 0)
| |- warning: static property 'discreteTrial' produces an empty option set
| `- note: use [] to silence this warning
21 | /// Continuous free-operant procedure
22 | public static let freeOperant = ExperimentType(rawValue: 1)
[332/356] Compiling OperantKit ExperimentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ExperimentType.swift:20:23: warning: static property 'discreteTrial' produces an empty option set
18 |
19 | /// Discrete trial procedure
20 | public static let discreteTrial = ExperimentType(rawValue: 0)
| |- warning: static property 'discreteTrial' produces an empty option set
| `- note: use [] to silence this warning
21 | /// Continuous free-operant procedure
22 | public static let freeOperant = ExperimentType(rawValue: 1)
[333/356] Compiling OperantKit Parameter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ExperimentType.swift:20:23: warning: static property 'discreteTrial' produces an empty option set
18 |
19 | /// Discrete trial procedure
20 | public static let discreteTrial = ExperimentType(rawValue: 0)
| |- warning: static property 'discreteTrial' produces an empty option set
| `- note: use [] to silence this warning
21 | /// Continuous free-operant procedure
22 | public static let freeOperant = ExperimentType(rawValue: 1)
[334/356] Compiling OperantKit ParameterType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ExperimentType.swift:20:23: warning: static property 'discreteTrial' produces an empty option set
18 |
19 | /// Discrete trial procedure
20 | public static let discreteTrial = ExperimentType(rawValue: 0)
| |- warning: static property 'discreteTrial' produces an empty option set
| `- note: use [] to silence this warning
21 | /// Continuous free-operant procedure
22 | public static let freeOperant = ExperimentType(rawValue: 1)
[335/356] Compiling OperantKit PostpositionSchedule.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ExperimentType.swift:20:23: warning: static property 'discreteTrial' produces an empty option set
18 |
19 | /// Discrete trial procedure
20 | public static let discreteTrial = ExperimentType(rawValue: 0)
| |- warning: static property 'discreteTrial' produces an empty option set
| `- note: use [] to silence this warning
21 | /// Continuous free-operant procedure
22 | public static let freeOperant = ExperimentType(rawValue: 1)
[336/356] Compiling OperantKit PrepositionSchedule.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ExperimentType.swift:20:23: warning: static property 'discreteTrial' produces an empty option set
18 |
19 | /// Discrete trial procedure
20 | public static let discreteTrial = ExperimentType(rawValue: 0)
| |- warning: static property 'discreteTrial' produces an empty option set
| `- note: use [] to silence this warning
21 | /// Continuous free-operant procedure
22 | public static let freeOperant = ExperimentType(rawValue: 1)
[337/356] Compiling OperantKit Priority.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ExperimentType.swift:20:23: warning: static property 'discreteTrial' produces an empty option set
18 |
19 | /// Discrete trial procedure
20 | public static let discreteTrial = ExperimentType(rawValue: 0)
| |- warning: static property 'discreteTrial' produces an empty option set
| `- note: use [] to silence this warning
21 | /// Continuous free-operant procedure
22 | public static let freeOperant = ExperimentType(rawValue: 1)
[338/356] Compiling OperantKit ScheduleType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ExperimentType.swift:20:23: warning: static property 'discreteTrial' produces an empty option set
18 |
19 | /// Discrete trial procedure
20 | public static let discreteTrial = ExperimentType(rawValue: 0)
| |- warning: static property 'discreteTrial' produces an empty option set
| `- note: use [] to silence this warning
21 | /// Continuous free-operant procedure
22 | public static let freeOperant = ExperimentType(rawValue: 1)
[339/356] Compiling OperantKit ScheduleParameterable.swift
[340/356] Compiling OperantKit ScheduleRecordable.swift
[341/356] Compiling OperantKit ScheduleRepository.swift
[342/356] Compiling OperantKit ScheduleUseCase.swift
[343/356] Compiling OperantKit TimeUnitable.swift
[344/356] Compiling OperantKit TimerUseCase.swift
[345/356] Compiling OperantKit TrialParameter.swift
[346/356] Compiling OperantKit TrialRecordable.swift
[347/356] Compiling OperantKit DecisionSchedule.swift
[348/356] Compiling OperantKit CADisplayLinkTimerUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[349/356] Compiling OperantKit CVDisplayLinkTimerUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[350/356] Compiling OperantKit CompoundScheduleUseCaseBase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[351/356] Compiling OperantKit ConcurrentScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[352/356] Compiling OperantKit DiscreteTrialUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[353/356] Compiling OperantKit ExtinctionScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[354/356] Compiling OperantKit FixedIntervalScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[355/356] Compiling OperantKit FixedRatioScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
[356/356] Compiling OperantKit FixedTimeScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:62: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:33:104: error: 'Element' is not a member type of type 'O'
31 | - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
32 | */
33 | func flatMap<O>(_ selector: @escaping (PrimitiveSequence.Element) throws -> O) -> RxSwift.Single<O.Element> where O : ObservableConvertibleType {
| `- error: 'Element' is not a member type of type 'O'
34 | return asObservable().flatMap(selector).asSingle()
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Application/Extensions/PrimitiveSequence+.swift:21:59: error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
19 |
20 | */
21 | func map<R>(_ transform: @escaping (PrimitiveSequence.Element) throws -> R) -> RxSwift.Single<R> {
| `- error: 'Element' is not a member type of generic struct 'RxSwift.PrimitiveSequence<Trait, Element>'
22 | return asObservable().map(transform).asSingle()
23 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/PrimitiveSequence.swift:10:15: note: 'PrimitiveSequence' declared here
8 |
9 | /// Observable sequences containing 0 or 1 element.
10 | public struct PrimitiveSequence<Trait, Element> {
| `- note: 'PrimitiveSequence' declared here
11 | let source: Observable<Element>
12 |
BUILD FAILURE 6.1 macosSpm