Build Information
Successful build of swift-gen, reference main (f2e186), with Swift 6.4 for Linux on 22 Sep 2026 18:49:25 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pointfreeco/swift-gen.git
Reference: main
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/pointfreeco/swift-gen
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f2e186a Sendable support (#30)
Cloned https://github.com/pointfreeco/swift-gen.git
Revision (git rev-parse @):
f2e186a188cb7a4dfb0e122ede34b147e6c0ce17
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/pointfreeco/swift-gen.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/pointfreeco/swift-gen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
[26 / 34] Gen
/host/spi-builder-workspace/Sources/Gen/Gen.swift:124:42: [1;33mwarning: [1;39mcapture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m1 |[0;0m /// A composable, transformable context for generating random values.
[0;36m2 |[0;0m public struct Gen<Value>: Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making generic parameter 'Value' conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m @usableFromInline
[0;36m4 |[0;0m internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
[0;36m:[0;0m
[0;36m122 |[0;0m @inlinable
[0;36m123 |[0;0m public static func int(in range: ClosedRange<Value>) -> Gen {
[0;36m124 |[0;0m return Gen { rng in Value.random(in: range, using: &rng) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m125 |[0;0m }
[0;36m126 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:124:31: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m122 |[0;0m @inlinable
[0;36m123 |[0;0m public static func int(in range: ClosedRange<Value>) -> Gen {
[0;36m124 |[0;0m return Gen { rng in Value.random(in: range, using: &rng) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m125 |[0;0m }
[0;36m126 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:135:42: [1;33mwarning: [1;39mcapture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m1 |[0;0m /// A composable, transformable context for generating random values.
[0;36m2 |[0;0m public struct Gen<Value>: Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making generic parameter 'Value' conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m @usableFromInline
[0;36m4 |[0;0m internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
[0;36m:[0;0m
[0;36m133 |[0;0m @inlinable
[0;36m134 |[0;0m public static func float(in range: ClosedRange<Value>) -> Gen {
[0;36m135 |[0;0m return Gen { rng in Value.random(in: range, using: &rng) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m136 |[0;0m }
[0;36m137 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:135:31: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m133 |[0;0m @inlinable
[0;36m134 |[0;0m public static func float(in range: ClosedRange<Value>) -> Gen {
[0;36m135 |[0;0m return Gen { rng in Value.random(in: range, using: &rng) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m136 |[0;0m }
[0;36m137 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:328:40: [1;33mwarning: [1;39mtype 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m1 |[0;0m /// A composable, transformable context for generating random values.
[0;36m2 |[0;0m public struct Gen<Value>: Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making generic parameter 'Value' conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m @usableFromInline
[0;36m4 |[0;0m internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
[0;36m:[0;0m
[0;36m326 |[0;0m @inlinable
[0;36m327 |[0;0m public var element: Gen<Value.Element?> {
[0;36m328 |[0;0m self.flatMap { Gen<Value.Element?>.element(of: $0) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m329 |[0;0m }
[0;36m330 |[0;0m
/host/spi-builder-workspace/Sources/Gen/Gen.swift:328:40: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m326 |[0;0m @inlinable
[0;36m327 |[0;0m public var element: Gen<Value.Element?> {
[0;36m328 |[0;0m self.flatMap { Gen<Value.Element?>.element(of: $0) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m329 |[0;0m }
[0;36m330 |[0;0m
/host/spi-builder-workspace/Sources/Gen/Gen.swift:334:41: [1;33mwarning: [1;39mtype 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m1 |[0;0m /// A composable, transformable context for generating random values.
[0;36m2 |[0;0m public struct Gen<Value>: Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making generic parameter 'Value' conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m @usableFromInline
[0;36m4 |[0;0m internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
[0;36m:[0;0m
[0;36m332 |[0;0m @inlinable
[0;36m333 |[0;0m public var shuffled: Gen<[Value.Element]> {
[0;36m334 |[0;0m self.flatMap { Gen<[Value.Element]>.shuffled($0) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m335 |[0;0m }
[0;36m336 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:334:41: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m332 |[0;0m @inlinable
[0;36m333 |[0;0m public var shuffled: Gen<[Value.Element]> {
[0;36m334 |[0;0m self.flatMap { Gen<[Value.Element]>.shuffled($0) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m335 |[0;0m }
[0;36m336 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:342:55: [1;33mwarning: [1;39mtype 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m1 |[0;0m /// A composable, transformable context for generating random values.
[0;36m2 |[0;0m public struct Gen<Value>: Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making generic parameter 'Value' conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m @usableFromInline
[0;36m4 |[0;0m internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
[0;36m:[0;0m
[0;36m340 |[0;0m @inlinable
[0;36m341 |[0;0m public static var allCases: Gen<Value> {
[0;36m342 |[0;0m return Gen<Value.AllCases>.always(Value.allCases).element.map { $0! }
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m343 |[0;0m }
[0;36m344 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:342:39: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m340 |[0;0m @inlinable
[0;36m341 |[0;0m public static var allCases: Gen<Value> {
[0;36m342 |[0;0m return Gen<Value.AllCases>.always(Value.allCases).element.map { $0! }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m343 |[0;0m }
[0;36m344 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:342:71: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m340 |[0;0m @inlinable
[0;36m341 |[0;0m public static var allCases: Gen<Value> {
[0;36m342 |[0;0m return Gen<Value.AllCases>.always(Value.allCases).element.map { $0! }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m343 |[0;0m }
[0;36m344 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:355:38: [1;33mwarning: [1;39mcapture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m353 |[0;0m where C: RangeReplaceableCollection, C.Element == Value {
[0;36m354 |[0;0m return count.flatMap { count in
[0;36m355 |[0;0m guard count > 0 else { return .always(C()) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m356 |[0;0m return Gen<C> { rng in
[0;36m357 |[0;0m var collection = C()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:355:45: [1;33mwarning: [1;39mcapture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m353 |[0;0m where C: RangeReplaceableCollection, C.Element == Value {
[0;36m354 |[0;0m return count.flatMap { count in
[0;36m355 |[0;0m guard count > 0 else { return .always(C()) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m356 |[0;0m return Gen<C> { rng in
[0;36m357 |[0;0m var collection = C()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:357:26: [1;33mwarning: [1;39mcapture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m355 |[0;0m guard count > 0 else { return .always(C()) }
[0;36m356 |[0;0m return Gen<C> { rng in
[0;36m357 |[0;0m var collection = C()
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m358 |[0;0m guard count > 0 else { return collection }
[0;36m359 |[0;0m collection.reserveCapacity(count)
/host/spi-builder-workspace/Sources/Gen/Gen.swift:394:38: [1;33mwarning: [1;39mcapture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m392 |[0;0m public func dictionary<K, V>(ofAtMost count: Gen<Int>) -> Gen<[K: V]> where Value == (K, V) {
[0;36m393 |[0;0m return count.flatMap { count in
[0;36m394 |[0;0m guard count > 0 else { return .always([:]) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m395 |[0;0m return Gen<[K: V]> { rng in
[0;36m396 |[0;0m var dictionary: [K: V] = [:]
/host/spi-builder-workspace/Sources/Gen/Gen.swift:394:45: [1;33mwarning: [1;39mcapture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m392 |[0;0m public func dictionary<K, V>(ofAtMost count: Gen<Int>) -> Gen<[K: V]> where Value == (K, V) {
[0;36m393 |[0;0m return count.flatMap { count in
[0;36m394 |[0;0m guard count > 0 else { return .always([:]) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m395 |[0;0m return Gen<[K: V]> { rng in
[0;36m396 |[0;0m var dictionary: [K: V] = [:]
/host/spi-builder-workspace/Sources/Gen/Gen.swift:396:34: [1;33mwarning: [1;39mcapture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m394 |[0;0m guard count > 0 else { return .always([:]) }
[0;36m395 |[0;0m return Gen<[K: V]> { rng in
[0;36m396 |[0;0m var dictionary: [K: V] = [:]
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m397 |[0;0m dictionary.reserveCapacity(count)
[0;36m398 |[0;0m for _ in 1...count {
/host/spi-builder-workspace/Sources/Gen/Gen.swift:414:38: [1;33mwarning: [1;39mcapture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m412 |[0;0m public func set<S>(ofAtMost count: Gen<Int>) -> Gen<S> where S: SetAlgebra, S.Element == Value {
[0;36m413 |[0;0m return count.flatMap { count in
[0;36m414 |[0;0m guard count > 0 else { return .always(S()) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m415 |[0;0m return Gen<S> { rng in
[0;36m416 |[0;0m var set = S()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:414:45: [1;33mwarning: [1;39mcapture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m412 |[0;0m public func set<S>(ofAtMost count: Gen<Int>) -> Gen<S> where S: SetAlgebra, S.Element == Value {
[0;36m413 |[0;0m return count.flatMap { count in
[0;36m414 |[0;0m guard count > 0 else { return .always(S()) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m415 |[0;0m return Gen<S> { rng in
[0;36m416 |[0;0m var set = S()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:416:19: [1;33mwarning: [1;39mcapture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m414 |[0;0m guard count > 0 else { return .always(S()) }
[0;36m415 |[0;0m return Gen<S> { rng in
[0;36m416 |[0;0m var set = S()
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m417 |[0;0m for _ in 1...count {
[0;36m418 |[0;0m set.insert(self._run(&rng))
/host/spi-builder-workspace/Sources/Gen/Gen.swift:458:38: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m456 |[0;0m public func set(ofAtMost count: Gen<Int>) -> Gen<Set<Value>> {
[0;36m457 |[0;0m return count.flatMap { count in
[0;36m458 |[0;0m guard count > 0 else { return .always([]) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m459 |[0;0m return Gen<Set<Value>> { rng in
[0;36m460 |[0;0m var set: Set<Value> = []
/host/spi-builder-workspace/Sources/Gen/Gen.swift:458:45: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m456 |[0;0m public func set(ofAtMost count: Gen<Int>) -> Gen<Set<Value>> {
[0;36m457 |[0;0m return count.flatMap { count in
[0;36m458 |[0;0m guard count > 0 else { return .always([]) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m459 |[0;0m return Gen<Set<Value>> { rng in
[0;36m460 |[0;0m var set: Set<Value> = []
/host/spi-builder-workspace/Sources/Gen/Gen.swift:460:31: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m458 |[0;0m guard count > 0 else { return .always([]) }
[0;36m459 |[0;0m return Gen<Set<Value>> { rng in
[0;36m460 |[0;0m var set: Set<Value> = []
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m461 |[0;0m for _ in 1...count {
[0;36m462 |[0;0m set.insert(self._run(&rng))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[31 / 34] Gen
/host/spi-builder-workspace/Sources/Gen/Gen.swift:124:42: [1;33mwarning: [1;39mcapture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m1 |[0;0m /// A composable, transformable context for generating random values.
[0;36m2 |[0;0m public struct Gen<Value>: Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making generic parameter 'Value' conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m @usableFromInline
[0;36m4 |[0;0m internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
[0;36m:[0;0m
[0;36m122 |[0;0m @inlinable
[0;36m123 |[0;0m public static func int(in range: ClosedRange<Value>) -> Gen {
[0;36m124 |[0;0m return Gen { rng in Value.random(in: range, using: &rng) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m125 |[0;0m }
[0;36m126 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:124:31: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m122 |[0;0m @inlinable
[0;36m123 |[0;0m public static func int(in range: ClosedRange<Value>) -> Gen {
[0;36m124 |[0;0m return Gen { rng in Value.random(in: range, using: &rng) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m125 |[0;0m }
[0;36m126 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:135:42: [1;33mwarning: [1;39mcapture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m1 |[0;0m /// A composable, transformable context for generating random values.
[0;36m2 |[0;0m public struct Gen<Value>: Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making generic parameter 'Value' conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m @usableFromInline
[0;36m4 |[0;0m internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
[0;36m:[0;0m
[0;36m133 |[0;0m @inlinable
[0;36m134 |[0;0m public static func float(in range: ClosedRange<Value>) -> Gen {
[0;36m135 |[0;0m return Gen { rng in Value.random(in: range, using: &rng) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
[0;36m136 |[0;0m }
[0;36m137 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:135:31: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m133 |[0;0m @inlinable
[0;36m134 |[0;0m public static func float(in range: ClosedRange<Value>) -> Gen {
[0;36m135 |[0;0m return Gen { rng in Value.random(in: range, using: &rng) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m136 |[0;0m }
[0;36m137 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:328:40: [1;33mwarning: [1;39mtype 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m1 |[0;0m /// A composable, transformable context for generating random values.
[0;36m2 |[0;0m public struct Gen<Value>: Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making generic parameter 'Value' conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m @usableFromInline
[0;36m4 |[0;0m internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
[0;36m:[0;0m
[0;36m326 |[0;0m @inlinable
[0;36m327 |[0;0m public var element: Gen<Value.Element?> {
[0;36m328 |[0;0m self.flatMap { Gen<Value.Element?>.element(of: $0) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m329 |[0;0m }
[0;36m330 |[0;0m
/host/spi-builder-workspace/Sources/Gen/Gen.swift:328:40: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m326 |[0;0m @inlinable
[0;36m327 |[0;0m public var element: Gen<Value.Element?> {
[0;36m328 |[0;0m self.flatMap { Gen<Value.Element?>.element(of: $0) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m329 |[0;0m }
[0;36m330 |[0;0m
/host/spi-builder-workspace/Sources/Gen/Gen.swift:334:41: [1;33mwarning: [1;39mtype 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m1 |[0;0m /// A composable, transformable context for generating random values.
[0;36m2 |[0;0m public struct Gen<Value>: Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making generic parameter 'Value' conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m @usableFromInline
[0;36m4 |[0;0m internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
[0;36m:[0;0m
[0;36m332 |[0;0m @inlinable
[0;36m333 |[0;0m public var shuffled: Gen<[Value.Element]> {
[0;36m334 |[0;0m self.flatMap { Gen<[Value.Element]>.shuffled($0) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m335 |[0;0m }
[0;36m336 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:334:41: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m332 |[0;0m @inlinable
[0;36m333 |[0;0m public var shuffled: Gen<[Value.Element]> {
[0;36m334 |[0;0m self.flatMap { Gen<[Value.Element]>.shuffled($0) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m335 |[0;0m }
[0;36m336 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:342:55: [1;33mwarning: [1;39mtype 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m1 |[0;0m /// A composable, transformable context for generating random values.
[0;36m2 |[0;0m public struct Gen<Value>: Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making generic parameter 'Value' conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m @usableFromInline
[0;36m4 |[0;0m internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
[0;36m:[0;0m
[0;36m340 |[0;0m @inlinable
[0;36m341 |[0;0m public static var allCases: Gen<Value> {
[0;36m342 |[0;0m return Gen<Value.AllCases>.always(Value.allCases).element.map { $0! }
[0;36m|[0;0m `- [1;33mwarning: [1;39mtype 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode[0;0m
[0;36m343 |[0;0m }
[0;36m344 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:342:39: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m340 |[0;0m @inlinable
[0;36m341 |[0;0m public static var allCases: Gen<Value> {
[0;36m342 |[0;0m return Gen<Value.AllCases>.always(Value.allCases).element.map { $0! }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m343 |[0;0m }
[0;36m344 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:342:71: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m340 |[0;0m @inlinable
[0;36m341 |[0;0m public static var allCases: Gen<Value> {
[0;36m342 |[0;0m return Gen<Value.AllCases>.always(Value.allCases).element.map { $0! }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m343 |[0;0m }
[0;36m344 |[0;0m }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:355:38: [1;33mwarning: [1;39mcapture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m353 |[0;0m where C: RangeReplaceableCollection, C.Element == Value {
[0;36m354 |[0;0m return count.flatMap { count in
[0;36m355 |[0;0m guard count > 0 else { return .always(C()) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m356 |[0;0m return Gen<C> { rng in
[0;36m357 |[0;0m var collection = C()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:355:45: [1;33mwarning: [1;39mcapture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m353 |[0;0m where C: RangeReplaceableCollection, C.Element == Value {
[0;36m354 |[0;0m return count.flatMap { count in
[0;36m355 |[0;0m guard count > 0 else { return .always(C()) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m356 |[0;0m return Gen<C> { rng in
[0;36m357 |[0;0m var collection = C()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:357:26: [1;33mwarning: [1;39mcapture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m355 |[0;0m guard count > 0 else { return .always(C()) }
[0;36m356 |[0;0m return Gen<C> { rng in
[0;36m357 |[0;0m var collection = C()
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m358 |[0;0m guard count > 0 else { return collection }
[0;36m359 |[0;0m collection.reserveCapacity(count)
/host/spi-builder-workspace/Sources/Gen/Gen.swift:394:38: [1;33mwarning: [1;39mcapture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m392 |[0;0m public func dictionary<K, V>(ofAtMost count: Gen<Int>) -> Gen<[K: V]> where Value == (K, V) {
[0;36m393 |[0;0m return count.flatMap { count in
[0;36m394 |[0;0m guard count > 0 else { return .always([:]) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m395 |[0;0m return Gen<[K: V]> { rng in
[0;36m396 |[0;0m var dictionary: [K: V] = [:]
/host/spi-builder-workspace/Sources/Gen/Gen.swift:394:45: [1;33mwarning: [1;39mcapture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m392 |[0;0m public func dictionary<K, V>(ofAtMost count: Gen<Int>) -> Gen<[K: V]> where Value == (K, V) {
[0;36m393 |[0;0m return count.flatMap { count in
[0;36m394 |[0;0m guard count > 0 else { return .always([:]) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m395 |[0;0m return Gen<[K: V]> { rng in
[0;36m396 |[0;0m var dictionary: [K: V] = [:]
/host/spi-builder-workspace/Sources/Gen/Gen.swift:396:34: [1;33mwarning: [1;39mcapture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m394 |[0;0m guard count > 0 else { return .always([:]) }
[0;36m395 |[0;0m return Gen<[K: V]> { rng in
[0;36m396 |[0;0m var dictionary: [K: V] = [:]
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m397 |[0;0m dictionary.reserveCapacity(count)
[0;36m398 |[0;0m for _ in 1...count {
/host/spi-builder-workspace/Sources/Gen/Gen.swift:414:38: [1;33mwarning: [1;39mcapture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m412 |[0;0m public func set<S>(ofAtMost count: Gen<Int>) -> Gen<S> where S: SetAlgebra, S.Element == Value {
[0;36m413 |[0;0m return count.flatMap { count in
[0;36m414 |[0;0m guard count > 0 else { return .always(S()) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m415 |[0;0m return Gen<S> { rng in
[0;36m416 |[0;0m var set = S()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:414:45: [1;33mwarning: [1;39mcapture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m412 |[0;0m public func set<S>(ofAtMost count: Gen<Int>) -> Gen<S> where S: SetAlgebra, S.Element == Value {
[0;36m413 |[0;0m return count.flatMap { count in
[0;36m414 |[0;0m guard count > 0 else { return .always(S()) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m415 |[0;0m return Gen<S> { rng in
[0;36m416 |[0;0m var set = S()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:416:19: [1;33mwarning: [1;39mcapture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m414 |[0;0m guard count > 0 else { return .always(S()) }
[0;36m415 |[0;0m return Gen<S> { rng in
[0;36m416 |[0;0m var set = S()
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m417 |[0;0m for _ in 1...count {
[0;36m418 |[0;0m set.insert(self._run(&rng))
/host/spi-builder-workspace/Sources/Gen/Gen.swift:458:38: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m456 |[0;0m public func set(ofAtMost count: Gen<Int>) -> Gen<Set<Value>> {
[0;36m457 |[0;0m return count.flatMap { count in
[0;36m458 |[0;0m guard count > 0 else { return .always([]) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m459 |[0;0m return Gen<Set<Value>> { rng in
[0;36m460 |[0;0m var set: Set<Value> = []
/host/spi-builder-workspace/Sources/Gen/Gen.swift:458:45: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m456 |[0;0m public func set(ofAtMost count: Gen<Int>) -> Gen<Set<Value>> {
[0;36m457 |[0;0m return count.flatMap { count in
[0;36m458 |[0;0m guard count > 0 else { return .always([]) }
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m459 |[0;0m return Gen<Set<Value>> { rng in
[0;36m460 |[0;0m var set: Set<Value> = []
/host/spi-builder-workspace/Sources/Gen/Gen.swift:460:31: [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m458 |[0;0m guard count > 0 else { return .always([]) }
[0;36m459 |[0;0m return Gen<Set<Value>> { rng in
[0;36m460 |[0;0m var set: Set<Value> = []
[0;36m|[0;0m `- [1;33mwarning: [1;39mcapture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
[0;36m461 |[0;0m for _ in 1...count {
[0;36m462 |[0;0m set.insert(self._run(&rng))
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
Build complete! (2.92 secs)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-gen",
"name" : "swift-gen",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Gen",
"targets" : [
"Gen"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GenTests",
"module_type" : "SwiftTarget",
"name" : "GenTests",
"path" : "Tests/GenTests",
"sources" : [
"GenTests.swift"
],
"target_dependencies" : [
"Gen"
],
"type" : "test"
},
{
"c99name" : "Gen",
"module_type" : "SwiftTarget",
"name" : "Gen",
"path" : "Sources/Gen",
"product_memberships" : [
"Gen"
],
"sources" : [
"AnyRandomNumberGenerator.swift",
"Gen.swift",
"LCRNG.swift",
"UIKit.swift",
"Xoshiro.swift",
"Zip.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.