Build Information
Failed to build OperantKit with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/TrialState.swift:22:23: warning: static property 'didReinforcement' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Trial state
11 | public struct TrialState: OptionSet, Equatable {
| `- note: consider making struct 'TrialState' conform to the 'Sendable' protocol
12 | /// The raw value of the option set
13 | public var rawValue: UInt8
:
20 | public static let ready = TrialState(rawValue: 0)
21 | /// The trial occured reinforcement
22 | public static let didReinforcement = TrialState(rawValue: 1)
| |- warning: static property 'didReinforcement' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'didReinforcement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:42:23: warning: static property 'extinction' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
40 |
41 | // MARK: - Extinction schedule
42 | public static let extinction = ScheduleType(
| |- warning: static property 'extinction' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extinction' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | rawValue: 0b00000000_00000000_00000000_00000000_0000000000000000_0000000000000000,
44 | shortName: "EXT",
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:77:23: warning: static property 'fixedInterval' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
75 |
76 | /// Fixed interval
77 | public static let fixedInterval: ScheduleType =
| |- warning: static property 'fixedInterval' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedInterval' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | ScheduleType(
79 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.IntervalSchedule.rawValue),
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:51:23: warning: static property 'fixedRatio' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
49 |
50 | /// Fixed ratio
51 | public static let fixedRatio: ScheduleType =
| |- warning: static property 'fixedRatio' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedRatio' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | ScheduleType(
53 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.RatioSchedule.rawValue),
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:103:23: warning: static property 'fixedTime' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
101 |
102 | /// Fixed time
103 | public static let fixedTime: ScheduleType =
| |- warning: static property 'fixedTime' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | ScheduleType(
105 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.TimeSchedule.rawValue),
[346/360] Compiling OperantKit ConcurrentScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Helpers/TimeHelper.swift:11:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeHelper' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct TimeHelper {
| `- note: consider making struct 'TimeHelper' conform to the 'Sendable' protocol
11 | public static let shared = TimeHelper()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeHelper' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public let numer: UInt64
13 | public let denom: UInt64
/Users/admin/builder/spi-builder-workspace/Sources/Domain/UseCases/CVDisplayLinkTimerUseCase.swift:81:17: warning: capture of 'self' with non-sendable type 'CVDisplayLinkTimerUseCase?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | import RxSwift
12 |
13 | public class CVDisplayLinkTimerUseCase: TimerUseCase {
| `- note: class 'CVDisplayLinkTimerUseCase' does not conform to the 'Sendable' protocol
14 | private typealias StackItem = (milliseconds: Milliseconds, closure: (() -> Void))
15 | private var lock = NSLock()
:
79 | CVDisplayLinkCreateWithCGDisplay(displayID, &self.displayLink)
80 | CVDisplayLinkSetOutputHandler(self.displayLink, { [weak self] displayLink, _, _, _, _ -> CVReturn in
81 | self?.updateTime(displayLink)
| `- warning: capture of 'self' with non-sendable type 'CVDisplayLinkTimerUseCase?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | return kCVReturnSuccess
83 | })
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/TrialState.swift:20:23: warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Trial state
11 | public struct TrialState: OptionSet, Equatable {
| `- note: consider making struct 'TrialState' conform to the 'Sendable' protocol
12 | /// The raw value of the option set
13 | public var rawValue: UInt8
:
18 |
19 | /// Ready for the trial
20 | public static let ready = TrialState(rawValue: 0)
| |- warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ready' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// The trial occured reinforcement
22 | public static let didReinforcement = TrialState(rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/TrialState.swift:22:23: warning: static property 'didReinforcement' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Trial state
11 | public struct TrialState: OptionSet, Equatable {
| `- note: consider making struct 'TrialState' conform to the 'Sendable' protocol
12 | /// The raw value of the option set
13 | public var rawValue: UInt8
:
20 | public static let ready = TrialState(rawValue: 0)
21 | /// The trial occured reinforcement
22 | public static let didReinforcement = TrialState(rawValue: 1)
| |- warning: static property 'didReinforcement' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'didReinforcement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:42:23: warning: static property 'extinction' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
40 |
41 | // MARK: - Extinction schedule
42 | public static let extinction = ScheduleType(
| |- warning: static property 'extinction' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extinction' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | rawValue: 0b00000000_00000000_00000000_00000000_0000000000000000_0000000000000000,
44 | shortName: "EXT",
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:77:23: warning: static property 'fixedInterval' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
75 |
76 | /// Fixed interval
77 | public static let fixedInterval: ScheduleType =
| |- warning: static property 'fixedInterval' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedInterval' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | ScheduleType(
79 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.IntervalSchedule.rawValue),
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:51:23: warning: static property 'fixedRatio' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
49 |
50 | /// Fixed ratio
51 | public static let fixedRatio: ScheduleType =
| |- warning: static property 'fixedRatio' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedRatio' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | ScheduleType(
53 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.RatioSchedule.rawValue),
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:103:23: warning: static property 'fixedTime' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
101 |
102 | /// Fixed time
103 | public static let fixedTime: ScheduleType =
| |- warning: static property 'fixedTime' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | ScheduleType(
105 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.TimeSchedule.rawValue),
[347/360] Compiling OperantKit DiscreteTrialUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Helpers/TimeHelper.swift:11:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeHelper' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct TimeHelper {
| `- note: consider making struct 'TimeHelper' conform to the 'Sendable' protocol
11 | public static let shared = TimeHelper()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeHelper' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public let numer: UInt64
13 | public let denom: UInt64
/Users/admin/builder/spi-builder-workspace/Sources/Domain/UseCases/CVDisplayLinkTimerUseCase.swift:81:17: warning: capture of 'self' with non-sendable type 'CVDisplayLinkTimerUseCase?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | import RxSwift
12 |
13 | public class CVDisplayLinkTimerUseCase: TimerUseCase {
| `- note: class 'CVDisplayLinkTimerUseCase' does not conform to the 'Sendable' protocol
14 | private typealias StackItem = (milliseconds: Milliseconds, closure: (() -> Void))
15 | private var lock = NSLock()
:
79 | CVDisplayLinkCreateWithCGDisplay(displayID, &self.displayLink)
80 | CVDisplayLinkSetOutputHandler(self.displayLink, { [weak self] displayLink, _, _, _, _ -> CVReturn in
81 | self?.updateTime(displayLink)
| `- warning: capture of 'self' with non-sendable type 'CVDisplayLinkTimerUseCase?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | return kCVReturnSuccess
83 | })
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/TrialState.swift:20:23: warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Trial state
11 | public struct TrialState: OptionSet, Equatable {
| `- note: consider making struct 'TrialState' conform to the 'Sendable' protocol
12 | /// The raw value of the option set
13 | public var rawValue: UInt8
:
18 |
19 | /// Ready for the trial
20 | public static let ready = TrialState(rawValue: 0)
| |- warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ready' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// The trial occured reinforcement
22 | public static let didReinforcement = TrialState(rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/TrialState.swift:22:23: warning: static property 'didReinforcement' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Trial state
11 | public struct TrialState: OptionSet, Equatable {
| `- note: consider making struct 'TrialState' conform to the 'Sendable' protocol
12 | /// The raw value of the option set
13 | public var rawValue: UInt8
:
20 | public static let ready = TrialState(rawValue: 0)
21 | /// The trial occured reinforcement
22 | public static let didReinforcement = TrialState(rawValue: 1)
| |- warning: static property 'didReinforcement' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'didReinforcement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:42:23: warning: static property 'extinction' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
40 |
41 | // MARK: - Extinction schedule
42 | public static let extinction = ScheduleType(
| |- warning: static property 'extinction' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extinction' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | rawValue: 0b00000000_00000000_00000000_00000000_0000000000000000_0000000000000000,
44 | shortName: "EXT",
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:77:23: warning: static property 'fixedInterval' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
75 |
76 | /// Fixed interval
77 | public static let fixedInterval: ScheduleType =
| |- warning: static property 'fixedInterval' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedInterval' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | ScheduleType(
79 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.IntervalSchedule.rawValue),
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:51:23: warning: static property 'fixedRatio' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
49 |
50 | /// Fixed ratio
51 | public static let fixedRatio: ScheduleType =
| |- warning: static property 'fixedRatio' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedRatio' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | ScheduleType(
53 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.RatioSchedule.rawValue),
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:103:23: warning: static property 'fixedTime' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
101 |
102 | /// Fixed time
103 | public static let fixedTime: ScheduleType =
| |- warning: static property 'fixedTime' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | ScheduleType(
105 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.TimeSchedule.rawValue),
[348/360] Compiling OperantKit ExtinctionScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Helpers/TimeHelper.swift:11:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeHelper' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct TimeHelper {
| `- note: consider making struct 'TimeHelper' conform to the 'Sendable' protocol
11 | public static let shared = TimeHelper()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeHelper' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public let numer: UInt64
13 | public let denom: UInt64
/Users/admin/builder/spi-builder-workspace/Sources/Domain/UseCases/CVDisplayLinkTimerUseCase.swift:81:17: warning: capture of 'self' with non-sendable type 'CVDisplayLinkTimerUseCase?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | import RxSwift
12 |
13 | public class CVDisplayLinkTimerUseCase: TimerUseCase {
| `- note: class 'CVDisplayLinkTimerUseCase' does not conform to the 'Sendable' protocol
14 | private typealias StackItem = (milliseconds: Milliseconds, closure: (() -> Void))
15 | private var lock = NSLock()
:
79 | CVDisplayLinkCreateWithCGDisplay(displayID, &self.displayLink)
80 | CVDisplayLinkSetOutputHandler(self.displayLink, { [weak self] displayLink, _, _, _, _ -> CVReturn in
81 | self?.updateTime(displayLink)
| `- warning: capture of 'self' with non-sendable type 'CVDisplayLinkTimerUseCase?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | return kCVReturnSuccess
83 | })
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/TrialState.swift:20:23: warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Trial state
11 | public struct TrialState: OptionSet, Equatable {
| `- note: consider making struct 'TrialState' conform to the 'Sendable' protocol
12 | /// The raw value of the option set
13 | public var rawValue: UInt8
:
18 |
19 | /// Ready for the trial
20 | public static let ready = TrialState(rawValue: 0)
| |- warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ready' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// The trial occured reinforcement
22 | public static let didReinforcement = TrialState(rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/TrialState.swift:22:23: warning: static property 'didReinforcement' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Trial state
11 | public struct TrialState: OptionSet, Equatable {
| `- note: consider making struct 'TrialState' conform to the 'Sendable' protocol
12 | /// The raw value of the option set
13 | public var rawValue: UInt8
:
20 | public static let ready = TrialState(rawValue: 0)
21 | /// The trial occured reinforcement
22 | public static let didReinforcement = TrialState(rawValue: 1)
| |- warning: static property 'didReinforcement' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'didReinforcement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:42:23: warning: static property 'extinction' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
40 |
41 | // MARK: - Extinction schedule
42 | public static let extinction = ScheduleType(
| |- warning: static property 'extinction' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extinction' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | rawValue: 0b00000000_00000000_00000000_00000000_0000000000000000_0000000000000000,
44 | shortName: "EXT",
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:77:23: warning: static property 'fixedInterval' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
75 |
76 | /// Fixed interval
77 | public static let fixedInterval: ScheduleType =
| |- warning: static property 'fixedInterval' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedInterval' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | ScheduleType(
79 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.IntervalSchedule.rawValue),
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:51:23: warning: static property 'fixedRatio' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
49 |
50 | /// Fixed ratio
51 | public static let fixedRatio: ScheduleType =
| |- warning: static property 'fixedRatio' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedRatio' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | ScheduleType(
53 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.RatioSchedule.rawValue),
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:103:23: warning: static property 'fixedTime' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
101 |
102 | /// Fixed time
103 | public static let fixedTime: ScheduleType =
| |- warning: static property 'fixedTime' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | ScheduleType(
105 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.TimeSchedule.rawValue),
[349/360] Compiling OperantKit FixedIntervalScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Helpers/TimeHelper.swift:11:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeHelper' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct TimeHelper {
| `- note: consider making struct 'TimeHelper' conform to the 'Sendable' protocol
11 | public static let shared = TimeHelper()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeHelper' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public let numer: UInt64
13 | public let denom: UInt64
/Users/admin/builder/spi-builder-workspace/Sources/Domain/UseCases/CVDisplayLinkTimerUseCase.swift:81:17: warning: capture of 'self' with non-sendable type 'CVDisplayLinkTimerUseCase?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | import RxSwift
12 |
13 | public class CVDisplayLinkTimerUseCase: TimerUseCase {
| `- note: class 'CVDisplayLinkTimerUseCase' does not conform to the 'Sendable' protocol
14 | private typealias StackItem = (milliseconds: Milliseconds, closure: (() -> Void))
15 | private var lock = NSLock()
:
79 | CVDisplayLinkCreateWithCGDisplay(displayID, &self.displayLink)
80 | CVDisplayLinkSetOutputHandler(self.displayLink, { [weak self] displayLink, _, _, _, _ -> CVReturn in
81 | self?.updateTime(displayLink)
| `- warning: capture of 'self' with non-sendable type 'CVDisplayLinkTimerUseCase?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | return kCVReturnSuccess
83 | })
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/TrialState.swift:20:23: warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Trial state
11 | public struct TrialState: OptionSet, Equatable {
| `- note: consider making struct 'TrialState' conform to the 'Sendable' protocol
12 | /// The raw value of the option set
13 | public var rawValue: UInt8
:
18 |
19 | /// Ready for the trial
20 | public static let ready = TrialState(rawValue: 0)
| |- warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ready' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// The trial occured reinforcement
22 | public static let didReinforcement = TrialState(rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/TrialState.swift:22:23: warning: static property 'didReinforcement' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Trial state
11 | public struct TrialState: OptionSet, Equatable {
| `- note: consider making struct 'TrialState' conform to the 'Sendable' protocol
12 | /// The raw value of the option set
13 | public var rawValue: UInt8
:
20 | public static let ready = TrialState(rawValue: 0)
21 | /// The trial occured reinforcement
22 | public static let didReinforcement = TrialState(rawValue: 1)
| |- warning: static property 'didReinforcement' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'didReinforcement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:42:23: warning: static property 'extinction' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
40 |
41 | // MARK: - Extinction schedule
42 | public static let extinction = ScheduleType(
| |- warning: static property 'extinction' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extinction' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | rawValue: 0b00000000_00000000_00000000_00000000_0000000000000000_0000000000000000,
44 | shortName: "EXT",
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:77:23: warning: static property 'fixedInterval' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
75 |
76 | /// Fixed interval
77 | public static let fixedInterval: ScheduleType =
| |- warning: static property 'fixedInterval' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedInterval' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | ScheduleType(
79 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.IntervalSchedule.rawValue),
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:51:23: warning: static property 'fixedRatio' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
49 |
50 | /// Fixed ratio
51 | public static let fixedRatio: ScheduleType =
| |- warning: static property 'fixedRatio' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedRatio' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | ScheduleType(
53 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.RatioSchedule.rawValue),
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:103:23: warning: static property 'fixedTime' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
101 |
102 | /// Fixed time
103 | public static let fixedTime: ScheduleType =
| |- warning: static property 'fixedTime' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | ScheduleType(
105 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.TimeSchedule.rawValue),
[350/360] Compiling OperantKit FixedRatioScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Helpers/TimeHelper.swift:11:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeHelper' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct TimeHelper {
| `- note: consider making struct 'TimeHelper' conform to the 'Sendable' protocol
11 | public static let shared = TimeHelper()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeHelper' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public let numer: UInt64
13 | public let denom: UInt64
/Users/admin/builder/spi-builder-workspace/Sources/Domain/UseCases/CVDisplayLinkTimerUseCase.swift:81:17: warning: capture of 'self' with non-sendable type 'CVDisplayLinkTimerUseCase?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | import RxSwift
12 |
13 | public class CVDisplayLinkTimerUseCase: TimerUseCase {
| `- note: class 'CVDisplayLinkTimerUseCase' does not conform to the 'Sendable' protocol
14 | private typealias StackItem = (milliseconds: Milliseconds, closure: (() -> Void))
15 | private var lock = NSLock()
:
79 | CVDisplayLinkCreateWithCGDisplay(displayID, &self.displayLink)
80 | CVDisplayLinkSetOutputHandler(self.displayLink, { [weak self] displayLink, _, _, _, _ -> CVReturn in
81 | self?.updateTime(displayLink)
| `- warning: capture of 'self' with non-sendable type 'CVDisplayLinkTimerUseCase?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | return kCVReturnSuccess
83 | })
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/TrialState.swift:20:23: warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Trial state
11 | public struct TrialState: OptionSet, Equatable {
| `- note: consider making struct 'TrialState' conform to the 'Sendable' protocol
12 | /// The raw value of the option set
13 | public var rawValue: UInt8
:
18 |
19 | /// Ready for the trial
20 | public static let ready = TrialState(rawValue: 0)
| |- warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ready' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// The trial occured reinforcement
22 | public static let didReinforcement = TrialState(rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/TrialState.swift:22:23: warning: static property 'didReinforcement' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Trial state
11 | public struct TrialState: OptionSet, Equatable {
| `- note: consider making struct 'TrialState' conform to the 'Sendable' protocol
12 | /// The raw value of the option set
13 | public var rawValue: UInt8
:
20 | public static let ready = TrialState(rawValue: 0)
21 | /// The trial occured reinforcement
22 | public static let didReinforcement = TrialState(rawValue: 1)
| |- warning: static property 'didReinforcement' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'didReinforcement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:42:23: warning: static property 'extinction' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
40 |
41 | // MARK: - Extinction schedule
42 | public static let extinction = ScheduleType(
| |- warning: static property 'extinction' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extinction' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | rawValue: 0b00000000_00000000_00000000_00000000_0000000000000000_0000000000000000,
44 | shortName: "EXT",
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:77:23: warning: static property 'fixedInterval' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
75 |
76 | /// Fixed interval
77 | public static let fixedInterval: ScheduleType =
| |- warning: static property 'fixedInterval' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedInterval' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | ScheduleType(
79 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.IntervalSchedule.rawValue),
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:51:23: warning: static property 'fixedRatio' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
49 |
50 | /// Fixed ratio
51 | public static let fixedRatio: ScheduleType =
| |- warning: static property 'fixedRatio' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedRatio' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | ScheduleType(
53 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.RatioSchedule.rawValue),
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:103:23: warning: static property 'fixedTime' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
101 |
102 | /// Fixed time
103 | public static let fixedTime: ScheduleType =
| |- warning: static property 'fixedTime' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | ScheduleType(
105 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.TimeSchedule.rawValue),
[351/360] Compiling OperantKit FixedTimeScheduleUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/Application/Helpers/TimeHelper.swift:11:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeHelper' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct TimeHelper {
| `- note: consider making struct 'TimeHelper' conform to the 'Sendable' protocol
11 | public static let shared = TimeHelper()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TimeHelper' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public let numer: UInt64
13 | public let denom: UInt64
/Users/admin/builder/spi-builder-workspace/Sources/Domain/UseCases/CVDisplayLinkTimerUseCase.swift:81:17: warning: capture of 'self' with non-sendable type 'CVDisplayLinkTimerUseCase?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | import RxSwift
12 |
13 | public class CVDisplayLinkTimerUseCase: TimerUseCase {
| `- note: class 'CVDisplayLinkTimerUseCase' does not conform to the 'Sendable' protocol
14 | private typealias StackItem = (milliseconds: Milliseconds, closure: (() -> Void))
15 | private var lock = NSLock()
:
79 | CVDisplayLinkCreateWithCGDisplay(displayID, &self.displayLink)
80 | CVDisplayLinkSetOutputHandler(self.displayLink, { [weak self] displayLink, _, _, _, _ -> CVReturn in
81 | self?.updateTime(displayLink)
| `- warning: capture of 'self' with non-sendable type 'CVDisplayLinkTimerUseCase?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | return kCVReturnSuccess
83 | })
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/TrialState.swift:20:23: warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Trial state
11 | public struct TrialState: OptionSet, Equatable {
| `- note: consider making struct 'TrialState' conform to the 'Sendable' protocol
12 | /// The raw value of the option set
13 | public var rawValue: UInt8
:
18 |
19 | /// Ready for the trial
20 | public static let ready = TrialState(rawValue: 0)
| |- warning: static property 'ready' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ready' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /// The trial occured reinforcement
22 | public static let didReinforcement = TrialState(rawValue: 1)
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/TrialState.swift:22:23: warning: static property 'didReinforcement' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// Trial state
11 | public struct TrialState: OptionSet, Equatable {
| `- note: consider making struct 'TrialState' conform to the 'Sendable' protocol
12 | /// The raw value of the option set
13 | public var rawValue: UInt8
:
20 | public static let ready = TrialState(rawValue: 0)
21 | /// The trial occured reinforcement
22 | public static let didReinforcement = TrialState(rawValue: 1)
| |- warning: static property 'didReinforcement' is not concurrency-safe because non-'Sendable' type 'TrialState' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'didReinforcement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:42:23: warning: static property 'extinction' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
40 |
41 | // MARK: - Extinction schedule
42 | public static let extinction = ScheduleType(
| |- warning: static property 'extinction' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extinction' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | rawValue: 0b00000000_00000000_00000000_00000000_0000000000000000_0000000000000000,
44 | shortName: "EXT",
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:77:23: warning: static property 'fixedInterval' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
75 |
76 | /// Fixed interval
77 | public static let fixedInterval: ScheduleType =
| |- warning: static property 'fixedInterval' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedInterval' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | ScheduleType(
79 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.IntervalSchedule.rawValue),
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:51:23: warning: static property 'fixedRatio' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
49 |
50 | /// Fixed ratio
51 | public static let fixedRatio: ScheduleType =
| |- warning: static property 'fixedRatio' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedRatio' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | ScheduleType(
53 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.RatioSchedule.rawValue),
/Users/admin/builder/spi-builder-workspace/Sources/Application/Enums/ScheduleType.swift:103:23: warning: static property 'fixedTime' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | */
21 | public struct ScheduleType: OptionSet {
| `- note: consider making struct 'ScheduleType' conform to the 'Sendable' protocol
22 | /// The raw value of the option set
23 | public let rawValue: UInt64
:
101 |
102 | /// Fixed time
103 | public static let fixedTime: ScheduleType =
| |- warning: static property 'fixedTime' is not concurrency-safe because non-'Sendable' type 'ScheduleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fixedTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | ScheduleType(
105 | rawValue: UInt64(PrepositionSchedule.FixedSchedule.rawValue) << 16 + UInt64(PostpositionSchedule.TimeSchedule.rawValue),
[352/360] 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 | /**
[353/360] 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 | /**
[354/360] 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 | /**
[355/360] 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 | /**
[356/360] 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 | /**
[357/360] 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 | /**
[358/360] 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 | /**
[359/360] 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 | /**
[360/360] 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 | /**
Fetching https://github.com/ReactiveX/RxSwift.git
[1/51416] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (5.23s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 4.5.0 (2.29s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 4.5.0
BUILD FAILURE 6.0 macosSpm