[INFO] cloning repository https://github.com/lucas-campagna/rust-fun-physics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucas-campagna/rust-fun-physics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-campagna%2Frust-fun-physics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-campagna%2Frust-fun-physics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f774e9481a26f79bc009a55500525bf152ef69ba [INFO] testing lucas-campagna/rust-fun-physics against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucas-campagna%2Frust-fun-physics" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lucas-campagna/rust-fun-physics [INFO] finished tweaking git repo https://github.com/lucas-campagna/rust-fun-physics [INFO] tweaked toml for git repo https://github.com/lucas-campagna/rust-fun-physics written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucas-campagna/rust-fun-physics on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lucas-campagna/rust-fun-physics already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c526066cb56f50c9e4d36597e82e8a056b3604a656b07ff6c6b4fc7fcdacc118 [INFO] running `Command { std: "docker" "start" "-a" "c526066cb56f50c9e4d36597e82e8a056b3604a656b07ff6c6b4fc7fcdacc118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c526066cb56f50c9e4d36597e82e8a056b3604a656b07ff6c6b4fc7fcdacc118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c526066cb56f50c9e4d36597e82e8a056b3604a656b07ff6c6b4fc7fcdacc118", kill_on_drop: false }` [INFO] [stdout] c526066cb56f50c9e4d36597e82e8a056b3604a656b07ff6c6b4fc7fcdacc118 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4416671aaa2f7a0e9d0b7523206a387cb50685dcd8d6148786cee5e1e8626592 [INFO] running `Command { std: "docker" "start" "-a" "4416671aaa2f7a0e9d0b7523206a387cb50685dcd8d6148786cee5e1e8626592", kill_on_drop: false }` [INFO] [stderr] Compiling rust-fun-physics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/physics/solver.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `regions` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/physics/solver.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 55 | for region in regions.keys() { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 58 | for ball in regions.get_mut(®ion).unwrap().iter_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `regions` as mutable more than once at a time [INFO] [stdout] --> src/physics/solver.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 58 | for ball in regions.get_mut(®ion).unwrap().iter_mut() { [INFO] [stdout] | -------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 61 | regions [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-fun-physics` (bin "rust-fun-physics") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4416671aaa2f7a0e9d0b7523206a387cb50685dcd8d6148786cee5e1e8626592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4416671aaa2f7a0e9d0b7523206a387cb50685dcd8d6148786cee5e1e8626592", kill_on_drop: false }` [INFO] [stdout] 4416671aaa2f7a0e9d0b7523206a387cb50685dcd8d6148786cee5e1e8626592