Build Information
Failed to build PaversFRP, reference master (6d13f6), with Swift 6.2 for Android on 17 Jun 2025 13:39:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/keithpitsui/paversfrp.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/keithpitsui/paversfrp
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 6d13f6b Update README.md
Cloned https://github.com/keithpitsui/paversfrp.git
Revision (git rev-parse @):
6d13f6ba112ce532f93d4729f9a4d22462f612ae
SUCCESS checkout https://github.com/keithpitsui/paversfrp.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/keithpitsui/paversfrp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/50] Emitting module PaversFRP
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/LensObject.swift:4:3: warning: 'public' modifier is redundant for static property declared in a public extension
2 |
3 | public extension LensObject {
4 | public static var lens: LensHolder<Self> {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
5 | return LensHolder()
6 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:21:2: warning: 'public' modifier is redundant for property declared in a public extension
19 | public extension Result {
20 | /// Returns the value if self represents a success, `nil` otherwise.
21 | public var value: Value? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
22 | return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:26:2: warning: 'public' modifier is redundant for property declared in a public extension
24 |
25 | /// Returns the error if self represents a failure, `nil` otherwise.
26 | public var error: Error? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
28 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Returns a new Result by mapping `Success`es’ values using `transform`, or re-wrapping `Failure`s’ errors.
31 | public func map<U>(_ transform: (Value) -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | return flatMap { .success(transform($0)) }
33 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:35:3: warning: 'public' modifier is redundant for operator function declared in a public extension
33 | }
34 |
35 | public static func <^> <T, U>(f: (T) -> U, a: Result<T, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
36 | return a.map(f)
37 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |
39 | /// Returns the result of applying `transform` to `Success`es’ values, or re-wrapping `Failure`’s errors.
40 | public func flatMap<U>(_ transform: (Value) -> Result<U, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return analysis(
42 | ifSuccess: transform,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:48:2: warning: 'public' modifier is redundant for instance method declared in a public extension
46 | /// Returns a Result with a tuple of the receiver and `other` values if both
47 | /// are `Success`es, or re-wrapping the error of the earlier `Failure`.
48 | public func fanout<U>(_ other: @autoclosure () -> Result<U, Error>) -> Result<(Value, U), Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
49 | return self.flatMap { left in other().map { right in (left, right) } }
50 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:53:2: warning: 'public' modifier is redundant for instance method declared in a public extension
51 |
52 | /// Returns a new Result by mapping `Failure`'s values using `transform`, or re-wrapping `Success`es’ values.
53 | public func mapError<Error2>(_ transform: (Error) -> Error2) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMapError { .failure(transform($0)) }
55 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:58:2: warning: 'public' modifier is redundant for instance method declared in a public extension
56 |
57 | /// Returns the result of applying `transform` to `Failure`’s errors, or re-wrapping `Success`es’ values.
58 | public func flatMapError<Error2>(_ transform: (Error) -> Result<Value, Error2>) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
59 | return analysis(
60 | ifSuccess: Result<Value, Error2>.success,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:65:2: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |
64 | /// Returns a new Result by mapping `Success`es’ values using `success`, and by mapping `Failure`'s values using `failure`.
65 | public func bimap<U, Error2>(success: (Value) -> U, failure: (Error) -> Error2) -> Result<U, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | return analysis(
67 | ifSuccess: { .success(success($0)) },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:78:2: warning: 'public' modifier is redundant for instance method declared in a public extension
76 |
77 | /// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
78 | public func recover(_ value: @autoclosure () -> Value) -> Value {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.value ?? value()
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:83:2: warning: 'public' modifier is redundant for instance method declared in a public extension
81 |
82 | /// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
83 | public func recover(with result: @autoclosure () -> Result<Value, Error>) -> Result<Value, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
84 | return analysis(
85 | ifSuccess: { _ in self },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:95:2: warning: 'public' modifier is redundant for instance method declared in a public extension
93 |
94 | /// Returns the result of applying `transform` to `Success`es’ values, or wrapping thrown errors.
95 | public func tryMap<U>(_ transform: (Value) throws -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
96 | return flatMap { value in
97 | do {
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: A function that interpolates between `self` and `b` as `t` varies from `0` to `1`.
20 | */
21 | public func lerp(_ b: Self) -> ((Self.Scalar) -> Self) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return { t in self * (Self.Scalar.one() - t) + b * t }
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:25:3: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | }
24 |
25 | public func subtract(_ v: Self) -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | return self.add(v.negateVector())
27 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:29:3: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | }
28 |
29 | public func negateVector() -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return self.scale(Self.Scalar.one().negate())
31 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new array with `nil` values removed.
5 | */
6 | public func compact() -> [Element.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return self.filter { $0.optional != nil }.map { $0.optional! }
8 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: The concatenation of all the values.
20 | */
21 | public func sconcat(_ initial: Element) -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return self.reduce(initial, <>)
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:27:3: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Array where Element: Monoid {
27 | public func sconcat() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | return self.reduce(Element.identity(), <>)
29 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | - returns: An array of distinct values in the array without changing the order.
40 | */
41 | public func distincts( _ eq: (Element, Element) -> Bool) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | var result = Array()
43 | forEach { x in
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:59:3: warning: 'public' modifier is redundant for instance method declared in a public extension
57 | via the `grouping` function.
58 | */
59 | public func groupedBy <K: Hashable> (_ grouping: (Element) -> K) -> [K:[Element]] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
60 | var result: [K:[Element]] = [:]
61 |
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:78:3: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | - returns: A sorted array.
77 | */
78 | public func sorted(comparator: Comparator<Element>) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.sorted(by: comparator.isOrdered)
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:91:3: warning: 'public' modifier is redundant for instance method declared in a public extension
89 | - returns: An array of distinct values in the array without changing the order.
90 | */
91 | public func distincts() -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
92 | return self.distincts(==)
93 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new dictionary with `nil` values removed.
5 | */
6 | public func compact() -> [Key:Value.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | var ret: [Key:Value.Wrapped] = [:]
8 | for (key, value) in self {
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:26:3: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | - returns: A merged dictionary.
25 | */
26 | public func withAllValuesFrom(_ other: Dictionary) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | var result = self
28 | other.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:40:3: warning: 'public' modifier is redundant for static method declared in a public extension
38 | - returns: A dictionary.
39 | */
40 | public static func keyValuePairs(_ pairs: [(Key, Value)]) -> Dictionary {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
41 | var result = Dictionary()
42 | pairs.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:55:3: warning: 'public' modifier is redundant for instance method declared in a public extension
53 | - returns: A new dictionary with keys transformed.
54 | */
55 | public func transformedKeys(_ f: (Key) -> Key) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
56 | return Dictionary.keyValuePairs(self.map { (f($0), $1) })
57 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Lens/Lens.swift:45:3: warning: 'public' modifier is redundant for property declared in a public extension
43 | public extension Lens where Part : Comparable {
44 | /// Constructs a comparator on `Whole` when `Part` conforms to `Comparable`.
45 | public var comparator: Comparator<Whole> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | return Comparator { lhs, rhs in
47 | self.view(lhs) < self.view(rhs) ? .lt
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:145:27: error: cannot find type 'NSErrorPointer' in scope
143 | file: String = #file,
144 | line: Int = #line,
145 | `try`: (NSErrorPointer) -> T?)
| `- error: cannot find type 'NSErrorPointer' in scope
146 | -> Result<T, NSError> {
147 | var error: NSError?
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:160:27: error: cannot find type 'NSErrorPointer' in scope
158 | file: String = #file,
159 | line: Int = #line,
160 | `try`: (NSErrorPointer) -> Bool)
| `- error: cannot find type 'NSErrorPointer' in scope
161 | -> Result<(), NSError> {
162 | var error: NSError?
[4/56] Compiling PaversFRP HKT+Array.swift
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/LensObject.swift:4:3: warning: 'public' modifier is redundant for static property declared in a public extension
2 |
3 | public extension LensObject {
4 | public static var lens: LensHolder<Self> {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
5 | return LensHolder()
6 | }
[5/56] Compiling PaversFRP HigherKindedType.swift
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/LensObject.swift:4:3: warning: 'public' modifier is redundant for static property declared in a public extension
2 |
3 | public extension LensObject {
4 | public static var lens: LensHolder<Self> {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
5 | return LensHolder()
6 | }
[6/56] Compiling PaversFRP Identity.swift
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/LensObject.swift:4:3: warning: 'public' modifier is redundant for static property declared in a public extension
2 |
3 | public extension LensObject {
4 | public static var lens: LensHolder<Self> {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
5 | return LensHolder()
6 | }
[7/56] Compiling PaversFRP EitherType.swift
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/LensObject.swift:4:3: warning: 'public' modifier is redundant for static property declared in a public extension
2 |
3 | public extension LensObject {
4 | public static var lens: LensHolder<Self> {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
5 | return LensHolder()
6 | }
[8/56] Compiling PaversFRP Enumerable.swift
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/LensObject.swift:4:3: warning: 'public' modifier is redundant for static property declared in a public extension
2 |
3 | public extension LensObject {
4 | public static var lens: LensHolder<Self> {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
5 | return LensHolder()
6 | }
[9/56] Compiling PaversFRP LensObject.swift
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/LensObject.swift:4:3: warning: 'public' modifier is redundant for static property declared in a public extension
2 |
3 | public extension LensObject {
4 | public static var lens: LensHolder<Self> {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
5 | return LensHolder()
6 | }
[10/56] Compiling PaversFRP Monoid.swift
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/LensObject.swift:4:3: warning: 'public' modifier is redundant for static property declared in a public extension
2 |
3 | public extension LensObject {
4 | public static var lens: LensHolder<Self> {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
5 | return LensHolder()
6 | }
[11/56] Compiling PaversFRP State+Monad.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Empty.swift:7:3: warning: will never be executed
4 |
5 | extension Empty : Equatable {}
6 | public func == (lhs: Empty, rhs: Empty) -> Bool {
| `- note: 'lhs' is of type 'Empty' which cannot be constructed because it is an enum with no cases
7 | return true
| `- warning: will never be executed
8 | }
9 |
[12/56] Compiling PaversFRP State.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Empty.swift:7:3: warning: will never be executed
4 |
5 | extension Empty : Equatable {}
6 | public func == (lhs: Empty, rhs: Empty) -> Bool {
| `- note: 'lhs' is of type 'Empty' which cannot be constructed because it is an enum with no cases
7 | return true
| `- warning: will never be executed
8 | }
9 |
[13/56] Compiling PaversFRP String.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Empty.swift:7:3: warning: will never be executed
4 |
5 | extension Empty : Equatable {}
6 | public func == (lhs: Empty, rhs: Empty) -> Bool {
| `- note: 'lhs' is of type 'Empty' which cannot be constructed because it is an enum with no cases
7 | return true
| `- warning: will never be executed
8 | }
9 |
[14/56] Compiling PaversFRP Bool.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Empty.swift:7:3: warning: will never be executed
4 |
5 | extension Empty : Equatable {}
6 | public func == (lhs: Empty, rhs: Empty) -> Bool {
| `- note: 'lhs' is of type 'Empty' which cannot be constructed because it is an enum with no cases
7 | return true
| `- warning: will never be executed
8 | }
9 |
[15/56] Compiling PaversFRP Either.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Empty.swift:7:3: warning: will never be executed
4 |
5 | extension Empty : Equatable {}
6 | public func == (lhs: Empty, rhs: Empty) -> Bool {
| `- note: 'lhs' is of type 'Empty' which cannot be constructed because it is an enum with no cases
7 | return true
| `- warning: will never be executed
8 | }
9 |
[16/56] Compiling PaversFRP Empty.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Empty.swift:7:3: warning: will never be executed
4 |
5 | extension Empty : Equatable {}
6 | public func == (lhs: Empty, rhs: Empty) -> Bool {
| `- note: 'lhs' is of type 'Empty' which cannot be constructed because it is an enum with no cases
7 | return true
| `- warning: will never be executed
8 | }
9 |
[17/56] Compiling PaversFRP Lens.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Lens/Lens.swift:45:3: warning: 'public' modifier is redundant for property declared in a public extension
43 | public extension Lens where Part : Comparable {
44 | /// Constructs a comparator on `Whole` when `Part` conforms to `Comparable`.
45 | public var comparator: Comparator<Whole> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | return Comparator { lhs, rhs in
47 | self.view(lhs) < self.view(rhs) ? .lt
[18/56] Compiling PaversFRP LensHolder.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Lens/Lens.swift:45:3: warning: 'public' modifier is redundant for property declared in a public extension
43 | public extension Lens where Part : Comparable {
44 | /// Constructs a comparator on `Whole` when `Part` conforms to `Comparable`.
45 | public var comparator: Comparator<Whole> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | return Comparator { lhs, rhs in
47 | self.view(lhs) < self.view(rhs) ? .lt
[19/56] Compiling PaversFRP Optional+Alternative.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Lens/Lens.swift:45:3: warning: 'public' modifier is redundant for property declared in a public extension
43 | public extension Lens where Part : Comparable {
44 | /// Constructs a comparator on `Whole` when `Part` conforms to `Comparable`.
45 | public var comparator: Comparator<Whole> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | return Comparator { lhs, rhs in
47 | self.view(lhs) < self.view(rhs) ? .lt
[20/56] Compiling PaversFRP Optional+Applicative.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Lens/Lens.swift:45:3: warning: 'public' modifier is redundant for property declared in a public extension
43 | public extension Lens where Part : Comparable {
44 | /// Constructs a comparator on `Whole` when `Part` conforms to `Comparable`.
45 | public var comparator: Comparator<Whole> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | return Comparator { lhs, rhs in
47 | self.view(lhs) < self.view(rhs) ? .lt
[21/56] Compiling PaversFRP Optional+Functor.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Lens/Lens.swift:45:3: warning: 'public' modifier is redundant for property declared in a public extension
43 | public extension Lens where Part : Comparable {
44 | /// Constructs a comparator on `Whole` when `Part` conforms to `Comparable`.
45 | public var comparator: Comparator<Whole> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | return Comparator { lhs, rhs in
47 | self.view(lhs) < self.view(rhs) ? .lt
[22/56] Compiling PaversFRP Optional+Monad.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Lens/Lens.swift:45:3: warning: 'public' modifier is redundant for property declared in a public extension
43 | public extension Lens where Part : Comparable {
44 | /// Constructs a comparator on `Whole` when `Part` conforms to `Comparable`.
45 | public var comparator: Comparator<Whole> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | return Comparator { lhs, rhs in
47 | self.view(lhs) < self.view(rhs) ? .lt
[23/56] Compiling PaversFRP Optional.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Lens/Lens.swift:45:3: warning: 'public' modifier is redundant for property declared in a public extension
43 | public extension Lens where Part : Comparable {
44 | /// Constructs a comparator on `Whole` when `Part` conforms to `Comparable`.
45 | public var comparator: Comparator<Whole> {
| `- warning: 'public' modifier is redundant for property declared in a public extension
46 | return Comparator { lhs, rhs in
47 | self.view(lhs) < self.view(rhs) ? .lt
[24/56] Compiling PaversFRP Pair.swift
[25/56] Compiling PaversFRP Tuple.swift
[26/56] Compiling PaversFRP Unit.swift
[27/56] Compiling PaversFRP Set+CartesianProduct.swift
[28/56] Compiling PaversFRP Set+Monoid.swift
[29/56] Compiling PaversFRP State+Functor.swift
[30/56] Compiling PaversFRP Array+Applicative.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new array with `nil` values removed.
5 | */
6 | public func compact() -> [Element.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return self.filter { $0.optional != nil }.map { $0.optional! }
8 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: The concatenation of all the values.
20 | */
21 | public func sconcat(_ initial: Element) -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return self.reduce(initial, <>)
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:27:3: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Array where Element: Monoid {
27 | public func sconcat() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | return self.reduce(Element.identity(), <>)
29 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | - returns: An array of distinct values in the array without changing the order.
40 | */
41 | public func distincts( _ eq: (Element, Element) -> Bool) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | var result = Array()
43 | forEach { x in
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:59:3: warning: 'public' modifier is redundant for instance method declared in a public extension
57 | via the `grouping` function.
58 | */
59 | public func groupedBy <K: Hashable> (_ grouping: (Element) -> K) -> [K:[Element]] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
60 | var result: [K:[Element]] = [:]
61 |
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:78:3: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | - returns: A sorted array.
77 | */
78 | public func sorted(comparator: Comparator<Element>) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.sorted(by: comparator.isOrdered)
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:91:3: warning: 'public' modifier is redundant for instance method declared in a public extension
89 | - returns: An array of distinct values in the array without changing the order.
90 | */
91 | public func distincts() -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
92 | return self.distincts(==)
93 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new dictionary with `nil` values removed.
5 | */
6 | public func compact() -> [Key:Value.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | var ret: [Key:Value.Wrapped] = [:]
8 | for (key, value) in self {
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:26:3: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | - returns: A merged dictionary.
25 | */
26 | public func withAllValuesFrom(_ other: Dictionary) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | var result = self
28 | other.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:40:3: warning: 'public' modifier is redundant for static method declared in a public extension
38 | - returns: A dictionary.
39 | */
40 | public static func keyValuePairs(_ pairs: [(Key, Value)]) -> Dictionary {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
41 | var result = Dictionary()
42 | pairs.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:55:3: warning: 'public' modifier is redundant for instance method declared in a public extension
53 | - returns: A new dictionary with keys transformed.
54 | */
55 | public func transformedKeys(_ f: (Key) -> Key) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
56 | return Dictionary.keyValuePairs(self.map { (f($0), $1) })
57 | }
[31/56] Compiling PaversFRP Array+Functor.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new array with `nil` values removed.
5 | */
6 | public func compact() -> [Element.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return self.filter { $0.optional != nil }.map { $0.optional! }
8 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: The concatenation of all the values.
20 | */
21 | public func sconcat(_ initial: Element) -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return self.reduce(initial, <>)
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:27:3: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Array where Element: Monoid {
27 | public func sconcat() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | return self.reduce(Element.identity(), <>)
29 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | - returns: An array of distinct values in the array without changing the order.
40 | */
41 | public func distincts( _ eq: (Element, Element) -> Bool) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | var result = Array()
43 | forEach { x in
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:59:3: warning: 'public' modifier is redundant for instance method declared in a public extension
57 | via the `grouping` function.
58 | */
59 | public func groupedBy <K: Hashable> (_ grouping: (Element) -> K) -> [K:[Element]] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
60 | var result: [K:[Element]] = [:]
61 |
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:78:3: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | - returns: A sorted array.
77 | */
78 | public func sorted(comparator: Comparator<Element>) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.sorted(by: comparator.isOrdered)
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:91:3: warning: 'public' modifier is redundant for instance method declared in a public extension
89 | - returns: An array of distinct values in the array without changing the order.
90 | */
91 | public func distincts() -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
92 | return self.distincts(==)
93 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new dictionary with `nil` values removed.
5 | */
6 | public func compact() -> [Key:Value.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | var ret: [Key:Value.Wrapped] = [:]
8 | for (key, value) in self {
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:26:3: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | - returns: A merged dictionary.
25 | */
26 | public func withAllValuesFrom(_ other: Dictionary) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | var result = self
28 | other.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:40:3: warning: 'public' modifier is redundant for static method declared in a public extension
38 | - returns: A dictionary.
39 | */
40 | public static func keyValuePairs(_ pairs: [(Key, Value)]) -> Dictionary {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
41 | var result = Dictionary()
42 | pairs.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:55:3: warning: 'public' modifier is redundant for instance method declared in a public extension
53 | - returns: A new dictionary with keys transformed.
54 | */
55 | public func transformedKeys(_ f: (Key) -> Key) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
56 | return Dictionary.keyValuePairs(self.map { (f($0), $1) })
57 | }
[32/56] Compiling PaversFRP Array+Monad.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new array with `nil` values removed.
5 | */
6 | public func compact() -> [Element.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return self.filter { $0.optional != nil }.map { $0.optional! }
8 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: The concatenation of all the values.
20 | */
21 | public func sconcat(_ initial: Element) -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return self.reduce(initial, <>)
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:27:3: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Array where Element: Monoid {
27 | public func sconcat() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | return self.reduce(Element.identity(), <>)
29 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | - returns: An array of distinct values in the array without changing the order.
40 | */
41 | public func distincts( _ eq: (Element, Element) -> Bool) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | var result = Array()
43 | forEach { x in
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:59:3: warning: 'public' modifier is redundant for instance method declared in a public extension
57 | via the `grouping` function.
58 | */
59 | public func groupedBy <K: Hashable> (_ grouping: (Element) -> K) -> [K:[Element]] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
60 | var result: [K:[Element]] = [:]
61 |
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:78:3: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | - returns: A sorted array.
77 | */
78 | public func sorted(comparator: Comparator<Element>) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.sorted(by: comparator.isOrdered)
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:91:3: warning: 'public' modifier is redundant for instance method declared in a public extension
89 | - returns: An array of distinct values in the array without changing the order.
90 | */
91 | public func distincts() -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
92 | return self.distincts(==)
93 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new dictionary with `nil` values removed.
5 | */
6 | public func compact() -> [Key:Value.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | var ret: [Key:Value.Wrapped] = [:]
8 | for (key, value) in self {
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:26:3: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | - returns: A merged dictionary.
25 | */
26 | public func withAllValuesFrom(_ other: Dictionary) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | var result = self
28 | other.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:40:3: warning: 'public' modifier is redundant for static method declared in a public extension
38 | - returns: A dictionary.
39 | */
40 | public static func keyValuePairs(_ pairs: [(Key, Value)]) -> Dictionary {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
41 | var result = Dictionary()
42 | pairs.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:55:3: warning: 'public' modifier is redundant for instance method declared in a public extension
53 | - returns: A new dictionary with keys transformed.
54 | */
55 | public func transformedKeys(_ f: (Key) -> Key) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
56 | return Dictionary.keyValuePairs(self.map { (f($0), $1) })
57 | }
[33/56] Compiling PaversFRP Array.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new array with `nil` values removed.
5 | */
6 | public func compact() -> [Element.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return self.filter { $0.optional != nil }.map { $0.optional! }
8 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: The concatenation of all the values.
20 | */
21 | public func sconcat(_ initial: Element) -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return self.reduce(initial, <>)
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:27:3: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Array where Element: Monoid {
27 | public func sconcat() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | return self.reduce(Element.identity(), <>)
29 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | - returns: An array of distinct values in the array without changing the order.
40 | */
41 | public func distincts( _ eq: (Element, Element) -> Bool) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | var result = Array()
43 | forEach { x in
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:59:3: warning: 'public' modifier is redundant for instance method declared in a public extension
57 | via the `grouping` function.
58 | */
59 | public func groupedBy <K: Hashable> (_ grouping: (Element) -> K) -> [K:[Element]] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
60 | var result: [K:[Element]] = [:]
61 |
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:78:3: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | - returns: A sorted array.
77 | */
78 | public func sorted(comparator: Comparator<Element>) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.sorted(by: comparator.isOrdered)
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:91:3: warning: 'public' modifier is redundant for instance method declared in a public extension
89 | - returns: An array of distinct values in the array without changing the order.
90 | */
91 | public func distincts() -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
92 | return self.distincts(==)
93 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new dictionary with `nil` values removed.
5 | */
6 | public func compact() -> [Key:Value.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | var ret: [Key:Value.Wrapped] = [:]
8 | for (key, value) in self {
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:26:3: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | - returns: A merged dictionary.
25 | */
26 | public func withAllValuesFrom(_ other: Dictionary) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | var result = self
28 | other.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:40:3: warning: 'public' modifier is redundant for static method declared in a public extension
38 | - returns: A dictionary.
39 | */
40 | public static func keyValuePairs(_ pairs: [(Key, Value)]) -> Dictionary {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
41 | var result = Dictionary()
42 | pairs.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:55:3: warning: 'public' modifier is redundant for instance method declared in a public extension
53 | - returns: A new dictionary with keys transformed.
54 | */
55 | public func transformedKeys(_ f: (Key) -> Key) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
56 | return Dictionary.keyValuePairs(self.map { (f($0), $1) })
57 | }
[34/56] Compiling PaversFRP NonEmpties.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new array with `nil` values removed.
5 | */
6 | public func compact() -> [Element.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return self.filter { $0.optional != nil }.map { $0.optional! }
8 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: The concatenation of all the values.
20 | */
21 | public func sconcat(_ initial: Element) -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return self.reduce(initial, <>)
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:27:3: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Array where Element: Monoid {
27 | public func sconcat() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | return self.reduce(Element.identity(), <>)
29 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | - returns: An array of distinct values in the array without changing the order.
40 | */
41 | public func distincts( _ eq: (Element, Element) -> Bool) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | var result = Array()
43 | forEach { x in
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:59:3: warning: 'public' modifier is redundant for instance method declared in a public extension
57 | via the `grouping` function.
58 | */
59 | public func groupedBy <K: Hashable> (_ grouping: (Element) -> K) -> [K:[Element]] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
60 | var result: [K:[Element]] = [:]
61 |
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:78:3: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | - returns: A sorted array.
77 | */
78 | public func sorted(comparator: Comparator<Element>) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.sorted(by: comparator.isOrdered)
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:91:3: warning: 'public' modifier is redundant for instance method declared in a public extension
89 | - returns: An array of distinct values in the array without changing the order.
90 | */
91 | public func distincts() -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
92 | return self.distincts(==)
93 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new dictionary with `nil` values removed.
5 | */
6 | public func compact() -> [Key:Value.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | var ret: [Key:Value.Wrapped] = [:]
8 | for (key, value) in self {
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:26:3: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | - returns: A merged dictionary.
25 | */
26 | public func withAllValuesFrom(_ other: Dictionary) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | var result = self
28 | other.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:40:3: warning: 'public' modifier is redundant for static method declared in a public extension
38 | - returns: A dictionary.
39 | */
40 | public static func keyValuePairs(_ pairs: [(Key, Value)]) -> Dictionary {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
41 | var result = Dictionary()
42 | pairs.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:55:3: warning: 'public' modifier is redundant for instance method declared in a public extension
53 | - returns: A new dictionary with keys transformed.
54 | */
55 | public func transformedKeys(_ f: (Key) -> Key) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
56 | return Dictionary.keyValuePairs(self.map { (f($0), $1) })
57 | }
[35/56] Compiling PaversFRP Comparator.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new array with `nil` values removed.
5 | */
6 | public func compact() -> [Element.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return self.filter { $0.optional != nil }.map { $0.optional! }
8 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: The concatenation of all the values.
20 | */
21 | public func sconcat(_ initial: Element) -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return self.reduce(initial, <>)
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:27:3: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Array where Element: Monoid {
27 | public func sconcat() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | return self.reduce(Element.identity(), <>)
29 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | - returns: An array of distinct values in the array without changing the order.
40 | */
41 | public func distincts( _ eq: (Element, Element) -> Bool) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | var result = Array()
43 | forEach { x in
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:59:3: warning: 'public' modifier is redundant for instance method declared in a public extension
57 | via the `grouping` function.
58 | */
59 | public func groupedBy <K: Hashable> (_ grouping: (Element) -> K) -> [K:[Element]] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
60 | var result: [K:[Element]] = [:]
61 |
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:78:3: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | - returns: A sorted array.
77 | */
78 | public func sorted(comparator: Comparator<Element>) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.sorted(by: comparator.isOrdered)
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:91:3: warning: 'public' modifier is redundant for instance method declared in a public extension
89 | - returns: An array of distinct values in the array without changing the order.
90 | */
91 | public func distincts() -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
92 | return self.distincts(==)
93 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new dictionary with `nil` values removed.
5 | */
6 | public func compact() -> [Key:Value.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | var ret: [Key:Value.Wrapped] = [:]
8 | for (key, value) in self {
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:26:3: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | - returns: A merged dictionary.
25 | */
26 | public func withAllValuesFrom(_ other: Dictionary) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | var result = self
28 | other.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:40:3: warning: 'public' modifier is redundant for static method declared in a public extension
38 | - returns: A dictionary.
39 | */
40 | public static func keyValuePairs(_ pairs: [(Key, Value)]) -> Dictionary {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
41 | var result = Dictionary()
42 | pairs.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:55:3: warning: 'public' modifier is redundant for instance method declared in a public extension
53 | - returns: A new dictionary with keys transformed.
54 | */
55 | public func transformedKeys(_ f: (Key) -> Key) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
56 | return Dictionary.keyValuePairs(self.map { (f($0), $1) })
57 | }
[36/56] Compiling PaversFRP Dictionary.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new array with `nil` values removed.
5 | */
6 | public func compact() -> [Element.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | return self.filter { $0.optional != nil }.map { $0.optional! }
8 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: The concatenation of all the values.
20 | */
21 | public func sconcat(_ initial: Element) -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return self.reduce(initial, <>)
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:27:3: warning: 'public' modifier is redundant for instance method declared in a public extension
25 |
26 | public extension Array where Element: Monoid {
27 | public func sconcat() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
28 | return self.reduce(Element.identity(), <>)
29 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:41:3: warning: 'public' modifier is redundant for instance method declared in a public extension
39 | - returns: An array of distinct values in the array without changing the order.
40 | */
41 | public func distincts( _ eq: (Element, Element) -> Bool) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
42 | var result = Array()
43 | forEach { x in
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:59:3: warning: 'public' modifier is redundant for instance method declared in a public extension
57 | via the `grouping` function.
58 | */
59 | public func groupedBy <K: Hashable> (_ grouping: (Element) -> K) -> [K:[Element]] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
60 | var result: [K:[Element]] = [:]
61 |
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:78:3: warning: 'public' modifier is redundant for instance method declared in a public extension
76 | - returns: A sorted array.
77 | */
78 | public func sorted(comparator: Comparator<Element>) -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.sorted(by: comparator.isOrdered)
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Array/Array.swift:91:3: warning: 'public' modifier is redundant for instance method declared in a public extension
89 | - returns: An array of distinct values in the array without changing the order.
90 | */
91 | public func distincts() -> Array {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
92 | return self.distincts(==)
93 | }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:6:3: warning: 'public' modifier is redundant for instance method declared in a public extension
4 | - returns: A new dictionary with `nil` values removed.
5 | */
6 | public func compact() -> [Key:Value.Wrapped] {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
7 | var ret: [Key:Value.Wrapped] = [:]
8 | for (key, value) in self {
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:26:3: warning: 'public' modifier is redundant for instance method declared in a public extension
24 | - returns: A merged dictionary.
25 | */
26 | public func withAllValuesFrom(_ other: Dictionary) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
27 | var result = self
28 | other.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:40:3: warning: 'public' modifier is redundant for static method declared in a public extension
38 | - returns: A dictionary.
39 | */
40 | public static func keyValuePairs(_ pairs: [(Key, Value)]) -> Dictionary {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
41 | var result = Dictionary()
42 | pairs.forEach { result[$0] = $1 }
/host/spi-builder-workspace/Sources/PaversFRP/Types/Dictionary.swift:55:3: warning: 'public' modifier is redundant for instance method declared in a public extension
53 | - returns: A new dictionary with keys transformed.
54 | */
55 | public func transformedKeys(_ f: (Key) -> Key) -> Dictionary {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
56 | return Dictionary.keyValuePairs(self.map { (f($0), $1) })
57 | }
[37/56] Compiling PaversFRP NonEmptyType.swift
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:21:2: warning: 'public' modifier is redundant for property declared in a public extension
19 | public extension Result {
20 | /// Returns the value if self represents a success, `nil` otherwise.
21 | public var value: Value? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
22 | return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:26:2: warning: 'public' modifier is redundant for property declared in a public extension
24 |
25 | /// Returns the error if self represents a failure, `nil` otherwise.
26 | public var error: Error? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
28 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Returns a new Result by mapping `Success`es’ values using `transform`, or re-wrapping `Failure`s’ errors.
31 | public func map<U>(_ transform: (Value) -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | return flatMap { .success(transform($0)) }
33 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:35:3: warning: 'public' modifier is redundant for operator function declared in a public extension
33 | }
34 |
35 | public static func <^> <T, U>(f: (T) -> U, a: Result<T, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
36 | return a.map(f)
37 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |
39 | /// Returns the result of applying `transform` to `Success`es’ values, or re-wrapping `Failure`’s errors.
40 | public func flatMap<U>(_ transform: (Value) -> Result<U, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return analysis(
42 | ifSuccess: transform,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:48:2: warning: 'public' modifier is redundant for instance method declared in a public extension
46 | /// Returns a Result with a tuple of the receiver and `other` values if both
47 | /// are `Success`es, or re-wrapping the error of the earlier `Failure`.
48 | public func fanout<U>(_ other: @autoclosure () -> Result<U, Error>) -> Result<(Value, U), Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
49 | return self.flatMap { left in other().map { right in (left, right) } }
50 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:53:2: warning: 'public' modifier is redundant for instance method declared in a public extension
51 |
52 | /// Returns a new Result by mapping `Failure`'s values using `transform`, or re-wrapping `Success`es’ values.
53 | public func mapError<Error2>(_ transform: (Error) -> Error2) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMapError { .failure(transform($0)) }
55 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:58:2: warning: 'public' modifier is redundant for instance method declared in a public extension
56 |
57 | /// Returns the result of applying `transform` to `Failure`’s errors, or re-wrapping `Success`es’ values.
58 | public func flatMapError<Error2>(_ transform: (Error) -> Result<Value, Error2>) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
59 | return analysis(
60 | ifSuccess: Result<Value, Error2>.success,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:65:2: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |
64 | /// Returns a new Result by mapping `Success`es’ values using `success`, and by mapping `Failure`'s values using `failure`.
65 | public func bimap<U, Error2>(success: (Value) -> U, failure: (Error) -> Error2) -> Result<U, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | return analysis(
67 | ifSuccess: { .success(success($0)) },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:78:2: warning: 'public' modifier is redundant for instance method declared in a public extension
76 |
77 | /// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
78 | public func recover(_ value: @autoclosure () -> Value) -> Value {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.value ?? value()
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:83:2: warning: 'public' modifier is redundant for instance method declared in a public extension
81 |
82 | /// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
83 | public func recover(with result: @autoclosure () -> Result<Value, Error>) -> Result<Value, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
84 | return analysis(
85 | ifSuccess: { _ in self },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:95:2: warning: 'public' modifier is redundant for instance method declared in a public extension
93 |
94 | /// Returns the result of applying `transform` to `Success`es’ values, or wrapping thrown errors.
95 | public func tryMap<U>(_ transform: (Value) throws -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
96 | return flatMap { value in
97 | do {
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: A function that interpolates between `self` and `b` as `t` varies from `0` to `1`.
20 | */
21 | public func lerp(_ b: Self) -> ((Self.Scalar) -> Self) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return { t in self * (Self.Scalar.one() - t) + b * t }
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:25:3: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | }
24 |
25 | public func subtract(_ v: Self) -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | return self.add(v.negateVector())
27 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:29:3: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | }
28 |
29 | public func negateVector() -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return self.scale(Self.Scalar.one().negate())
31 | }
[38/56] Compiling PaversFRP NumericType.swift
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:21:2: warning: 'public' modifier is redundant for property declared in a public extension
19 | public extension Result {
20 | /// Returns the value if self represents a success, `nil` otherwise.
21 | public var value: Value? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
22 | return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:26:2: warning: 'public' modifier is redundant for property declared in a public extension
24 |
25 | /// Returns the error if self represents a failure, `nil` otherwise.
26 | public var error: Error? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
28 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Returns a new Result by mapping `Success`es’ values using `transform`, or re-wrapping `Failure`s’ errors.
31 | public func map<U>(_ transform: (Value) -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | return flatMap { .success(transform($0)) }
33 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:35:3: warning: 'public' modifier is redundant for operator function declared in a public extension
33 | }
34 |
35 | public static func <^> <T, U>(f: (T) -> U, a: Result<T, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
36 | return a.map(f)
37 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |
39 | /// Returns the result of applying `transform` to `Success`es’ values, or re-wrapping `Failure`’s errors.
40 | public func flatMap<U>(_ transform: (Value) -> Result<U, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return analysis(
42 | ifSuccess: transform,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:48:2: warning: 'public' modifier is redundant for instance method declared in a public extension
46 | /// Returns a Result with a tuple of the receiver and `other` values if both
47 | /// are `Success`es, or re-wrapping the error of the earlier `Failure`.
48 | public func fanout<U>(_ other: @autoclosure () -> Result<U, Error>) -> Result<(Value, U), Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
49 | return self.flatMap { left in other().map { right in (left, right) } }
50 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:53:2: warning: 'public' modifier is redundant for instance method declared in a public extension
51 |
52 | /// Returns a new Result by mapping `Failure`'s values using `transform`, or re-wrapping `Success`es’ values.
53 | public func mapError<Error2>(_ transform: (Error) -> Error2) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMapError { .failure(transform($0)) }
55 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:58:2: warning: 'public' modifier is redundant for instance method declared in a public extension
56 |
57 | /// Returns the result of applying `transform` to `Failure`’s errors, or re-wrapping `Success`es’ values.
58 | public func flatMapError<Error2>(_ transform: (Error) -> Result<Value, Error2>) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
59 | return analysis(
60 | ifSuccess: Result<Value, Error2>.success,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:65:2: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |
64 | /// Returns a new Result by mapping `Success`es’ values using `success`, and by mapping `Failure`'s values using `failure`.
65 | public func bimap<U, Error2>(success: (Value) -> U, failure: (Error) -> Error2) -> Result<U, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | return analysis(
67 | ifSuccess: { .success(success($0)) },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:78:2: warning: 'public' modifier is redundant for instance method declared in a public extension
76 |
77 | /// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
78 | public func recover(_ value: @autoclosure () -> Value) -> Value {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.value ?? value()
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:83:2: warning: 'public' modifier is redundant for instance method declared in a public extension
81 |
82 | /// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
83 | public func recover(with result: @autoclosure () -> Result<Value, Error>) -> Result<Value, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
84 | return analysis(
85 | ifSuccess: { _ in self },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:95:2: warning: 'public' modifier is redundant for instance method declared in a public extension
93 |
94 | /// Returns the result of applying `transform` to `Success`es’ values, or wrapping thrown errors.
95 | public func tryMap<U>(_ transform: (Value) throws -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
96 | return flatMap { value in
97 | do {
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: A function that interpolates between `self` and `b` as `t` varies from `0` to `1`.
20 | */
21 | public func lerp(_ b: Self) -> ((Self.Scalar) -> Self) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return { t in self * (Self.Scalar.one() - t) + b * t }
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:25:3: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | }
24 |
25 | public func subtract(_ v: Self) -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | return self.add(v.negateVector())
27 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:29:3: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | }
28 |
29 | public func negateVector() -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return self.scale(Self.Scalar.one().negate())
31 | }
[39/56] Compiling PaversFRP OptionalType.swift
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:21:2: warning: 'public' modifier is redundant for property declared in a public extension
19 | public extension Result {
20 | /// Returns the value if self represents a success, `nil` otherwise.
21 | public var value: Value? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
22 | return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:26:2: warning: 'public' modifier is redundant for property declared in a public extension
24 |
25 | /// Returns the error if self represents a failure, `nil` otherwise.
26 | public var error: Error? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
28 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Returns a new Result by mapping `Success`es’ values using `transform`, or re-wrapping `Failure`s’ errors.
31 | public func map<U>(_ transform: (Value) -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | return flatMap { .success(transform($0)) }
33 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:35:3: warning: 'public' modifier is redundant for operator function declared in a public extension
33 | }
34 |
35 | public static func <^> <T, U>(f: (T) -> U, a: Result<T, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
36 | return a.map(f)
37 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |
39 | /// Returns the result of applying `transform` to `Success`es’ values, or re-wrapping `Failure`’s errors.
40 | public func flatMap<U>(_ transform: (Value) -> Result<U, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return analysis(
42 | ifSuccess: transform,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:48:2: warning: 'public' modifier is redundant for instance method declared in a public extension
46 | /// Returns a Result with a tuple of the receiver and `other` values if both
47 | /// are `Success`es, or re-wrapping the error of the earlier `Failure`.
48 | public func fanout<U>(_ other: @autoclosure () -> Result<U, Error>) -> Result<(Value, U), Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
49 | return self.flatMap { left in other().map { right in (left, right) } }
50 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:53:2: warning: 'public' modifier is redundant for instance method declared in a public extension
51 |
52 | /// Returns a new Result by mapping `Failure`'s values using `transform`, or re-wrapping `Success`es’ values.
53 | public func mapError<Error2>(_ transform: (Error) -> Error2) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMapError { .failure(transform($0)) }
55 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:58:2: warning: 'public' modifier is redundant for instance method declared in a public extension
56 |
57 | /// Returns the result of applying `transform` to `Failure`’s errors, or re-wrapping `Success`es’ values.
58 | public func flatMapError<Error2>(_ transform: (Error) -> Result<Value, Error2>) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
59 | return analysis(
60 | ifSuccess: Result<Value, Error2>.success,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:65:2: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |
64 | /// Returns a new Result by mapping `Success`es’ values using `success`, and by mapping `Failure`'s values using `failure`.
65 | public func bimap<U, Error2>(success: (Value) -> U, failure: (Error) -> Error2) -> Result<U, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | return analysis(
67 | ifSuccess: { .success(success($0)) },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:78:2: warning: 'public' modifier is redundant for instance method declared in a public extension
76 |
77 | /// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
78 | public func recover(_ value: @autoclosure () -> Value) -> Value {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.value ?? value()
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:83:2: warning: 'public' modifier is redundant for instance method declared in a public extension
81 |
82 | /// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
83 | public func recover(with result: @autoclosure () -> Result<Value, Error>) -> Result<Value, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
84 | return analysis(
85 | ifSuccess: { _ in self },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:95:2: warning: 'public' modifier is redundant for instance method declared in a public extension
93 |
94 | /// Returns the result of applying `transform` to `Success`es’ values, or wrapping thrown errors.
95 | public func tryMap<U>(_ transform: (Value) throws -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
96 | return flatMap { value in
97 | do {
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: A function that interpolates between `self` and `b` as `t` varies from `0` to `1`.
20 | */
21 | public func lerp(_ b: Self) -> ((Self.Scalar) -> Self) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return { t in self * (Self.Scalar.one() - t) + b * t }
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:25:3: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | }
24 |
25 | public func subtract(_ v: Self) -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | return self.add(v.negateVector())
27 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:29:3: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | }
28 |
29 | public func negateVector() -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return self.scale(Self.Scalar.one().negate())
31 | }
[40/56] Compiling PaversFRP ResultProtocol.swift
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:21:2: warning: 'public' modifier is redundant for property declared in a public extension
19 | public extension Result {
20 | /// Returns the value if self represents a success, `nil` otherwise.
21 | public var value: Value? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
22 | return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:26:2: warning: 'public' modifier is redundant for property declared in a public extension
24 |
25 | /// Returns the error if self represents a failure, `nil` otherwise.
26 | public var error: Error? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
28 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Returns a new Result by mapping `Success`es’ values using `transform`, or re-wrapping `Failure`s’ errors.
31 | public func map<U>(_ transform: (Value) -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | return flatMap { .success(transform($0)) }
33 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:35:3: warning: 'public' modifier is redundant for operator function declared in a public extension
33 | }
34 |
35 | public static func <^> <T, U>(f: (T) -> U, a: Result<T, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
36 | return a.map(f)
37 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |
39 | /// Returns the result of applying `transform` to `Success`es’ values, or re-wrapping `Failure`’s errors.
40 | public func flatMap<U>(_ transform: (Value) -> Result<U, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return analysis(
42 | ifSuccess: transform,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:48:2: warning: 'public' modifier is redundant for instance method declared in a public extension
46 | /// Returns a Result with a tuple of the receiver and `other` values if both
47 | /// are `Success`es, or re-wrapping the error of the earlier `Failure`.
48 | public func fanout<U>(_ other: @autoclosure () -> Result<U, Error>) -> Result<(Value, U), Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
49 | return self.flatMap { left in other().map { right in (left, right) } }
50 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:53:2: warning: 'public' modifier is redundant for instance method declared in a public extension
51 |
52 | /// Returns a new Result by mapping `Failure`'s values using `transform`, or re-wrapping `Success`es’ values.
53 | public func mapError<Error2>(_ transform: (Error) -> Error2) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMapError { .failure(transform($0)) }
55 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:58:2: warning: 'public' modifier is redundant for instance method declared in a public extension
56 |
57 | /// Returns the result of applying `transform` to `Failure`’s errors, or re-wrapping `Success`es’ values.
58 | public func flatMapError<Error2>(_ transform: (Error) -> Result<Value, Error2>) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
59 | return analysis(
60 | ifSuccess: Result<Value, Error2>.success,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:65:2: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |
64 | /// Returns a new Result by mapping `Success`es’ values using `success`, and by mapping `Failure`'s values using `failure`.
65 | public func bimap<U, Error2>(success: (Value) -> U, failure: (Error) -> Error2) -> Result<U, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | return analysis(
67 | ifSuccess: { .success(success($0)) },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:78:2: warning: 'public' modifier is redundant for instance method declared in a public extension
76 |
77 | /// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
78 | public func recover(_ value: @autoclosure () -> Value) -> Value {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.value ?? value()
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:83:2: warning: 'public' modifier is redundant for instance method declared in a public extension
81 |
82 | /// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
83 | public func recover(with result: @autoclosure () -> Result<Value, Error>) -> Result<Value, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
84 | return analysis(
85 | ifSuccess: { _ in self },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:95:2: warning: 'public' modifier is redundant for instance method declared in a public extension
93 |
94 | /// Returns the result of applying `transform` to `Success`es’ values, or wrapping thrown errors.
95 | public func tryMap<U>(_ transform: (Value) throws -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
96 | return flatMap { value in
97 | do {
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: A function that interpolates between `self` and `b` as `t` varies from `0` to `1`.
20 | */
21 | public func lerp(_ b: Self) -> ((Self.Scalar) -> Self) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return { t in self * (Self.Scalar.one() - t) + b * t }
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:25:3: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | }
24 |
25 | public func subtract(_ v: Self) -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | return self.add(v.negateVector())
27 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:29:3: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | }
28 |
29 | public func negateVector() -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return self.scale(Self.Scalar.one().negate())
31 | }
[41/56] Compiling PaversFRP Semigroup.swift
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:21:2: warning: 'public' modifier is redundant for property declared in a public extension
19 | public extension Result {
20 | /// Returns the value if self represents a success, `nil` otherwise.
21 | public var value: Value? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
22 | return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:26:2: warning: 'public' modifier is redundant for property declared in a public extension
24 |
25 | /// Returns the error if self represents a failure, `nil` otherwise.
26 | public var error: Error? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
28 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Returns a new Result by mapping `Success`es’ values using `transform`, or re-wrapping `Failure`s’ errors.
31 | public func map<U>(_ transform: (Value) -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | return flatMap { .success(transform($0)) }
33 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:35:3: warning: 'public' modifier is redundant for operator function declared in a public extension
33 | }
34 |
35 | public static func <^> <T, U>(f: (T) -> U, a: Result<T, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
36 | return a.map(f)
37 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |
39 | /// Returns the result of applying `transform` to `Success`es’ values, or re-wrapping `Failure`’s errors.
40 | public func flatMap<U>(_ transform: (Value) -> Result<U, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return analysis(
42 | ifSuccess: transform,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:48:2: warning: 'public' modifier is redundant for instance method declared in a public extension
46 | /// Returns a Result with a tuple of the receiver and `other` values if both
47 | /// are `Success`es, or re-wrapping the error of the earlier `Failure`.
48 | public func fanout<U>(_ other: @autoclosure () -> Result<U, Error>) -> Result<(Value, U), Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
49 | return self.flatMap { left in other().map { right in (left, right) } }
50 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:53:2: warning: 'public' modifier is redundant for instance method declared in a public extension
51 |
52 | /// Returns a new Result by mapping `Failure`'s values using `transform`, or re-wrapping `Success`es’ values.
53 | public func mapError<Error2>(_ transform: (Error) -> Error2) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMapError { .failure(transform($0)) }
55 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:58:2: warning: 'public' modifier is redundant for instance method declared in a public extension
56 |
57 | /// Returns the result of applying `transform` to `Failure`’s errors, or re-wrapping `Success`es’ values.
58 | public func flatMapError<Error2>(_ transform: (Error) -> Result<Value, Error2>) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
59 | return analysis(
60 | ifSuccess: Result<Value, Error2>.success,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:65:2: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |
64 | /// Returns a new Result by mapping `Success`es’ values using `success`, and by mapping `Failure`'s values using `failure`.
65 | public func bimap<U, Error2>(success: (Value) -> U, failure: (Error) -> Error2) -> Result<U, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | return analysis(
67 | ifSuccess: { .success(success($0)) },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:78:2: warning: 'public' modifier is redundant for instance method declared in a public extension
76 |
77 | /// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
78 | public func recover(_ value: @autoclosure () -> Value) -> Value {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.value ?? value()
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:83:2: warning: 'public' modifier is redundant for instance method declared in a public extension
81 |
82 | /// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
83 | public func recover(with result: @autoclosure () -> Result<Value, Error>) -> Result<Value, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
84 | return analysis(
85 | ifSuccess: { _ in self },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:95:2: warning: 'public' modifier is redundant for instance method declared in a public extension
93 |
94 | /// Returns the result of applying `transform` to `Success`es’ values, or wrapping thrown errors.
95 | public func tryMap<U>(_ transform: (Value) throws -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
96 | return flatMap { value in
97 | do {
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: A function that interpolates between `self` and `b` as `t` varies from `0` to `1`.
20 | */
21 | public func lerp(_ b: Self) -> ((Self.Scalar) -> Self) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return { t in self * (Self.Scalar.one() - t) + b * t }
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:25:3: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | }
24 |
25 | public func subtract(_ v: Self) -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | return self.add(v.negateVector())
27 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:29:3: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | }
28 |
29 | public func negateVector() -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return self.scale(Self.Scalar.one().negate())
31 | }
[42/56] Compiling PaversFRP VectorType.swift
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:21:2: warning: 'public' modifier is redundant for property declared in a public extension
19 | public extension Result {
20 | /// Returns the value if self represents a success, `nil` otherwise.
21 | public var value: Value? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
22 | return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:26:2: warning: 'public' modifier is redundant for property declared in a public extension
24 |
25 | /// Returns the error if self represents a failure, `nil` otherwise.
26 | public var error: Error? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
28 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Returns a new Result by mapping `Success`es’ values using `transform`, or re-wrapping `Failure`s’ errors.
31 | public func map<U>(_ transform: (Value) -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | return flatMap { .success(transform($0)) }
33 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:35:3: warning: 'public' modifier is redundant for operator function declared in a public extension
33 | }
34 |
35 | public static func <^> <T, U>(f: (T) -> U, a: Result<T, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
36 | return a.map(f)
37 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |
39 | /// Returns the result of applying `transform` to `Success`es’ values, or re-wrapping `Failure`’s errors.
40 | public func flatMap<U>(_ transform: (Value) -> Result<U, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return analysis(
42 | ifSuccess: transform,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:48:2: warning: 'public' modifier is redundant for instance method declared in a public extension
46 | /// Returns a Result with a tuple of the receiver and `other` values if both
47 | /// are `Success`es, or re-wrapping the error of the earlier `Failure`.
48 | public func fanout<U>(_ other: @autoclosure () -> Result<U, Error>) -> Result<(Value, U), Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
49 | return self.flatMap { left in other().map { right in (left, right) } }
50 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:53:2: warning: 'public' modifier is redundant for instance method declared in a public extension
51 |
52 | /// Returns a new Result by mapping `Failure`'s values using `transform`, or re-wrapping `Success`es’ values.
53 | public func mapError<Error2>(_ transform: (Error) -> Error2) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMapError { .failure(transform($0)) }
55 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:58:2: warning: 'public' modifier is redundant for instance method declared in a public extension
56 |
57 | /// Returns the result of applying `transform` to `Failure`’s errors, or re-wrapping `Success`es’ values.
58 | public func flatMapError<Error2>(_ transform: (Error) -> Result<Value, Error2>) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
59 | return analysis(
60 | ifSuccess: Result<Value, Error2>.success,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:65:2: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |
64 | /// Returns a new Result by mapping `Success`es’ values using `success`, and by mapping `Failure`'s values using `failure`.
65 | public func bimap<U, Error2>(success: (Value) -> U, failure: (Error) -> Error2) -> Result<U, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | return analysis(
67 | ifSuccess: { .success(success($0)) },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:78:2: warning: 'public' modifier is redundant for instance method declared in a public extension
76 |
77 | /// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
78 | public func recover(_ value: @autoclosure () -> Value) -> Value {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.value ?? value()
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:83:2: warning: 'public' modifier is redundant for instance method declared in a public extension
81 |
82 | /// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
83 | public func recover(with result: @autoclosure () -> Result<Value, Error>) -> Result<Value, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
84 | return analysis(
85 | ifSuccess: { _ in self },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:95:2: warning: 'public' modifier is redundant for instance method declared in a public extension
93 |
94 | /// Returns the result of applying `transform` to `Success`es’ values, or wrapping thrown errors.
95 | public func tryMap<U>(_ transform: (Value) throws -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
96 | return flatMap { value in
97 | do {
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: A function that interpolates between `self` and `b` as `t` varies from `0` to `1`.
20 | */
21 | public func lerp(_ b: Self) -> ((Self.Scalar) -> Self) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return { t in self * (Self.Scalar.one() - t) + b * t }
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:25:3: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | }
24 |
25 | public func subtract(_ v: Self) -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | return self.add(v.negateVector())
27 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:29:3: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | }
28 |
29 | public func negateVector() -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return self.scale(Self.Scalar.one().negate())
31 | }
[43/56] Compiling PaversFRP Array+Alternative.swift
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:21:2: warning: 'public' modifier is redundant for property declared in a public extension
19 | public extension Result {
20 | /// Returns the value if self represents a success, `nil` otherwise.
21 | public var value: Value? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
22 | return analysis(ifSuccess: { $0 }, ifFailure: { _ in nil })
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:26:2: warning: 'public' modifier is redundant for property declared in a public extension
24 |
25 | /// Returns the error if self represents a failure, `nil` otherwise.
26 | public var error: Error? {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return analysis(ifSuccess: { _ in nil }, ifFailure: { $0 })
28 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:31:2: warning: 'public' modifier is redundant for instance method declared in a public extension
29 |
30 | /// Returns a new Result by mapping `Success`es’ values using `transform`, or re-wrapping `Failure`s’ errors.
31 | public func map<U>(_ transform: (Value) -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
32 | return flatMap { .success(transform($0)) }
33 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:35:3: warning: 'public' modifier is redundant for operator function declared in a public extension
33 | }
34 |
35 | public static func <^> <T, U>(f: (T) -> U, a: Result<T, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
36 | return a.map(f)
37 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
38 |
39 | /// Returns the result of applying `transform` to `Success`es’ values, or re-wrapping `Failure`’s errors.
40 | public func flatMap<U>(_ transform: (Value) -> Result<U, Error>) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
41 | return analysis(
42 | ifSuccess: transform,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:48:2: warning: 'public' modifier is redundant for instance method declared in a public extension
46 | /// Returns a Result with a tuple of the receiver and `other` values if both
47 | /// are `Success`es, or re-wrapping the error of the earlier `Failure`.
48 | public func fanout<U>(_ other: @autoclosure () -> Result<U, Error>) -> Result<(Value, U), Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
49 | return self.flatMap { left in other().map { right in (left, right) } }
50 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:53:2: warning: 'public' modifier is redundant for instance method declared in a public extension
51 |
52 | /// Returns a new Result by mapping `Failure`'s values using `transform`, or re-wrapping `Success`es’ values.
53 | public func mapError<Error2>(_ transform: (Error) -> Error2) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
54 | return flatMapError { .failure(transform($0)) }
55 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:58:2: warning: 'public' modifier is redundant for instance method declared in a public extension
56 |
57 | /// Returns the result of applying `transform` to `Failure`’s errors, or re-wrapping `Success`es’ values.
58 | public func flatMapError<Error2>(_ transform: (Error) -> Result<Value, Error2>) -> Result<Value, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
59 | return analysis(
60 | ifSuccess: Result<Value, Error2>.success,
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:65:2: warning: 'public' modifier is redundant for instance method declared in a public extension
63 |
64 | /// Returns a new Result by mapping `Success`es’ values using `success`, and by mapping `Failure`'s values using `failure`.
65 | public func bimap<U, Error2>(success: (Value) -> U, failure: (Error) -> Error2) -> Result<U, Error2> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
66 | return analysis(
67 | ifSuccess: { .success(success($0)) },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:78:2: warning: 'public' modifier is redundant for instance method declared in a public extension
76 |
77 | /// Returns `self.value` if this result is a .Success, or the given value otherwise. Equivalent with `??`
78 | public func recover(_ value: @autoclosure () -> Value) -> Value {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
79 | return self.value ?? value()
80 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:83:2: warning: 'public' modifier is redundant for instance method declared in a public extension
81 |
82 | /// Returns this result if it is a .Success, or the given result otherwise. Equivalent with `??`
83 | public func recover(with result: @autoclosure () -> Result<Value, Error>) -> Result<Value, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
84 | return analysis(
85 | ifSuccess: { _ in self },
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/ResultProtocol.swift:95:2: warning: 'public' modifier is redundant for instance method declared in a public extension
93 |
94 | /// Returns the result of applying `transform` to `Success`es’ values, or wrapping thrown errors.
95 | public func tryMap<U>(_ transform: (Value) throws -> U) -> Result<U, Error> {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
96 | return flatMap { value in
97 | do {
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:21:3: warning: 'public' modifier is redundant for instance method declared in a public extension
19 | - returns: A function that interpolates between `self` and `b` as `t` varies from `0` to `1`.
20 | */
21 | public func lerp(_ b: Self) -> ((Self.Scalar) -> Self) {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
22 | return { t in self * (Self.Scalar.one() - t) + b * t }
23 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:25:3: warning: 'public' modifier is redundant for instance method declared in a public extension
23 | }
24 |
25 | public func subtract(_ v: Self) -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
26 | return self.add(v.negateVector())
27 | }
/host/spi-builder-workspace/Sources/PaversFRP/Protocols/VectorType.swift:29:3: warning: 'public' modifier is redundant for instance method declared in a public extension
27 | }
28 |
29 | public func negateVector() -> Self {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
30 | return self.scale(Self.Scalar.one().negate())
31 | }
[44/56] Compiling PaversFRP AnyError.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Error/NoError.swift:8:3: warning: will never be executed
5 | /// contains an `Int`eger and is guaranteed never to be a `failure`.
6 | public enum NoError: Swift.Error, Equatable {
7 | public static func ==(lhs: NoError, rhs: NoError) -> Bool {
| `- note: 'lhs' is of type 'NoError' which cannot be constructed because it is an enum with no cases
8 | return true
| `- warning: will never be executed
9 | }
10 | }
[45/56] Compiling PaversFRP NoError.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Error/NoError.swift:8:3: warning: will never be executed
5 | /// contains an `Int`eger and is guaranteed never to be a `failure`.
6 | public enum NoError: Swift.Error, Equatable {
7 | public static func ==(lhs: NoError, rhs: NoError) -> Bool {
| `- note: 'lhs' is of type 'NoError' which cannot be constructed because it is an enum with no cases
8 | return true
| `- warning: will never be executed
9 | }
10 | }
[46/56] Compiling PaversFRP SomeError.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Error/NoError.swift:8:3: warning: will never be executed
5 | /// contains an `Int`eger and is guaranteed never to be a `failure`.
6 | public enum NoError: Swift.Error, Equatable {
7 | public static func ==(lhs: NoError, rhs: NoError) -> Bool {
| `- note: 'lhs' is of type 'NoError' which cannot be constructed because it is an enum with no cases
8 | return true
| `- warning: will never be executed
9 | }
10 | }
[47/56] Compiling PaversFRP Arrow.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Error/NoError.swift:8:3: warning: will never be executed
5 | /// contains an `Int`eger and is guaranteed never to be a `failure`.
6 | public enum NoError: Swift.Error, Equatable {
7 | public static func ==(lhs: NoError, rhs: NoError) -> Bool {
| `- note: 'lhs' is of type 'NoError' which cannot be constructed because it is an enum with no cases
8 | return true
| `- warning: will never be executed
9 | }
10 | }
[48/56] Compiling PaversFRP Comparable.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Error/NoError.swift:8:3: warning: will never be executed
5 | /// contains an `Int`eger and is guaranteed never to be a `failure`.
6 | public enum NoError: Swift.Error, Equatable {
7 | public static func ==(lhs: NoError, rhs: NoError) -> Bool {
| `- note: 'lhs' is of type 'NoError' which cannot be constructed because it is an enum with no cases
8 | return true
| `- warning: will never be executed
9 | }
10 | }
[49/56] Compiling PaversFRP Function.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Error/NoError.swift:8:3: warning: will never be executed
5 | /// contains an `Int`eger and is guaranteed never to be a `failure`.
6 | public enum NoError: Swift.Error, Equatable {
7 | public static func ==(lhs: NoError, rhs: NoError) -> Bool {
| `- note: 'lhs' is of type 'NoError' which cannot be constructed because it is an enum with no cases
8 | return true
| `- warning: will never be executed
9 | }
10 | }
[50/56] Compiling PaversFRP Unpack.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/Error/NoError.swift:8:3: warning: will never be executed
5 | /// contains an `Int`eger and is guaranteed never to be a `failure`.
6 | public enum NoError: Swift.Error, Equatable {
7 | public static func ==(lhs: NoError, rhs: NoError) -> Bool {
| `- note: 'lhs' is of type 'NoError' which cannot be constructed because it is an enum with no cases
8 | return true
| `- warning: will never be executed
9 | }
10 | }
[51/56] Compiling PaversFRP List.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:145:27: error: cannot find type 'NSErrorPointer' in scope
143 | file: String = #file,
144 | line: Int = #line,
145 | `try`: (NSErrorPointer) -> T?)
| `- error: cannot find type 'NSErrorPointer' in scope
146 | -> Result<T, NSError> {
147 | var error: NSError?
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:160:27: error: cannot find type 'NSErrorPointer' in scope
158 | file: String = #file,
159 | line: Int = #line,
160 | `try`: (NSErrorPointer) -> Bool)
| `- error: cannot find type 'NSErrorPointer' in scope
161 | -> Result<(), NSError> {
162 | var error: NSError?
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:148:27: error: generic parameter 'Value' could not be inferred
2 |
3 | /// An enum representing either a failure with an explanatory error, or a success with a result value.
4 | public enum Result<Value, Error: Swift.Error>: ResultProtocol, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: 'Value' declared as parameter to type 'Result'
5 | case success(Value)
6 | case failure(Error)
:
146 | -> Result<T, NSError> {
147 | var error: NSError?
148 | return `try`(&error).map(Result.success)
| |- error: generic parameter 'Value' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
149 | ?? .failure(error ?? Result<T, NSError>.error(function: function, file: file, line: line))
150 | }
[52/56] Compiling PaversFRP Ordering.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:145:27: error: cannot find type 'NSErrorPointer' in scope
143 | file: String = #file,
144 | line: Int = #line,
145 | `try`: (NSErrorPointer) -> T?)
| `- error: cannot find type 'NSErrorPointer' in scope
146 | -> Result<T, NSError> {
147 | var error: NSError?
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:160:27: error: cannot find type 'NSErrorPointer' in scope
158 | file: String = #file,
159 | line: Int = #line,
160 | `try`: (NSErrorPointer) -> Bool)
| `- error: cannot find type 'NSErrorPointer' in scope
161 | -> Result<(), NSError> {
162 | var error: NSError?
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:148:27: error: generic parameter 'Value' could not be inferred
2 |
3 | /// An enum representing either a failure with an explanatory error, or a success with a result value.
4 | public enum Result<Value, Error: Swift.Error>: ResultProtocol, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: 'Value' declared as parameter to type 'Result'
5 | case success(Value)
6 | case failure(Error)
:
146 | -> Result<T, NSError> {
147 | var error: NSError?
148 | return `try`(&error).map(Result.success)
| |- error: generic parameter 'Value' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
149 | ?? .failure(error ?? Result<T, NSError>.error(function: function, file: file, line: line))
150 | }
[53/56] Compiling PaversFRP Result.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:145:27: error: cannot find type 'NSErrorPointer' in scope
143 | file: String = #file,
144 | line: Int = #line,
145 | `try`: (NSErrorPointer) -> T?)
| `- error: cannot find type 'NSErrorPointer' in scope
146 | -> Result<T, NSError> {
147 | var error: NSError?
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:160:27: error: cannot find type 'NSErrorPointer' in scope
158 | file: String = #file,
159 | line: Int = #line,
160 | `try`: (NSErrorPointer) -> Bool)
| `- error: cannot find type 'NSErrorPointer' in scope
161 | -> Result<(), NSError> {
162 | var error: NSError?
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:148:27: error: generic parameter 'Value' could not be inferred
2 |
3 | /// An enum representing either a failure with an explanatory error, or a success with a result value.
4 | public enum Result<Value, Error: Swift.Error>: ResultProtocol, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: 'Value' declared as parameter to type 'Result'
5 | case success(Value)
6 | case failure(Error)
:
146 | -> Result<T, NSError> {
147 | var error: NSError?
148 | return `try`(&error).map(Result.success)
| |- error: generic parameter 'Value' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
149 | ?? .failure(error ?? Result<T, NSError>.error(function: function, file: file, line: line))
150 | }
[54/56] Compiling PaversFRP Value+NumericType.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:145:27: error: cannot find type 'NSErrorPointer' in scope
143 | file: String = #file,
144 | line: Int = #line,
145 | `try`: (NSErrorPointer) -> T?)
| `- error: cannot find type 'NSErrorPointer' in scope
146 | -> Result<T, NSError> {
147 | var error: NSError?
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:160:27: error: cannot find type 'NSErrorPointer' in scope
158 | file: String = #file,
159 | line: Int = #line,
160 | `try`: (NSErrorPointer) -> Bool)
| `- error: cannot find type 'NSErrorPointer' in scope
161 | -> Result<(), NSError> {
162 | var error: NSError?
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:148:27: error: generic parameter 'Value' could not be inferred
2 |
3 | /// An enum representing either a failure with an explanatory error, or a success with a result value.
4 | public enum Result<Value, Error: Swift.Error>: ResultProtocol, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: 'Value' declared as parameter to type 'Result'
5 | case success(Value)
6 | case failure(Error)
:
146 | -> Result<T, NSError> {
147 | var error: NSError?
148 | return `try`(&error).map(Result.success)
| |- error: generic parameter 'Value' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
149 | ?? .failure(error ?? Result<T, NSError>.error(function: function, file: file, line: line))
150 | }
[55/56] Compiling PaversFRP Curry.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:145:27: error: cannot find type 'NSErrorPointer' in scope
143 | file: String = #file,
144 | line: Int = #line,
145 | `try`: (NSErrorPointer) -> T?)
| `- error: cannot find type 'NSErrorPointer' in scope
146 | -> Result<T, NSError> {
147 | var error: NSError?
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:160:27: error: cannot find type 'NSErrorPointer' in scope
158 | file: String = #file,
159 | line: Int = #line,
160 | `try`: (NSErrorPointer) -> Bool)
| `- error: cannot find type 'NSErrorPointer' in scope
161 | -> Result<(), NSError> {
162 | var error: NSError?
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:148:27: error: generic parameter 'Value' could not be inferred
2 |
3 | /// An enum representing either a failure with an explanatory error, or a success with a result value.
4 | public enum Result<Value, Error: Swift.Error>: ResultProtocol, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: 'Value' declared as parameter to type 'Result'
5 | case success(Value)
6 | case failure(Error)
:
146 | -> Result<T, NSError> {
147 | var error: NSError?
148 | return `try`(&error).map(Result.success)
| |- error: generic parameter 'Value' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
149 | ?? .failure(error ?? Result<T, NSError>.error(function: function, file: file, line: line))
150 | }
[56/56] Compiling PaversFRP Runes.swift
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:145:27: error: cannot find type 'NSErrorPointer' in scope
143 | file: String = #file,
144 | line: Int = #line,
145 | `try`: (NSErrorPointer) -> T?)
| `- error: cannot find type 'NSErrorPointer' in scope
146 | -> Result<T, NSError> {
147 | var error: NSError?
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:160:27: error: cannot find type 'NSErrorPointer' in scope
158 | file: String = #file,
159 | line: Int = #line,
160 | `try`: (NSErrorPointer) -> Bool)
| `- error: cannot find type 'NSErrorPointer' in scope
161 | -> Result<(), NSError> {
162 | var error: NSError?
/host/spi-builder-workspace/Sources/PaversFRP/Types/SumType/Result.swift:148:27: error: generic parameter 'Value' could not be inferred
2 |
3 | /// An enum representing either a failure with an explanatory error, or a success with a result value.
4 | public enum Result<Value, Error: Swift.Error>: ResultProtocol, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: 'Value' declared as parameter to type 'Result'
5 | case success(Value)
6 | case failure(Error)
:
146 | -> Result<T, NSError> {
147 | var error: NSError?
148 | return `try`(&error).map(Result.success)
| |- error: generic parameter 'Value' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
149 | ?? .failure(error ?? Result<T, NSError>.error(function: function, file: file, line: line))
150 | }
BUILD FAILURE 6.2 android