The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftRL, reference 0.3.0 (e0dd16), with Swift 6.2 for macOS (SPM) on 16 Mar 2026 10:08:24 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftAutograd/SwiftRL.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftAutograd/SwiftRL
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at e0dd161 Add CI pipeline, improve test coverage, clean up code
Cloned https://github.com/SwiftAutograd/SwiftRL.git
Revision (git rev-parse @):
e0dd161002c7c8995ab10412de30de734799f05f
SUCCESS checkout https://github.com/SwiftAutograd/SwiftRL.git at 0.3.0
Fetching https://github.com/SwiftAutograd/SwiftGrad.git
[1/61] Fetching swiftgrad
Fetched https://github.com/SwiftAutograd/SwiftGrad.git from cache (5.13s)
Creating working copy for https://github.com/SwiftAutograd/SwiftGrad.git
Working copy of https://github.com/SwiftAutograd/SwiftGrad.git resolved at 0.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftrl",
      "name": "SwiftRL",
      "url": "https://github.com/SwiftAutograd/SwiftRL.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftRL",
      "dependencies": [
        {
          "identity": "swiftgrad",
          "name": "SwiftGrad",
          "url": "https://github.com/SwiftAutograd/SwiftGrad.git",
          "version": "0.3.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftGrad",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/SwiftAutograd/SwiftRL.git
[1/2380] Fetching swiftrl
Fetched https://github.com/SwiftAutograd/SwiftRL.git from cache (1.82s)
Fetching https://github.com/SwiftAutograd/SwiftGrad.git from cache
Fetched https://github.com/SwiftAutograd/SwiftGrad.git from cache (0.54s)
Computing version for https://github.com/SwiftAutograd/SwiftGrad.git
Computed https://github.com/SwiftAutograd/SwiftGrad.git at 0.3.1 (1.06s)
Creating working copy for https://github.com/SwiftAutograd/SwiftRL.git
Working copy of https://github.com/SwiftAutograd/SwiftRL.git resolved at 0.3.0 (e0dd161)
Creating working copy for https://github.com/SwiftAutograd/SwiftGrad.git
Working copy of https://github.com/SwiftAutograd/SwiftGrad.git resolved at 0.3.1
warning: '.resolve-product-dependencies': dependency 'swiftrl' is not used by any target
Found 1 product dependencies
  - SwiftGrad
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SwiftAutograd/SwiftRL.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-49B95AFC49DCD68C.txt
[4/8] Compiling SwiftGrad NN.swift
[5/8] Compiling SwiftGrad SwiftGrad.swift
[6/8] Compiling SwiftGrad Engine.swift
[7/8] Compiling SwiftGrad Losses.swift
[8/8] Emitting module SwiftGrad
[9/22] Compiling SwiftRL EpsilonSchedule.swift
[10/23] Compiling SwiftRL SwiftRL.swift
[11/23] Compiling SwiftRL Adam.swift
[12/23] Compiling SwiftRL Softmax.swift
[13/23] Compiling SwiftRL CartPole.swift
[14/23] Compiling SwiftRL GridWorld.swift
[15/23] Compiling SwiftRL ReplayBuffer.swift
[16/23] Compiling SwiftRL Bandit.swift
[17/23] Compiling SwiftRL Agent.swift
[18/23] Compiling SwiftRL Environment.swift
[19/23] Compiling SwiftRL Snake.swift
[20/23] Compiling SwiftRL RewardTracker.swift
[21/23] Compiling SwiftRL DQN.swift
[22/23] Compiling SwiftRL REINFORCE.swift
[23/23] Emitting module SwiftRL
Build complete! (5.42s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftgrad",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "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.2"
}
Done.