[INFO] cloning repository https://github.com/dmyTRUEk/gravity-simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmyTRUEk/gravity-simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdmyTRUEk%2Fgravity-simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdmyTRUEk%2Fgravity-simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b814e3718bad31361d43edc34e81766b4f2bdbc [INFO] checking dmyTRUEk/gravity-simulation/3b814e3718bad31361d43edc34e81766b4f2bdbc against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdmyTRUEk%2Fgravity-simulation" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dmyTRUEk/gravity-simulation [INFO] finished tweaking git repo https://github.com/dmyTRUEk/gravity-simulation [INFO] tweaked toml for git repo https://github.com/dmyTRUEk/gravity-simulation written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dmyTRUEk/gravity-simulation on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dmyTRUEk/gravity-simulation 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.51 [INFO] [stderr] Downloaded minifb v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83871abc402b4cc5840ee37142c7f2e5ccf43c370a425596ffee0cd20b7bb79a [INFO] running `Command { std: "docker" "start" "-a" "83871abc402b4cc5840ee37142c7f2e5ccf43c370a425596ffee0cd20b7bb79a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83871abc402b4cc5840ee37142c7f2e5ccf43c370a425596ffee0cd20b7bb79a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83871abc402b4cc5840ee37142c7f2e5ccf43c370a425596ffee0cd20b7bb79a", kill_on_drop: false }` [INFO] [stdout] 83871abc402b4cc5840ee37142c7f2e5ccf43c370a425596ffee0cd20b7bb79a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72aa14c5c83b6b8973e3e146a87b53a3131be0f0fad5c12d805bfb6347a4c779 [INFO] running `Command { std: "docker" "start" "-a" "72aa14c5c83b6b8973e3e146a87b53a3131be0f0fad5c12d805bfb6347a4c779", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling minifb v0.28.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking gravity-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/main.rs:319:21 [INFO] [stdout] | [INFO] [stdout] 319 | fn gravity_force_fn(distance: float) -> float { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:348:24 [INFO] [stdout] | [INFO] [stdout] 348 | fn new_random_pos_vel(rng: &mut ThreadRng, pos_min: Vec2d, pos_max: Vec2d, vel_min: float, vel_max: float) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_min` [INFO] [stdout] --> src/main.rs:348:45 [INFO] [stdout] | [INFO] [stdout] 348 | fn new_random_pos_vel(rng: &mut ThreadRng, pos_min: Vec2d, pos_max: Vec2d, vel_min: float, vel_max: float) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_max` [INFO] [stdout] --> src/main.rs:348:61 [INFO] [stdout] | [INFO] [stdout] 348 | fn new_random_pos_vel(rng: &mut ThreadRng, pos_min: Vec2d, pos_max: Vec2d, vel_min: float, vel_max: float) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vel_min` [INFO] [stdout] --> src/main.rs:348:77 [INFO] [stdout] | [INFO] [stdout] 348 | fn new_random_pos_vel(rng: &mut ThreadRng, pos_min: Vec2d, pos_max: Vec2d, vel_min: float, vel_max: float) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vel_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vel_max` [INFO] [stdout] --> src/main.rs:348:93 [INFO] [stdout] | [INFO] [stdout] 348 | fn new_random_pos_vel(rng: &mut ThreadRng, pos_min: Vec2d, pos_max: Vec2d, vel_min: float, vel_max: float) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vel_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gravity_force_fn` is never used [INFO] [stdout] --> src/main.rs:319:4 [INFO] [stdout] | [INFO] [stdout] 319 | fn gravity_force_fn(distance: float) -> float { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_random_pos_vel` is never used [INFO] [stdout] --> src/main.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 337 | impl Particle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 348 | fn new_random_pos_vel(rng: &mut ThreadRng, pos_min: Vec2d, pos_max: Vec2d, vel_min: float, vel_max: float) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance_to` is never used [INFO] [stdout] --> src/main.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 357 | impl Vec2d { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 393 | fn distance_to(&self, other: Self) -> float { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN` is never used [INFO] [stdout] --> src/main.rs:484:7 [INFO] [stdout] | [INFO] [stdout] 484 | const GREEN: Color = Color { value: 0x00ff00 }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE` is never used [INFO] [stdout] --> src/main.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | const BLUE : Color = Color { value: 0x0000ff }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_pixel_u32_checked` is never used [INFO] [stdout] --> src/main.rs:548:5 [INFO] [stdout] | [INFO] [stdout] 500 | impl Buffer { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 548 | fn set_pixel_u32_checked(&mut self, x: u32, y: u32, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/main.rs:319:21 [INFO] [stdout] | [INFO] [stdout] 319 | fn gravity_force_fn(distance: float) -> float { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:348:24 [INFO] [stdout] | [INFO] [stdout] 348 | fn new_random_pos_vel(rng: &mut ThreadRng, pos_min: Vec2d, pos_max: Vec2d, vel_min: float, vel_max: float) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_min` [INFO] [stdout] --> src/main.rs:348:45 [INFO] [stdout] | [INFO] [stdout] 348 | fn new_random_pos_vel(rng: &mut ThreadRng, pos_min: Vec2d, pos_max: Vec2d, vel_min: float, vel_max: float) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_max` [INFO] [stdout] --> src/main.rs:348:61 [INFO] [stdout] | [INFO] [stdout] 348 | fn new_random_pos_vel(rng: &mut ThreadRng, pos_min: Vec2d, pos_max: Vec2d, vel_min: float, vel_max: float) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vel_min` [INFO] [stdout] --> src/main.rs:348:77 [INFO] [stdout] | [INFO] [stdout] 348 | fn new_random_pos_vel(rng: &mut ThreadRng, pos_min: Vec2d, pos_max: Vec2d, vel_min: float, vel_max: float) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vel_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vel_max` [INFO] [stdout] --> src/main.rs:348:93 [INFO] [stdout] | [INFO] [stdout] 348 | fn new_random_pos_vel(rng: &mut ThreadRng, pos_min: Vec2d, pos_max: Vec2d, vel_min: float, vel_max: float) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vel_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gravity_force_fn` is never used [INFO] [stdout] --> src/main.rs:319:4 [INFO] [stdout] | [INFO] [stdout] 319 | fn gravity_force_fn(distance: float) -> float { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_random_pos_vel` is never used [INFO] [stdout] --> src/main.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 337 | impl Particle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 348 | fn new_random_pos_vel(rng: &mut ThreadRng, pos_min: Vec2d, pos_max: Vec2d, vel_min: float, vel_max: float) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance_to` is never used [INFO] [stdout] --> src/main.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 357 | impl Vec2d { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 393 | fn distance_to(&self, other: Self) -> float { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN` is never used [INFO] [stdout] --> src/main.rs:484:7 [INFO] [stdout] | [INFO] [stdout] 484 | const GREEN: Color = Color { value: 0x00ff00 }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE` is never used [INFO] [stdout] --> src/main.rs:485:7 [INFO] [stdout] | [INFO] [stdout] 485 | const BLUE : Color = Color { value: 0x0000ff }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_pixel_u32_checked` is never used [INFO] [stdout] --> src/main.rs:548:5 [INFO] [stdout] | [INFO] [stdout] 500 | impl Buffer { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 548 | fn set_pixel_u32_checked(&mut self, x: u32, y: u32, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.44s [INFO] running `Command { std: "docker" "inspect" "72aa14c5c83b6b8973e3e146a87b53a3131be0f0fad5c12d805bfb6347a4c779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72aa14c5c83b6b8973e3e146a87b53a3131be0f0fad5c12d805bfb6347a4c779", kill_on_drop: false }` [INFO] [stdout] 72aa14c5c83b6b8973e3e146a87b53a3131be0f0fad5c12d805bfb6347a4c779