The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of swift-gen, reference main (f2e186), with Swift 5.10 for macOS (SPM) on 4 Aug 2025 18:01:03 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pointfreeco/swift-gen.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/pointfreeco/swift-gen.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/9] Compiling Gen Xoshiro.swift
[4/9] Compiling Gen Zip.swift
[5/9] Compiling Gen LCRNG.swift
[6/9] Compiling Gen UIKit.swift
[7/9] Compiling Gen AnyRandomNumberGenerator.swift
[8/9] Emitting module Gen
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:124:42: warning: capture of 'range' with non-sendable type 'ClosedRange<Value>' in a `@Sendable` closure
    return Gen { rng in Value.random(in: range, using: &rng) }
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:2:19: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
public struct Gen<Value>: Sendable {
                  ^
                       : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:135:42: warning: capture of 'range' with non-sendable type 'ClosedRange<Value>' in a `@Sendable` closure
    return Gen { rng in Value.random(in: range, using: &rng) }
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:2:19: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
public struct Gen<Value>: Sendable {
                  ^
                       : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:328:40: warning: type 'Value' does not conform to the 'Sendable' protocol
    self.flatMap { Gen<Value.Element?>.element(of: $0) }
                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:2:19: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
public struct Gen<Value>: Sendable {
                  ^
                       : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:334:41: warning: type 'Value' does not conform to the 'Sendable' protocol
    self.flatMap { Gen<[Value.Element]>.shuffled($0) }
                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:2:19: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
public struct Gen<Value>: Sendable {
                  ^
                       : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:342:55: warning: type 'Value' does not conform to the 'Sendable' protocol
    return Gen<Value.AllCases>.always(Value.allCases).element.map { $0! }
                                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:2:19: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
public struct Gen<Value>: Sendable {
                  ^
                       : Sendable
[9/9] Compiling Gen Gen.swift
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:124:42: warning: capture of 'range' with non-sendable type 'ClosedRange<Value>' in a `@Sendable` closure
    return Gen { rng in Value.random(in: range, using: &rng) }
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:2:19: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
public struct Gen<Value>: Sendable {
                  ^
                       : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:135:42: warning: capture of 'range' with non-sendable type 'ClosedRange<Value>' in a `@Sendable` closure
    return Gen { rng in Value.random(in: range, using: &rng) }
                                         ^
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:2:19: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
public struct Gen<Value>: Sendable {
                  ^
                       : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:328:40: warning: type 'Value' does not conform to the 'Sendable' protocol
    self.flatMap { Gen<Value.Element?>.element(of: $0) }
                                       ^
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:2:19: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
public struct Gen<Value>: Sendable {
                  ^
                       : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:334:41: warning: type 'Value' does not conform to the 'Sendable' protocol
    self.flatMap { Gen<[Value.Element]>.shuffled($0) }
                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:2:19: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
public struct Gen<Value>: Sendable {
                  ^
                       : Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:342:55: warning: type 'Value' does not conform to the 'Sendable' protocol
    return Gen<Value.AllCases>.always(Value.allCases).element.map { $0! }
                                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/Gen/Gen.swift:2:19: note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
public struct Gen<Value>: Sendable {
                  ^
                       : Sendable
Build complete! (5.00s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-gen",
  "name" : "swift-gen",
  "path" : "/Users/admin/builder/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"
}
Done.