Build Information
Successful build of Swiftz, reference 0.8.0 (6cc113
), with Swift 6.0 for Linux on 31 Oct 2024 20:38:31 UTC.
Swift 6 data race errors: 7
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/typelift/Swiftz.git
Reference: 0.8.0
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/typelift/Swiftz
* tag 0.8.0 -> FETCH_HEAD
HEAD is now at 6cc1136 Merge pull request #341 from CodaFi/touch-up
Submodule path 'Carthage/Checkouts/FileCheck': checked out '083073480112406580f0242036a079f9f8b170ad'
Submodule path 'Carthage/Checkouts/Operadics': checked out 'ef9c00e70ac4e5fba046f4eae3bd4e4e8f058648'
Submodule path 'Carthage/Checkouts/SwiftCheck': checked out '077c096c3ddfc38db223ac8e525ad16ffb987138'
Submodule path 'Carthage/Checkouts/SwiftCheck/Carthage/Checkouts/FileCheck': checked out 'bd9cb30ceee1f21c02f51a7168f58471449807d8'
Submodule path 'Carthage/Checkouts/Swiftx': checked out '4affb6451b6981cf56c2ec1287aaee3406a5e5e0'
Submodule path 'Carthage/Checkouts/Swiftx/Carthage/Checkouts/FileCheck': checked out '083073480112406580f0242036a079f9f8b170ad'
Submodule path 'Carthage/Checkouts/Swiftx/Carthage/Checkouts/Operadics': checked out 'ef9c00e70ac4e5fba046f4eae3bd4e4e8f058648'
Submodule path 'Carthage/Checkouts/Swiftx/Carthage/Checkouts/SwiftCheck': checked out '077c096c3ddfc38db223ac8e525ad16ffb987138'
Submodule path 'Carthage/Checkouts/Swiftx/Carthage/Checkouts/SwiftCheck/Carthage/Checkouts/FileCheck': checked out 'bd9cb30ceee1f21c02f51a7168f58471449807d8'
Submodule 'Carthage/Checkouts/FileCheck' (https://github.com/trill-lang/FileCheck.git) registered for path 'Carthage/Checkouts/FileCheck'
Submodule 'Carthage/Checkouts/Operadics' (https://github.com/typelift/Operadics.git) registered for path 'Carthage/Checkouts/Operadics'
Submodule 'Carthage/Checkouts/SwiftCheck' (https://github.com/typelift/SwiftCheck.git) registered for path 'Carthage/Checkouts/SwiftCheck'
Submodule 'Carthage/Checkouts/Swiftx' (https://github.com/typelift/Swiftx.git) registered for path 'Carthage/Checkouts/Swiftx'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/FileCheck'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Operadics'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SwiftCheck'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Swiftx'...
Submodule 'Carthage/Checkouts/FileCheck' (https://github.com/trill-lang/FileCheck.git) registered for path 'Carthage/Checkouts/SwiftCheck/Carthage/Checkouts/FileCheck'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SwiftCheck/Carthage/Checkouts/FileCheck'...
Submodule 'Carthage/Checkouts/FileCheck' (https://github.com/trill-lang/FileCheck.git) registered for path 'Carthage/Checkouts/Swiftx/Carthage/Checkouts/FileCheck'
Submodule 'Carthage/Checkouts/Operadics' (https://github.com/typelift/Operadics.git) registered for path 'Carthage/Checkouts/Swiftx/Carthage/Checkouts/Operadics'
Submodule 'Carthage/Checkouts/SwiftCheck' (https://github.com/typelift/SwiftCheck.git) registered for path 'Carthage/Checkouts/Swiftx/Carthage/Checkouts/SwiftCheck'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Swiftx/Carthage/Checkouts/FileCheck'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Swiftx/Carthage/Checkouts/Operadics'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Swiftx/Carthage/Checkouts/SwiftCheck'...
Submodule 'Carthage/Checkouts/FileCheck' (https://github.com/trill-lang/FileCheck.git) registered for path 'Carthage/Checkouts/Swiftx/Carthage/Checkouts/SwiftCheck/Carthage/Checkouts/FileCheck'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Swiftx/Carthage/Checkouts/SwiftCheck/Carthage/Checkouts/FileCheck'...
Cloned https://github.com/typelift/Swiftz.git
Revision (git rev-parse @):
6cc11367d8222486312846e460b3ec63d7e9018d
SUCCESS checkout https://github.com/typelift/Swiftz.git at 0.8.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/typelift/Swiftz.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/typelift/SwiftCheck.git
Fetching https://github.com/typelift/Swiftx.git
[1/4870] Fetching swiftcheck
[2290/6515] Fetching swiftcheck, swiftx
Fetched https://github.com/typelift/Swiftx.git from cache (0.25s)
Fetched https://github.com/typelift/SwiftCheck.git from cache (0.28s)
Computing version for https://github.com/typelift/Swiftx.git
Computed https://github.com/typelift/Swiftx.git at 0.8.0 (0.42s)
Fetching https://github.com/typelift/Operadics.git
[1/101] Fetching operadics
Fetched https://github.com/typelift/Operadics.git from cache (0.17s)
Computing version for https://github.com/typelift/Operadics.git
Computed https://github.com/typelift/Operadics.git at 0.4.0 (1.81s)
Computing version for https://github.com/typelift/SwiftCheck.git
Computed https://github.com/typelift/SwiftCheck.git at 0.12.0 (1.79s)
Fetching https://github.com/llvm-swift/FileCheck.git
[1/479] Fetching filecheck
Fetched https://github.com/llvm-swift/FileCheck.git from cache (0.18s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.2.6 (0.43s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mxcl/Chalk.git
[1/81] Fetching chalk
[82/12413] Fetching chalk, swift-argument-parser
Fetched https://github.com/mxcl/Chalk.git from cache (0.73s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.73s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (0.41s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.41s)
Creating working copy for https://github.com/llvm-swift/FileCheck.git
Working copy of https://github.com/llvm-swift/FileCheck.git resolved at 0.2.6
Creating working copy for https://github.com/typelift/Operadics.git
Working copy of https://github.com/typelift/Operadics.git resolved at 0.4.0
Creating working copy for https://github.com/mxcl/Chalk.git
Working copy of https://github.com/mxcl/Chalk.git resolved at 0.5.0
Creating working copy for https://github.com/typelift/SwiftCheck.git
Working copy of https://github.com/typelift/SwiftCheck.git resolved at 0.12.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/typelift/Swiftx.git
Working copy of https://github.com/typelift/Swiftx.git resolved at 0.8.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/7] Emitting module Operadics
[7/7] Compiling Operadics Operators.swift
[9/14] Compiling Swiftx Optional.swift
[10/14] Compiling Swiftx Error.swift
[11/14] Compiling Swiftx Combinators.swift
[12/14] Compiling Swiftx Array.swift
[13/14] Emitting module Swiftx
[14/14] Compiling Swiftx Either.swift
[16/51] Compiling Swiftz Applicative.swift
[17/51] Compiling Swiftz ArrayExt.swift
[18/51] Compiling Swiftz Arrow.swift
[19/51] Compiling Swiftz ArrowExt.swift
[20/51] Compiling Swiftz Bifunctor.swift
[21/55] Emitting module Swiftz
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:137:29: warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
96 | /// a function, and can be used as an index for extra information that the map
97 | /// function may need in its computation.
98 | public struct HMap<F, A, R> {
| `- note: 'A' previously declared here
99 | public let map : (F, A) -> R
100 |
:
135 | /// Returns an `HMap` that uses an `HAppend` operation to append two
136 | /// `HList`s together.
137 | public static func happend<A, B, C>() -> HMap<HAppend<A, B, C>, (A, B), C> {
| `- warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
138 | return HMap<HAppend<A, B, C>, (A, B), C> { (f, p) in
139 | return f.append(p.0, p.1)
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:171:30: warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'G' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
169 | ///
170 | /// This operation returns the starting value of the fold.
171 | public static func makeFold<G, V>() -> HFold<G, V, HNil, V> {
| `- warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
172 | return HFold<G, V, HNil, V> { (f, v, n) in
173 | return v
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:171:33: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'V' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
169 | ///
170 | /// This operation returns the starting value of the fold.
171 | public static func makeFold<G, V>() -> HFold<G, V, HNil, V> {
| `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
172 | return HFold<G, V, HNil, V> { (f, v, n) in
173 | return v
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:33: warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'G' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:36: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'V' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:42: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'R' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
/host/spi-builder-workspace/Sources/Swiftz/OptionalExt.swift:180:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
178 | }
179 |
180 | extension Optional : Sequence {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
181 | public typealias Iterator = CollectionOfOne<Wrapped>.Iterator
182 |
/host/spi-builder-workspace/Sources/Swiftz/Writer.swift:91:26: warning: generic parameter 'W' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | /// `Writer` is most famous for allowing the accumulation of log output during
18 | /// program execution.
19 | public struct Writer<W : Monoid, T> {
| `- note: 'W' previously declared here
20 | /// Extracts the current value and environment.
21 | public let runWriter : (T, W)
:
89 | public typealias A = T
90 |
91 | public static func pure<W, A>(_ x : A) -> Writer<W, A> {
| `- warning: generic parameter 'W' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
92 | return Writer<W, A>((x, W.mempty))
93 | }
[22/55] Compiling Swiftz Those.swift
/host/spi-builder-workspace/Sources/Swiftz/Writer.swift:91:26: warning: generic parameter 'W' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | /// `Writer` is most famous for allowing the accumulation of log output during
18 | /// program execution.
19 | public struct Writer<W : Monoid, T> {
| `- note: 'W' previously declared here
20 | /// Extracts the current value and environment.
21 | public let runWriter : (T, W)
:
89 | public typealias A = T
90 |
91 | public static func pure<W, A>(_ x : A) -> Writer<W, A> {
| `- warning: generic parameter 'W' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
92 | return Writer<W, A>((x, W.mempty))
93 | }
[23/55] Compiling Swiftz TupleExt.swift
/host/spi-builder-workspace/Sources/Swiftz/Writer.swift:91:26: warning: generic parameter 'W' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | /// `Writer` is most famous for allowing the accumulation of log output during
18 | /// program execution.
19 | public struct Writer<W : Monoid, T> {
| `- note: 'W' previously declared here
20 | /// Extracts the current value and environment.
21 | public let runWriter : (T, W)
:
89 | public typealias A = T
90 |
91 | public static func pure<W, A>(_ x : A) -> Writer<W, A> {
| `- warning: generic parameter 'W' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
92 | return Writer<W, A>((x, W.mempty))
93 | }
[24/55] Compiling Swiftz Unit.swift
/host/spi-builder-workspace/Sources/Swiftz/Writer.swift:91:26: warning: generic parameter 'W' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | /// `Writer` is most famous for allowing the accumulation of log output during
18 | /// program execution.
19 | public struct Writer<W : Monoid, T> {
| `- note: 'W' previously declared here
20 | /// Extracts the current value and environment.
21 | public let runWriter : (T, W)
:
89 | public typealias A = T
90 |
91 | public static func pure<W, A>(_ x : A) -> Writer<W, A> {
| `- warning: generic parameter 'W' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
92 | return Writer<W, A>((x, W.mempty))
93 | }
[25/55] Compiling Swiftz Writer.swift
/host/spi-builder-workspace/Sources/Swiftz/Writer.swift:91:26: warning: generic parameter 'W' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | /// `Writer` is most famous for allowing the accumulation of log output during
18 | /// program execution.
19 | public struct Writer<W : Monoid, T> {
| `- note: 'W' previously declared here
20 | /// Extracts the current value and environment.
21 | public let runWriter : (T, W)
:
89 | public typealias A = T
90 |
91 | public static func pure<W, A>(_ x : A) -> Writer<W, A> {
| `- warning: generic parameter 'W' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
92 | return Writer<W, A>((x, W.mempty))
93 | }
[26/55] Compiling Swiftz List.swift
[27/55] Compiling Swiftz Monad.swift
[28/55] Compiling Swiftz Monoid.swift
[29/55] Compiling Swiftz Monoidal.swift
[30/55] Compiling Swiftz NonEmptyList.swift
[31/55] Compiling Swiftz Bounded.swift
[32/55] Compiling Swiftz Category.swift
[33/55] Compiling Swiftz CharacterExt.swift
[34/55] Compiling Swiftz Comonad.swift
[35/55] Compiling Swiftz Const.swift
[36/55] Compiling Swiftz Num.swift
/host/spi-builder-workspace/Sources/Swiftz/OptionalExt.swift:180:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
178 | }
179 |
180 | extension Optional : Sequence {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
181 | public typealias Iterator = CollectionOfOne<Wrapped>.Iterator
182 |
[37/55] Compiling Swiftz OptionalExt.swift
/host/spi-builder-workspace/Sources/Swiftz/OptionalExt.swift:180:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
178 | }
179 |
180 | extension Optional : Sequence {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
181 | public typealias Iterator = CollectionOfOne<Wrapped>.Iterator
182 |
[38/55] Compiling Swiftz Pointed.swift
/host/spi-builder-workspace/Sources/Swiftz/OptionalExt.swift:180:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
178 | }
179 |
180 | extension Optional : Sequence {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
181 | public typealias Iterator = CollectionOfOne<Wrapped>.Iterator
182 |
[39/55] Compiling Swiftz Proxy.swift
/host/spi-builder-workspace/Sources/Swiftz/OptionalExt.swift:180:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
178 | }
179 |
180 | extension Optional : Sequence {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
181 | public typealias Iterator = CollectionOfOne<Wrapped>.Iterator
182 |
[40/55] Compiling Swiftz Ratio.swift
/host/spi-builder-workspace/Sources/Swiftz/OptionalExt.swift:180:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
178 | }
179 |
180 | extension Optional : Sequence {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Sequence'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
181 | public typealias Iterator = CollectionOfOne<Wrapped>.Iterator
182 |
[41/55] Compiling Swiftz Function.swift
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:137:29: warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
96 | /// a function, and can be used as an index for extra information that the map
97 | /// function may need in its computation.
98 | public struct HMap<F, A, R> {
| `- note: 'A' previously declared here
99 | public let map : (F, A) -> R
100 |
:
135 | /// Returns an `HMap` that uses an `HAppend` operation to append two
136 | /// `HList`s together.
137 | public static func happend<A, B, C>() -> HMap<HAppend<A, B, C>, (A, B), C> {
| `- warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
138 | return HMap<HAppend<A, B, C>, (A, B), C> { (f, p) in
139 | return f.append(p.0, p.1)
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:171:30: warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'G' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
169 | ///
170 | /// This operation returns the starting value of the fold.
171 | public static func makeFold<G, V>() -> HFold<G, V, HNil, V> {
| `- warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
172 | return HFold<G, V, HNil, V> { (f, v, n) in
173 | return v
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:171:33: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'V' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
169 | ///
170 | /// This operation returns the starting value of the fold.
171 | public static func makeFold<G, V>() -> HFold<G, V, HNil, V> {
| `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
172 | return HFold<G, V, HNil, V> { (f, v, n) in
173 | return v
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:33: warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'G' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:36: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'V' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:42: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'R' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
[42/55] Compiling Swiftz Functor.swift
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:137:29: warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
96 | /// a function, and can be used as an index for extra information that the map
97 | /// function may need in its computation.
98 | public struct HMap<F, A, R> {
| `- note: 'A' previously declared here
99 | public let map : (F, A) -> R
100 |
:
135 | /// Returns an `HMap` that uses an `HAppend` operation to append two
136 | /// `HList`s together.
137 | public static func happend<A, B, C>() -> HMap<HAppend<A, B, C>, (A, B), C> {
| `- warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
138 | return HMap<HAppend<A, B, C>, (A, B), C> { (f, p) in
139 | return f.append(p.0, p.1)
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:171:30: warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'G' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
169 | ///
170 | /// This operation returns the starting value of the fold.
171 | public static func makeFold<G, V>() -> HFold<G, V, HNil, V> {
| `- warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
172 | return HFold<G, V, HNil, V> { (f, v, n) in
173 | return v
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:171:33: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'V' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
169 | ///
170 | /// This operation returns the starting value of the fold.
171 | public static func makeFold<G, V>() -> HFold<G, V, HNil, V> {
| `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
172 | return HFold<G, V, HNil, V> { (f, v, n) in
173 | return v
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:33: warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'G' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:36: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'V' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:42: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'R' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
[43/55] Compiling Swiftz HList.swift
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:137:29: warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
96 | /// a function, and can be used as an index for extra information that the map
97 | /// function may need in its computation.
98 | public struct HMap<F, A, R> {
| `- note: 'A' previously declared here
99 | public let map : (F, A) -> R
100 |
:
135 | /// Returns an `HMap` that uses an `HAppend` operation to append two
136 | /// `HList`s together.
137 | public static func happend<A, B, C>() -> HMap<HAppend<A, B, C>, (A, B), C> {
| `- warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
138 | return HMap<HAppend<A, B, C>, (A, B), C> { (f, p) in
139 | return f.append(p.0, p.1)
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:171:30: warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'G' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
169 | ///
170 | /// This operation returns the starting value of the fold.
171 | public static func makeFold<G, V>() -> HFold<G, V, HNil, V> {
| `- warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
172 | return HFold<G, V, HNil, V> { (f, v, n) in
173 | return v
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:171:33: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'V' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
169 | ///
170 | /// This operation returns the starting value of the fold.
171 | public static func makeFold<G, V>() -> HFold<G, V, HNil, V> {
| `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
172 | return HFold<G, V, HNil, V> { (f, v, n) in
173 | return v
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:33: warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'G' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:36: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'V' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:42: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'R' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
[44/55] Compiling Swiftz Identity.swift
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:137:29: warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
96 | /// a function, and can be used as an index for extra information that the map
97 | /// function may need in its computation.
98 | public struct HMap<F, A, R> {
| `- note: 'A' previously declared here
99 | public let map : (F, A) -> R
100 |
:
135 | /// Returns an `HMap` that uses an `HAppend` operation to append two
136 | /// `HList`s together.
137 | public static func happend<A, B, C>() -> HMap<HAppend<A, B, C>, (A, B), C> {
| `- warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
138 | return HMap<HAppend<A, B, C>, (A, B), C> { (f, p) in
139 | return f.append(p.0, p.1)
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:171:30: warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'G' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
169 | ///
170 | /// This operation returns the starting value of the fold.
171 | public static func makeFold<G, V>() -> HFold<G, V, HNil, V> {
| `- warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
172 | return HFold<G, V, HNil, V> { (f, v, n) in
173 | return v
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:171:33: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'V' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
169 | ///
170 | /// This operation returns the starting value of the fold.
171 | public static func makeFold<G, V>() -> HFold<G, V, HNil, V> {
| `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
172 | return HFold<G, V, HNil, V> { (f, v, n) in
173 | return v
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:33: warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'G' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:36: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'V' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:42: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'R' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
[45/55] Compiling Swiftz Kinds.swift
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:137:29: warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
96 | /// a function, and can be used as an index for extra information that the map
97 | /// function may need in its computation.
98 | public struct HMap<F, A, R> {
| `- note: 'A' previously declared here
99 | public let map : (F, A) -> R
100 |
:
135 | /// Returns an `HMap` that uses an `HAppend` operation to append two
136 | /// `HList`s together.
137 | public static func happend<A, B, C>() -> HMap<HAppend<A, B, C>, (A, B), C> {
| `- warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
138 | return HMap<HAppend<A, B, C>, (A, B), C> { (f, p) in
139 | return f.append(p.0, p.1)
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:171:30: warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'G' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
169 | ///
170 | /// This operation returns the starting value of the fold.
171 | public static func makeFold<G, V>() -> HFold<G, V, HNil, V> {
| `- warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
172 | return HFold<G, V, HNil, V> { (f, v, n) in
173 | return v
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:171:33: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'V' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
169 | ///
170 | /// This operation returns the starting value of the fold.
171 | public static func makeFold<G, V>() -> HFold<G, V, HNil, V> {
| `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
172 | return HFold<G, V, HNil, V> { (f, v, n) in
173 | return v
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:33: warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'G' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'G' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:36: warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'V' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'V' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
/host/spi-builder-workspace/Sources/Swiftz/HList.swift:178:42: warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
159 | /// `(Int) -> Int`, contained in a list of type `FList`, to an `HNil` node and
160 | /// an ending value of type `(Int) -> Int`.
161 | public struct HFold<G, V, A, R> {
| `- note: 'R' previously declared here
162 | public let fold : (G, V, A) -> R
163 |
:
176 |
177 | /// Creates an `HFold` object that folds a function over an `HCons` node.
178 | public static func makeFold<H, G, V, T, R, RR>(_ p : HMap<G, (H, R), RR>, _ h : HFold<G, V, T, R>) -> HFold<G, V, HCons<H, T>, RR> {
| `- warning: generic parameter 'R' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
179 | return HFold<G, V, HCons<H, T>, RR> { (f, v, c) in
180 | return p.map(f, (c.head, h.fold(f, v, c.tail)))
[46/55] Compiling Swiftz Reader.swift
[47/55] Compiling Swiftz Semigroup.swift
[48/55] Compiling Swiftz State.swift
[49/55] Compiling Swiftz Stream.swift
[50/55] Compiling Swiftz StringExt.swift
[51/55] Compiling Swiftz Copointed.swift
[52/55] Compiling Swiftz Curry.swift
[53/55] Compiling Swiftz DictionaryExt.swift
[54/55] Compiling Swiftz EitherExt.swift
[55/55] Compiling Swiftz Foldable.swift
Build complete! (22.05s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftx",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/typelift/Swiftx.git"
},
{
"identity" : "swiftcheck",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/typelift/SwiftCheck.git"
}
],
"manifest_display_name" : "Swiftz",
"name" : "Swiftz",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Swiftz",
"targets" : [
"Swiftz"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftzTests",
"module_type" : "SwiftTarget",
"name" : "SwiftzTests",
"path" : "Tests/SwiftzTests",
"product_dependencies" : [
"SwiftCheck"
],
"sources" : [
"ArrayExtSpec.swift",
"ArrowExtSpec.swift",
"DictionaryExtSpec.swift",
"EitherSpec.swift",
"FunctionSpec.swift",
"FunctorSpec.swift",
"HListSpec.swift",
"IdentitySpec.swift",
"ListSpec.swift",
"MonoidSpec.swift",
"NonEmptyListSpec.swift",
"OptionalExtSpec.swift",
"ProxySpec.swift",
"ReaderSpec.swift",
"StateSpec.swift",
"StreamSpec.swift",
"StringExtSpec.swift",
"ThoseSpec.swift",
"TupleExtSpec.swift",
"UnitSpec.swift",
"WriterSpec.swift"
],
"target_dependencies" : [
"Swiftz"
],
"type" : "test"
},
{
"c99name" : "Swiftz",
"module_type" : "SwiftTarget",
"name" : "Swiftz",
"path" : "Sources/Swiftz",
"product_dependencies" : [
"Swiftx"
],
"product_memberships" : [
"Swiftz"
],
"sources" : [
"Applicative.swift",
"ArrayExt.swift",
"Arrow.swift",
"ArrowExt.swift",
"Bifunctor.swift",
"Bounded.swift",
"Category.swift",
"CharacterExt.swift",
"Comonad.swift",
"Const.swift",
"Copointed.swift",
"Curry.swift",
"DictionaryExt.swift",
"EitherExt.swift",
"Foldable.swift",
"Function.swift",
"Functor.swift",
"HList.swift",
"Identity.swift",
"Kinds.swift",
"List.swift",
"Monad.swift",
"Monoid.swift",
"Monoidal.swift",
"NonEmptyList.swift",
"Num.swift",
"OptionalExt.swift",
"Pointed.swift",
"Proxy.swift",
"Ratio.swift",
"Reader.swift",
"Semigroup.swift",
"State.swift",
"Stream.swift",
"StringExt.swift",
"Those.swift",
"TupleExt.swift",
"Unit.swift",
"Writer.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.