The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftRL, reference main (f08932), with Swift 6.1 for macOS (SPM) on 16 Mar 2026 10:05:31 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

========================================
RunAll
========================================
Builder version: 4.69.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftAutograd/SwiftRL.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftAutograd/SwiftRL
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f089324 Fix flaky DQN GridWorld test
Cloned https://github.com/SwiftAutograd/SwiftRL.git
Revision (git rev-parse @):
f089324ca3a0ef514676d65e4fa45e03b43df3b3
SUCCESS checkout https://github.com/SwiftAutograd/SwiftRL.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwiftAutograd/SwiftRL.git
https://github.com/SwiftAutograd/SwiftRL.git
{
  "dependencies" : [
    {
      "identity" : "swiftgrad",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftAutograd/SwiftGrad.git"
    }
  ],
  "manifest_display_name" : "SwiftRL",
  "name" : "SwiftRL",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftRL",
      "targets" : [
        "SwiftRL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftRLTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRLTests",
      "path" : "Tests/SwiftRLTests",
      "sources" : [
        "SwiftRLTests.swift"
      ],
      "target_dependencies" : [
        "SwiftRL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftRL",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRL",
      "path" : "Sources/SwiftRL",
      "product_dependencies" : [
        "SwiftGrad"
      ],
      "product_memberships" : [
        "SwiftRL"
      ],
      "sources" : [
        "Algorithms/DQN.swift",
        "Algorithms/REINFORCE.swift",
        "Core/Agent.swift",
        "Core/Environment.swift",
        "Core/ReplayBuffer.swift",
        "Environments/Bandit.swift",
        "Environments/CartPole.swift",
        "Environments/GridWorld.swift",
        "Environments/Snake.swift",
        "Math/Softmax.swift",
        "Optimizers/Adam.swift",
        "SwiftRL.swift",
        "Utilities/EpsilonSchedule.swift",
        "Utilities/RewardTracker.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/8] Emitting module SwiftGrad
[5/8] Compiling SwiftGrad Losses.swift
[6/8] Compiling SwiftGrad SwiftGrad.swift
[7/8] Compiling SwiftGrad NN.swift
[8/8] Compiling SwiftGrad Engine.swift
[9/22] Compiling SwiftRL CartPole.swift
[10/22] Compiling SwiftRL GridWorld.swift
[11/23] Compiling SwiftRL Agent.swift
[12/23] Compiling SwiftRL Environment.swift
[13/23] Emitting module SwiftRL
[14/23] Compiling SwiftRL Snake.swift
[15/23] Compiling SwiftRL SwiftRL.swift
[16/23] Compiling SwiftRL Adam.swift
[17/23] Compiling SwiftRL ReplayBuffer.swift
[18/23] Compiling SwiftRL Bandit.swift
[19/23] Compiling SwiftRL DQN.swift
[20/23] Compiling SwiftRL REINFORCE.swift
[21/23] Compiling SwiftRL EpsilonSchedule.swift
[22/23] Compiling SwiftRL Softmax.swift
[23/23] Compiling SwiftRL RewardTracker.swift
Build complete! (10.32s)
Fetching https://github.com/SwiftAutograd/SwiftGrad.git
[1/61] Fetching swiftgrad
Fetched https://github.com/SwiftAutograd/SwiftGrad.git from cache (3.30s)
Computing version for https://github.com/SwiftAutograd/SwiftGrad.git
Computed https://github.com/SwiftAutograd/SwiftGrad.git at 0.3.1 (3.77s)
Creating working copy for https://github.com/SwiftAutograd/SwiftGrad.git
Working copy of https://github.com/SwiftAutograd/SwiftGrad.git resolved at 0.3.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftgrad",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftAutograd/SwiftGrad.git"
    }
  ],
  "manifest_display_name" : "SwiftRL",
  "name" : "SwiftRL",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftRL",
      "targets" : [
        "SwiftRL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftRLTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRLTests",
      "path" : "Tests/SwiftRLTests",
      "sources" : [
        "SwiftRLTests.swift"
      ],
      "target_dependencies" : [
        "SwiftRL"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftRL",
      "module_type" : "SwiftTarget",
      "name" : "SwiftRL",
      "path" : "Sources/SwiftRL",
      "product_dependencies" : [
        "SwiftGrad"
      ],
      "product_memberships" : [
        "SwiftRL"
      ],
      "sources" : [
        "Algorithms/DQN.swift",
        "Algorithms/REINFORCE.swift",
        "Core/Agent.swift",
        "Core/Environment.swift",
        "Core/ReplayBuffer.swift",
        "Environments/Bandit.swift",
        "Environments/CartPole.swift",
        "Environments/GridWorld.swift",
        "Environments/Snake.swift",
        "Math/Softmax.swift",
        "Optimizers/Adam.swift",
        "SwiftRL.swift",
        "Utilities/EpsilonSchedule.swift",
        "Utilities/RewardTracker.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.