The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Gymnazo, reference main (4b961c), with Swift 6.1 for macOS (SPM) on 30 Sep 2026 22:00:37 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/justindal/Gymnazo.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/justindal/Gymnazo
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4b961c4 fix: harden training correctness
Submodule path 'Vendor/Box2D': checked out '8c661469c9507d3ad6fbd2fea3f1aa71669c2fe3'
Submodule 'Vendor/Box2D' (https://github.com/erincatto/box2d.git) registered for path 'Vendor/Box2D'
Cloning into '/Users/admin/builder/spi-builder-workspace/Vendor/Box2D'...
Cloned https://github.com/justindal/Gymnazo.git
Revision (git rev-parse @):
4b961c4541479f829d2dad723c342bd41cc54526
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/justindal/Gymnazo.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/justindal/Gymnazo.git
https://github.com/justindal/Gymnazo.git
{
  "dependencies" : [
    {
      "identity" : "mlx-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.31.6",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ml-explore/mlx-swift"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "1.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Gymnazo",
  "name" : "Gymnazo",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    }
  ],
  "products" : [
    {
      "name" : "Gymnazo",
      "targets" : [
        "Gymnazo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Box2D",
      "targets" : [
        "Box2D"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GymnazoProfiler",
      "targets" : [
        "GymnazoProfiler"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GymnazoTests",
      "module_type" : "SwiftTarget",
      "name" : "GymnazoTests",
      "path" : "Tests/GymnazoTests",
      "sources" : [
        "AcrobotTests.swift",
        "ActionWrappersTests.swift",
        "AdditionalWrappersTests.swift",
        "AlgorithmBatchedInferenceTests.swift",
        "AlgorithmFormulaTests.swift",
        "AsyncVectorEnvTests.swift",
        "AutoResetWrapperTests.swift",
        "BlackjackTests.swift",
        "Box2DValueEnvironmentTests.swift",
        "BoxSpaceTests.swift",
        "BufferTests.swift",
        "CNNTrainingTests.swift",
        "CarRacingTests.swift",
        "CartPoleTests.swift",
        "ClassicControlDeterminismTests.swift",
        "CliffWalkingTests.swift",
        "CompositeValueEnvironmentTests.swift",
        "CorrectnessRegressionTests.swift",
        "DQNTests.swift",
        "DiscreteSpaceTests.swift",
        "FlappyBirdTests.swift",
        "FlatteningTests.swift",
        "FrozenLakeTests.swift",
        "GoldenEnvironmentTraceTests.swift",
        "GraphSpaceTests.swift",
        "GymnazoRegistrationTests.swift",
        "GymnazoTests.swift",
        "ImageObservationTests.swift",
        "LunarLanderTests.swift",
        "MountainCarContinuousTests.swift",
        "MountainCarTests.swift",
        "MultiBinarySpaceTests.swift",
        "MultiDiscreteSpaceTests.swift",
        "P1WrapperTests.swift",
        "PPOTests.swift",
        "ParallelValueVectorEnvironmentTests.swift",
        "PendulumTests.swift",
        "PersistenceTests.swift",
        "RewardWrappersTests.swift",
        "RobustnessTests.swift",
        "SACTests.swift",
        "SeededTrainingEnvironments.swift",
        "SequenceSpaceTests.swift",
        "SnakeTests.swift",
        "SyncValueVectorEnvironmentTests.swift",
        "TD3Tests.swift",
        "TabularTests.swift",
        "TaxiTests.swift",
        "TextSpaceTests.swift",
        "ToyTextValueEnvironmentTests.swift",
        "TrainingEfficiencyTests.swift",
        "TwentyFortyEightTests.swift",
        "ValueClassicControlTests.swift",
        "ValueCollectionSessionTests.swift",
        "ValueEnvironmentTests.swift",
        "ValueRegistryTests.swift",
        "ValueSpaceContractTests.swift",
        "ValueTrainingTests.swift",
        "ValueWrapperTests.swift",
        "VectorEnvTests.swift",
        "WrapperBehaviorTests.swift",
        "WrapperExtensionTests.swift"
      ],
      "target_dependencies" : [
        "Gymnazo"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GymnazoProfiler",
      "module_type" : "SwiftTarget",
      "name" : "GymnazoProfiler",
      "path" : "Sources/GymnazoProfiler",
      "product_dependencies" : [
        "MLX"
      ],
      "product_memberships" : [
        "GymnazoProfiler"
      ],
      "sources" : [
        "GymnazoProfiler.swift",
        "TrainingProfiles.swift"
      ],
      "target_dependencies" : [
        "Gymnazo"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Gymnazo",
      "module_type" : "SwiftTarget",
      "name" : "Gymnazo",
      "path" : "Sources/Gymnazo",
      "product_dependencies" : [
        "MLX",
        "MLXNN",
        "MLXOptimizers",
        "MLXRandom",
        "Collections"
      ],
      "product_memberships" : [
        "Gymnazo",
        "GymnazoProfiler"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Gymnazo/Resources/FrozenLake/cracked_hole.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Gymnazo/Resources/FrozenLake/elf_down.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Gymnazo/Resources/FrozenLake/elf_left.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Gymnazo/Resources/FrozenLake/elf_right.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Gymnazo/Resources/FrozenLake/elf_up.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Gymnazo/Resources/FrozenLake/goal.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Gymnazo/Resources/FrozenLake/hole.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Gymnazo/Resources/FrozenLake/ice.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Gymnazo/Resources/FrozenLake/stool.png",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Core/AnyValueEnvironment.swift",
        "Core/AnyValueSpace.swift",
        "Core/AnyValueVectorEnvironment.swift",
        "Core/FlattenedValue.swift",
        "Core/MLXValueCodec.swift",
        "Core/ParallelValueVectorEnvironment.swift",
        "Core/SpaceValue.swift",
        "Core/SyncValueVectorEnvironment.swift",
        "Core/TensorValue.swift",
        "Core/TransformAnyValueVectorEnvironment.swift",
        "Core/ValueCollectionSession.swift",
        "Core/ValueEnvironment.swift",
        "Core/ValueRegistry.swift",
        "Core/ValueSpace.swift",
        "Core/ValueSpaces/BoxValueSpace.swift",
        "Core/ValueSpaces/DictionaryValueSpace.swift",
        "Core/ValueSpaces/DiscreteValueSpace.swift",
        "Core/ValueSpaces/GraphValueSpace.swift",
        "Core/ValueSpaces/MultiBinaryValueSpace.swift",
        "Core/ValueSpaces/MultiDiscreteValueSpace.swift",
        "Core/ValueSpaces/SequenceValueSpace.swift",
        "Core/ValueSpaces/TextValueSpace.swift",
        "Core/ValueSpaces/TupleValueSpace.swift",
        "Core/ValueWrappers/AutoResetValueEnvironment.swift",
        "Core/ValueWrappers/CommonValueWrappers.swift",
        "Core/ValueWrappers/RecordEpisodeStatisticsValueEnvironment.swift",
        "Core/ValueWrappers/TimeLimitValueEnvironment.swift",
        "Core/ValueWrappers/TransformValueEnvironment.swift",
        "Core/ValueWrappers/ValueWrapperExtensions.swift",
        "Env.swift",
        "EnvCategory.swift",
        "Environments/Arcade/FlappyBird.swift",
        "Environments/Arcade/FlappyBirdModel.swift",
        "Environments/Arcade/Renderers/ArcadeImageRenderer.swift",
        "Environments/Arcade/Renderers/FlappyBirdRenderer.swift",
        "Environments/Arcade/Renderers/SnakeRenderer.swift",
        "Environments/Arcade/Renderers/TwentyFortyEightRenderer.swift",
        "Environments/Arcade/Snake.swift",
        "Environments/Arcade/SnakeModel.swift",
        "Environments/Arcade/TwentyFortyEight.swift",
        "Environments/Arcade/TwentyFortyEightModel.swift",
        "Environments/Arcade/Value/FlappyBirdValueEnvironment.swift",
        "Environments/Arcade/Value/SnakeValueEnvironment.swift",
        "Environments/Arcade/Value/TwentyFortyEightValueEnvironment.swift",
        "Environments/Box2D/Box2DValueStorage.swift",
        "Environments/Box2D/CarDynamics.swift",
        "Environments/Box2D/CarRacing.swift",
        "Environments/Box2D/CarRacingDiscrete.swift",
        "Environments/Box2D/CarRacingTrack.swift",
        "Environments/Box2D/LunarLander.swift",
        "Environments/Box2D/LunarLanderContinuous.swift",
        "Environments/Box2D/Renderers/CarRacingRenderer.swift",
        "Environments/Box2D/Renderers/LunarLanderRenderer.swift",
        "Environments/ClassicControl/Acrobot.swift",
        "Environments/ClassicControl/CartPole.swift",
        "Environments/ClassicControl/MountainCar.swift",
        "Environments/ClassicControl/MountainCarContinuous.swift",
        "Environments/ClassicControl/Pendulum.swift",
        "Environments/ClassicControl/Renderers/MountainCarRenderer.swift",
        "Environments/ClassicControl/Value/AcrobotValueEnvironment.swift",
        "Environments/ClassicControl/Value/CartPoleValueEnvironment.swift",
        "Environments/ClassicControl/Value/MountainCarContinuousValueEnvironment.swift",
        "Environments/ClassicControl/Value/MountainCarValueEnvironment.swift",
        "Environments/ClassicControl/Value/PendulumValueEnvironment.swift",
        "Environments/Registration.swift",
        "Environments/ToyText/Blackjack.swift",
        "Environments/ToyText/CliffWalking.swift",
        "Environments/ToyText/FrozenLake.swift",
        "Environments/ToyText/Taxi.swift",
        "Environments/ToyText/Value/BlackjackValueEnvironment.swift",
        "Environments/ToyText/Value/CliffWalkingValueEnvironment.swift",
        "Environments/ToyText/Value/FrozenLakeValueEnvironment.swift",
        "Environments/ToyText/Value/TaxiValueEnvironment.swift",
        "Errors.swift",
        "Gymnazo.swift",
        "Info.swift",
        "RL/Algorithms/DQN/DQN+Persistence.swift",
        "RL/Algorithms/DQN/DQN+ValueTraining.swift",
        "RL/Algorithms/DQN/DQN.swift",
        "RL/Algorithms/DQN/DQNConfigs.swift",
        "RL/Algorithms/DQN/DQNNetworks.swift",
        "RL/Algorithms/DQN/DQNPolicy.swift",
        "RL/Algorithms/OffPolicyAlgorithm.swift",
        "RL/Algorithms/PPO/PPO+Persistence.swift",
        "RL/Algorithms/PPO/PPO+ValueTraining.swift",
        "RL/Algorithms/PPO/PPO.swift",
        "RL/Algorithms/PPO/PPOConfigs.swift",
        "RL/Algorithms/PPO/PPOPolicy.swift",
        "RL/Algorithms/SAC/LogEntropyCoefModule.swift",
        "RL/Algorithms/SAC/SAC+Persistence.swift",
        "RL/Algorithms/SAC/SAC+ValueTraining.swift",
        "RL/Algorithms/SAC/SAC.swift",
        "RL/Algorithms/SAC/SACConfigs.swift",
        "RL/Algorithms/SAC/SACCritic.swift",
        "RL/Algorithms/SAC/SACNetworks.swift",
        "RL/Algorithms/SAC/SACPolicy.swift",
        "RL/Algorithms/TD3/TD3+Persistence.swift",
        "RL/Algorithms/TD3/TD3+ValueTraining.swift",
        "RL/Algorithms/TD3/TD3.swift",
        "RL/Algorithms/TD3/TD3ActionNoise.swift",
        "RL/Algorithms/TD3/TD3Actor.swift",
        "RL/Algorithms/TD3/TD3Configs.swift",
        "RL/Algorithms/TD3/TD3Policy.swift",
        "RL/Algorithms/Tabular/TabularAgent+Persistence.swift",
        "RL/Algorithms/Tabular/TabularAgent.swift",
        "RL/Algorithms/Tabular/TabularConfig.swift",
        "RL/Buffers/PreparedRollout.swift",
        "RL/Buffers/ReplayBuffer+Batch.swift",
        "RL/Buffers/ReplayBuffer+Persistence.swift",
        "RL/Buffers/ReplayBuffer+ValueCollection.swift",
        "RL/Buffers/ReplayBuffer.swift",
        "RL/Buffers/ReplayBufferSizing.swift",
        "RL/Buffers/RolloutBuffer.swift",
        "RL/Core/ActivationConfig.swift",
        "RL/Core/AlgorithmValueInference.swift",
        "RL/Core/Buffer.swift",
        "RL/Core/Callbacks.swift",
        "RL/Core/Distribution.swift",
        "RL/Core/FeaturesExtractor.swift",
        "RL/Core/Model.swift",
        "RL/Core/Policy.swift",
        "RL/Core/PolicyAction.swift",
        "RL/Distributions/BernoulliDistribution.swift",
        "RL/Distributions/CategoricalDistribution.swift",
        "RL/Distributions/DiagGaussianDistribution.swift",
        "RL/Distributions/DistributionFactory.swift",
        "RL/Distributions/SquashedDiagGaussianDistribution.swift",
        "RL/Distributions/StateDependentNoiseDistribution.swift",
        "RL/Networks/CombinedExtractor.swift",
        "RL/Networks/FlattenExtractor.swift",
        "RL/Networks/MLPExtractor.swift",
        "RL/Networks/MLPFactory.swift",
        "RL/Networks/NatureCNN.swift",
        "RL/Networks/NetArch.swift",
        "RL/Persistence/AlgorithmCheckpoint.swift",
        "RL/Persistence/LearningRateScheduleData.swift",
        "RL/Persistence/Persistable.swift",
        "RL/Persistence/SpaceDescriptor.swift",
        "RL/Policies/ActorCriticPolicy.swift",
        "RL/Policies/CNNPolicy.swift",
        "RL/Policies/ContinuousCritic.swift",
        "RL/Policies/MultiInputPolicy.swift",
        "RL/Training/Callback.swift",
        "RL/Training/Callbacks/CheckpointCallback.swift",
        "RL/Training/Callbacks/EvalCallback.swift",
        "RL/Training/Callbacks/ProgressCallback.swift",
        "RL/Training/Callbacks/StopTrainingCallbacks.swift",
        "RL/Training/Evaluation.swift",
        "RL/Training/Logger.swift",
        "RL/Training/ValueOffPolicyTraining.swift",
        "RL/Utils/AlgorithmMath.swift",
        "RL/Utils/CompileSupport.swift",
        "RL/Utils/Keys.swift",
        "RL/Utils/PolyakUpdate.swift",
        "RL/Utils/ScheduledAdam.swift",
        "RL/Utils/Schedules.swift",
        "RL/Utils/SeededModuleInitialization.swift",
        "Render.swift",
        "Spaces/AnySpace.swift",
        "Spaces/Box.swift",
        "Spaces/Dict.swift",
        "Spaces/Discrete.swift",
        "Spaces/Flattening.swift",
        "Spaces/Graph.swift",
        "Spaces/MultiBinary.swift",
        "Spaces/MultiDiscrete.swift",
        "Spaces/Sequence.swift",
        "Spaces/Space.swift",
        "Spaces/TensorSpace.swift",
        "Spaces/Text.swift",
        "Spaces/Tuple.swift",
        "Utils/CGImage+RGB.swift",
        "Utils/EnvChecker.swift",
        "Utils/MLXArray+Scalars.swift",
        "Utils/MLXEval.swift",
        "Utils/RunningMeanStd.swift",
        "Utils/SeededGenerator.swift",
        "Utils/utils.swift",
        "Vector/AsyncVectorEnv.swift",
        "Vector/SyncVectorEnv.swift",
        "Vector/VectorEnv.swift",
        "Wrappers/ActionBoxWrappers.swift",
        "Wrappers/AutoReset.swift",
        "Wrappers/FlattenObservation.swift",
        "Wrappers/FrameSkip.swift",
        "Wrappers/FrameStackObservation.swift",
        "Wrappers/FunctionalWrappers.swift",
        "Wrappers/GrayscaleObservation.swift",
        "Wrappers/NormalizeObservation.swift",
        "Wrappers/NormalizeReward.swift",
        "Wrappers/OrderEnforcing.swift",
        "Wrappers/PassiveEnvChecker.swift",
        "Wrappers/RecordEpisodeStatistics.swift",
        "Wrappers/RenderCollection.swift",
        "Wrappers/ResizeObservation.swift",
        "Wrappers/ShapeReward.swift",
        "Wrappers/TimeLimit.swift",
        "Wrappers/TransformObservation.swift",
        "Wrappers/TransformReward.swift",
        "Wrappers/Wrapper.swift",
        "Wrappers/WrapperExtensions.swift"
      ],
      "target_dependencies" : [
        "Box2D"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Box2D",
      "module_type" : "ClangTarget",
      "name" : "Box2D",
      "path" : "Vendor/Box2D",
      "product_memberships" : [
        "Gymnazo",
        "Box2D",
        "GymnazoProfiler"
      ],
      "sources" : [
        "src/aabb.c",
        "src/arena_allocator.c",
        "src/array.c",
        "src/bitset.c",
        "src/body.c",
        "src/broad_phase.c",
        "src/constraint_graph.c",
        "src/contact.c",
        "src/contact_solver.c",
        "src/core.c",
        "src/distance.c",
        "src/distance_joint.c",
        "src/dynamic_tree.c",
        "src/geometry.c",
        "src/hull.c",
        "src/id_pool.c",
        "src/island.c",
        "src/joint.c",
        "src/manifold.c",
        "src/math_functions.c",
        "src/motor_joint.c",
        "src/mouse_joint.c",
        "src/mover.c",
        "src/prismatic_joint.c",
        "src/revolute_joint.c",
        "src/sensor.c",
        "src/shape.c",
        "src/solver.c",
        "src/solver_set.c",
        "src/table.c",
        "src/timer.c",
        "src/types.c",
        "src/weld_joint.c",
        "src/wheel_joint.c",
        "src/world.c"
      ],
      "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
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/apple/swift-collections.git from cache
[1/2345] Fetching swift-docc-plugin
[236/19384] Fetching swift-docc-plugin, mlx-swift
Fetched https://github.com/ml-explore/mlx-swift from cache (6.99s)
Fetched https://github.com/apple/swift-docc-plugin from cache (6.99s)
Fetched https://github.com/apple/swift-collections.git from cache (7.06s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (7.78s)
Computing version for https://github.com/ml-explore/mlx-swift
error: Dependencies could not be resolved because 'mlx-swift' >= 0.31.5 contains incompatible tools version (6.3.0) and root depends on 'mlx-swift' 0.31.6..<1.0.0.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Updating https://github.com/ml-explore/mlx-swift
Updating https://github.com/apple/swift-collections.git
Updating https://github.com/apple/swift-docc-plugin
Updated https://github.com/apple/swift-docc-plugin (0.69s)
Updated https://github.com/apple/swift-collections.git (0.69s)
Updated https://github.com/ml-explore/mlx-swift (0.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.77s)
Computing version for https://github.com/ml-explore/mlx-swift
error: Dependencies could not be resolved because 'mlx-swift' >= 0.31.5 contains incompatible tools version (6.3.0) and root depends on 'mlx-swift' 0.31.6..<1.0.0.
BUILD FAILURE 6.1 macosSpm