Build Information
Successful build of swift-gen, reference main (f2e186), with Swift 6.3 for Linux on 16 Apr 2026 16:43:42 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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.3
Building package at path: $PWD
https://github.com/pointfreeco/swift-gen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling Gen Gen.swift
/host/spi-builder-workspace/Sources/Gen/Gen.swift:124:42: warning: capture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
:
122 | @inlinable
123 | public static func int(in range: ClosedRange<Value>) -> Gen {
124 | return Gen { rng in Value.random(in: range, using: &rng) }
| `- warning: capture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
125 | }
126 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:124:31: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
122 | @inlinable
123 | public static func int(in range: ClosedRange<Value>) -> Gen {
124 | return Gen { rng in Value.random(in: range, using: &rng) }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
125 | }
126 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:135:42: warning: capture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
:
133 | @inlinable
134 | public static func float(in range: ClosedRange<Value>) -> Gen {
135 | return Gen { rng in Value.random(in: range, using: &rng) }
| `- warning: capture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
136 | }
137 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:135:31: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
133 | @inlinable
134 | public static func float(in range: ClosedRange<Value>) -> Gen {
135 | return Gen { rng in Value.random(in: range, using: &rng) }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
136 | }
137 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:328:40: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
:
326 | @inlinable
327 | public var element: Gen<Value.Element?> {
328 | self.flatMap { Gen<Value.Element?>.element(of: $0) }
| `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
329 | }
330 |
/host/spi-builder-workspace/Sources/Gen/Gen.swift:328:40: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
326 | @inlinable
327 | public var element: Gen<Value.Element?> {
328 | self.flatMap { Gen<Value.Element?>.element(of: $0) }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
329 | }
330 |
/host/spi-builder-workspace/Sources/Gen/Gen.swift:334:41: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
:
332 | @inlinable
333 | public var shuffled: Gen<[Value.Element]> {
334 | self.flatMap { Gen<[Value.Element]>.shuffled($0) }
| `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
335 | }
336 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:334:41: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
332 | @inlinable
333 | public var shuffled: Gen<[Value.Element]> {
334 | self.flatMap { Gen<[Value.Element]>.shuffled($0) }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
335 | }
336 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:342:55: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
:
340 | @inlinable
341 | public static var allCases: Gen<Value> {
342 | return Gen<Value.AllCases>.always(Value.allCases).element.map { $0! }
| `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
343 | }
344 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:342:39: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
340 | @inlinable
341 | public static var allCases: Gen<Value> {
342 | return Gen<Value.AllCases>.always(Value.allCases).element.map { $0! }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
343 | }
344 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:342:71: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
340 | @inlinable
341 | public static var allCases: Gen<Value> {
342 | return Gen<Value.AllCases>.always(Value.allCases).element.map { $0! }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
343 | }
344 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:355:38: warning: capture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
353 | where C: RangeReplaceableCollection, C.Element == Value {
354 | return count.flatMap { count in
355 | guard count > 0 else { return .always(C()) }
| `- warning: capture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
356 | return Gen<C> { rng in
357 | var collection = C()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:355:45: warning: capture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
353 | where C: RangeReplaceableCollection, C.Element == Value {
354 | return count.flatMap { count in
355 | guard count > 0 else { return .always(C()) }
| `- warning: capture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
356 | return Gen<C> { rng in
357 | var collection = C()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:357:26: warning: capture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
355 | guard count > 0 else { return .always(C()) }
356 | return Gen<C> { rng in
357 | var collection = C()
| `- warning: capture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
358 | guard count > 0 else { return collection }
359 | collection.reserveCapacity(count)
/host/spi-builder-workspace/Sources/Gen/Gen.swift:394:38: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
392 | public func dictionary<K, V>(ofAtMost count: Gen<Int>) -> Gen<[K: V]> where Value == (K, V) {
393 | return count.flatMap { count in
394 | guard count > 0 else { return .always([:]) }
| `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
395 | return Gen<[K: V]> { rng in
396 | var dictionary: [K: V] = [:]
/host/spi-builder-workspace/Sources/Gen/Gen.swift:394:45: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
392 | public func dictionary<K, V>(ofAtMost count: Gen<Int>) -> Gen<[K: V]> where Value == (K, V) {
393 | return count.flatMap { count in
394 | guard count > 0 else { return .always([:]) }
| `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
395 | return Gen<[K: V]> { rng in
396 | var dictionary: [K: V] = [:]
/host/spi-builder-workspace/Sources/Gen/Gen.swift:396:34: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
394 | guard count > 0 else { return .always([:]) }
395 | return Gen<[K: V]> { rng in
396 | var dictionary: [K: V] = [:]
| `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
397 | dictionary.reserveCapacity(count)
398 | for _ in 1...count {
/host/spi-builder-workspace/Sources/Gen/Gen.swift:414:38: warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
412 | public func set<S>(ofAtMost count: Gen<Int>) -> Gen<S> where S: SetAlgebra, S.Element == Value {
413 | return count.flatMap { count in
414 | guard count > 0 else { return .always(S()) }
| `- warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
415 | return Gen<S> { rng in
416 | var set = S()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:414:45: warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
412 | public func set<S>(ofAtMost count: Gen<Int>) -> Gen<S> where S: SetAlgebra, S.Element == Value {
413 | return count.flatMap { count in
414 | guard count > 0 else { return .always(S()) }
| `- warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
415 | return Gen<S> { rng in
416 | var set = S()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:416:19: warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
414 | guard count > 0 else { return .always(S()) }
415 | return Gen<S> { rng in
416 | var set = S()
| `- warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
417 | for _ in 1...count {
418 | set.insert(self._run(&rng))
/host/spi-builder-workspace/Sources/Gen/Gen.swift:458:38: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
456 | public func set(ofAtMost count: Gen<Int>) -> Gen<Set<Value>> {
457 | return count.flatMap { count in
458 | guard count > 0 else { return .always([]) }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
459 | return Gen<Set<Value>> { rng in
460 | var set: Set<Value> = []
/host/spi-builder-workspace/Sources/Gen/Gen.swift:458:45: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
456 | public func set(ofAtMost count: Gen<Int>) -> Gen<Set<Value>> {
457 | return count.flatMap { count in
458 | guard count > 0 else { return .always([]) }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
459 | return Gen<Set<Value>> { rng in
460 | var set: Set<Value> = []
/host/spi-builder-workspace/Sources/Gen/Gen.swift:460:31: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
458 | guard count > 0 else { return .always([]) }
459 | return Gen<Set<Value>> { rng in
460 | var set: Set<Value> = []
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
461 | for _ in 1...count {
462 | 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>
[4/9] Emitting module Gen
/host/spi-builder-workspace/Sources/Gen/Gen.swift:124:42: warning: capture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
:
122 | @inlinable
123 | public static func int(in range: ClosedRange<Value>) -> Gen {
124 | return Gen { rng in Value.random(in: range, using: &rng) }
| `- warning: capture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
125 | }
126 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:124:31: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
122 | @inlinable
123 | public static func int(in range: ClosedRange<Value>) -> Gen {
124 | return Gen { rng in Value.random(in: range, using: &rng) }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
125 | }
126 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:135:42: warning: capture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
:
133 | @inlinable
134 | public static func float(in range: ClosedRange<Value>) -> Gen {
135 | return Gen { rng in Value.random(in: range, using: &rng) }
| `- warning: capture of 'range' with non-Sendable type 'ClosedRange<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
136 | }
137 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:135:31: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
133 | @inlinable
134 | public static func float(in range: ClosedRange<Value>) -> Gen {
135 | return Gen { rng in Value.random(in: range, using: &rng) }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
136 | }
137 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:328:40: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
:
326 | @inlinable
327 | public var element: Gen<Value.Element?> {
328 | self.flatMap { Gen<Value.Element?>.element(of: $0) }
| `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
329 | }
330 |
/host/spi-builder-workspace/Sources/Gen/Gen.swift:328:40: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
326 | @inlinable
327 | public var element: Gen<Value.Element?> {
328 | self.flatMap { Gen<Value.Element?>.element(of: $0) }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
329 | }
330 |
/host/spi-builder-workspace/Sources/Gen/Gen.swift:334:41: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
:
332 | @inlinable
333 | public var shuffled: Gen<[Value.Element]> {
334 | self.flatMap { Gen<[Value.Element]>.shuffled($0) }
| `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
335 | }
336 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:334:41: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
332 | @inlinable
333 | public var shuffled: Gen<[Value.Element]> {
334 | self.flatMap { Gen<[Value.Element]>.shuffled($0) }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
335 | }
336 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:342:55: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | /// A composable, transformable context for generating random values.
2 | public struct Gen<Value>: Sendable {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
3 | @usableFromInline
4 | internal var _run: @Sendable (inout AnyRandomNumberGenerator) -> Value
:
340 | @inlinable
341 | public static var allCases: Gen<Value> {
342 | return Gen<Value.AllCases>.always(Value.allCases).element.map { $0! }
| `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
343 | }
344 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:342:39: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
340 | @inlinable
341 | public static var allCases: Gen<Value> {
342 | return Gen<Value.AllCases>.always(Value.allCases).element.map { $0! }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
343 | }
344 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:342:71: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
340 | @inlinable
341 | public static var allCases: Gen<Value> {
342 | return Gen<Value.AllCases>.always(Value.allCases).element.map { $0! }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
343 | }
344 | }
/host/spi-builder-workspace/Sources/Gen/Gen.swift:355:38: warning: capture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
353 | where C: RangeReplaceableCollection, C.Element == Value {
354 | return count.flatMap { count in
355 | guard count > 0 else { return .always(C()) }
| `- warning: capture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
356 | return Gen<C> { rng in
357 | var collection = C()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:355:45: warning: capture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
353 | where C: RangeReplaceableCollection, C.Element == Value {
354 | return count.flatMap { count in
355 | guard count > 0 else { return .always(C()) }
| `- warning: capture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
356 | return Gen<C> { rng in
357 | var collection = C()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:357:26: warning: capture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
355 | guard count > 0 else { return .always(C()) }
356 | return Gen<C> { rng in
357 | var collection = C()
| `- warning: capture of non-Sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
358 | guard count > 0 else { return collection }
359 | collection.reserveCapacity(count)
/host/spi-builder-workspace/Sources/Gen/Gen.swift:394:38: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
392 | public func dictionary<K, V>(ofAtMost count: Gen<Int>) -> Gen<[K: V]> where Value == (K, V) {
393 | return count.flatMap { count in
394 | guard count > 0 else { return .always([:]) }
| `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
395 | return Gen<[K: V]> { rng in
396 | var dictionary: [K: V] = [:]
/host/spi-builder-workspace/Sources/Gen/Gen.swift:394:45: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
392 | public func dictionary<K, V>(ofAtMost count: Gen<Int>) -> Gen<[K: V]> where Value == (K, V) {
393 | return count.flatMap { count in
394 | guard count > 0 else { return .always([:]) }
| `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
395 | return Gen<[K: V]> { rng in
396 | var dictionary: [K: V] = [:]
/host/spi-builder-workspace/Sources/Gen/Gen.swift:396:34: warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
394 | guard count > 0 else { return .always([:]) }
395 | return Gen<[K: V]> { rng in
396 | var dictionary: [K: V] = [:]
| `- warning: capture of non-Sendable type 'K.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
397 | dictionary.reserveCapacity(count)
398 | for _ in 1...count {
/host/spi-builder-workspace/Sources/Gen/Gen.swift:414:38: warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
412 | public func set<S>(ofAtMost count: Gen<Int>) -> Gen<S> where S: SetAlgebra, S.Element == Value {
413 | return count.flatMap { count in
414 | guard count > 0 else { return .always(S()) }
| `- warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
415 | return Gen<S> { rng in
416 | var set = S()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:414:45: warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
412 | public func set<S>(ofAtMost count: Gen<Int>) -> Gen<S> where S: SetAlgebra, S.Element == Value {
413 | return count.flatMap { count in
414 | guard count > 0 else { return .always(S()) }
| `- warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
415 | return Gen<S> { rng in
416 | var set = S()
/host/spi-builder-workspace/Sources/Gen/Gen.swift:416:19: warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
414 | guard count > 0 else { return .always(S()) }
415 | return Gen<S> { rng in
416 | var set = S()
| `- warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
417 | for _ in 1...count {
418 | set.insert(self._run(&rng))
/host/spi-builder-workspace/Sources/Gen/Gen.swift:458:38: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
456 | public func set(ofAtMost count: Gen<Int>) -> Gen<Set<Value>> {
457 | return count.flatMap { count in
458 | guard count > 0 else { return .always([]) }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
459 | return Gen<Set<Value>> { rng in
460 | var set: Set<Value> = []
/host/spi-builder-workspace/Sources/Gen/Gen.swift:458:45: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
456 | public func set(ofAtMost count: Gen<Int>) -> Gen<Set<Value>> {
457 | return count.flatMap { count in
458 | guard count > 0 else { return .always([]) }
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
459 | return Gen<Set<Value>> { rng in
460 | var set: Set<Value> = []
/host/spi-builder-workspace/Sources/Gen/Gen.swift:460:31: warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
458 | guard count > 0 else { return .always([]) }
459 | return Gen<Set<Value>> { rng in
460 | var set: Set<Value> = []
| `- warning: capture of non-Sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
461 | for _ in 1...count {
462 | 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>
[5/9] Compiling Gen AnyRandomNumberGenerator.swift
[6/9] Compiling Gen UIKit.swift
[7/9] Compiling Gen LCRNG.swift
[8/9] Compiling Gen Xoshiro.swift
[9/9] Compiling Gen Zip.swift
Build complete! (7.23s)
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.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.