Build Information
Successful build of PaversFRP, reference master (6d13f6), with Swift 6.3 for Linux on 21 Apr 2026 06:33:25 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/keithpitsui/paversfrp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[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
[4/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
[5/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
[6/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
[7/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
[8/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
[9/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
[10/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
[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 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 | }
[18/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 | }
[19/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 | }
[20/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 | }
[21/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 | }
[22/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 | }
[23/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 | }
[24/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 | }
[25/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 | }
[26/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 | }
[27/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 | }
[28/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 | }
[29/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 | }
[30/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 | }
[31/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 | }
[32/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 | }
[33/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 | }
[34/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 | }
[35/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 | }
[36/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 | }
[37/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 | }
[38/56] Compiling PaversFRP Pair.swift
[39/56] Compiling PaversFRP Tuple.swift
[40/56] Compiling PaversFRP Unit.swift
[41/56] Compiling PaversFRP Set+CartesianProduct.swift
[42/56] Compiling PaversFRP Set+Monoid.swift
[43/56] Compiling PaversFRP State+Functor.swift
[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
[52/56] Compiling PaversFRP Ordering.swift
[53/56] Compiling PaversFRP Result.swift
[54/56] Compiling PaversFRP Value+NumericType.swift
[55/56] Compiling PaversFRP Curry.swift
[56/56] Compiling PaversFRP Runes.swift
Build complete! (165.07s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "PaversFRP",
"name" : "PaversFRP",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PaversFRP",
"targets" : [
"PaversFRP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PaversFRPTests",
"module_type" : "SwiftTarget",
"name" : "PaversFRPTests",
"path" : "Tests/PaversFRPTests",
"sources" : [
"PaversFRPTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"PaversFRP"
],
"type" : "test"
},
{
"c99name" : "PaversFRP",
"module_type" : "SwiftTarget",
"name" : "PaversFRP",
"path" : "Sources/PaversFRP",
"product_memberships" : [
"PaversFRP"
],
"sources" : [
"HKT/HKT+Array.swift",
"HKT/HigherKindedType.swift",
"HKT/Identity.swift",
"Protocols/EitherType.swift",
"Protocols/Enumerable.swift",
"Protocols/LensObject.swift",
"Protocols/Monoid.swift",
"Protocols/NonEmptyType.swift",
"Protocols/NumericType.swift",
"Protocols/OptionalType.swift",
"Protocols/ResultProtocol.swift",
"Protocols/Semigroup.swift",
"Protocols/VectorType.swift",
"Types/Array/Array+Alternative.swift",
"Types/Array/Array+Applicative.swift",
"Types/Array/Array+Functor.swift",
"Types/Array/Array+Monad.swift",
"Types/Array/Array.swift",
"Types/Array/NonEmpties.swift",
"Types/Comparator.swift",
"Types/Dictionary.swift",
"Types/Error/AnyError.swift",
"Types/Error/NoError.swift",
"Types/Error/SomeError.swift",
"Types/Exponentials/Arrow.swift",
"Types/Exponentials/Comparable.swift",
"Types/Exponentials/Function.swift",
"Types/Exponentials/Unpack.swift",
"Types/Lens/Lens.swift",
"Types/Lens/LensHolder.swift",
"Types/Optional/Optional+Alternative.swift",
"Types/Optional/Optional+Applicative.swift",
"Types/Optional/Optional+Functor.swift",
"Types/Optional/Optional+Monad.swift",
"Types/Optional/Optional.swift",
"Types/ProductType/Pair.swift",
"Types/ProductType/Tuple.swift",
"Types/ProductType/Unit.swift",
"Types/Set/Set+CartesianProduct.swift",
"Types/Set/Set+Monoid.swift",
"Types/State/State+Functor.swift",
"Types/State/State+Monad.swift",
"Types/State/State.swift",
"Types/String.swift",
"Types/SumType/Bool.swift",
"Types/SumType/Either.swift",
"Types/SumType/Empty.swift",
"Types/SumType/List.swift",
"Types/SumType/Ordering.swift",
"Types/SumType/Result.swift",
"Types/Value/Value+NumericType.swift",
"Utilities/Curry.swift",
"Utilities/Runes.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.