[INFO] cloning repository https://github.com/Yannig/rust-particles
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yannig/rust-particles" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYannig%2Frust-particles", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYannig%2Frust-particles'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b370fcceeaca10e08c00b8ba53edc4a8b69c00ca
[INFO] checking Yannig/rust-particles/b370fcceeaca10e08c00b8ba53edc4a8b69c00ca against master#5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa for pr-149901
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYannig%2Frust-particles" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Yannig/rust-particles
[INFO] finished tweaking git repo https://github.com/Yannig/rust-particles
[INFO] tweaked toml for git repo https://github.com/Yannig/rust-particles written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Yannig/rust-particles on toolchain 5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Yannig/rust-particles 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" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded version-compare v0.0.10
[INFO] [stderr]   Downloaded sdl2 v0.34.5
[INFO] [stderr]   Downloaded sdl2-sys v0.34.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5b118a7658ffe6050c0c16e5cf4155a08c1a107653b38c0421000e83fd150f95
[INFO] running `Command { std: "docker" "start" "-a" "5b118a7658ffe6050c0c16e5cf4155a08c1a107653b38c0421000e83fd150f95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b118a7658ffe6050c0c16e5cf4155a08c1a107653b38c0421000e83fd150f95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b118a7658ffe6050c0c16e5cf4155a08c1a107653b38c0421000e83fd150f95", kill_on_drop: false }`
[INFO] [stdout] 5b118a7658ffe6050c0c16e5cf4155a08c1a107653b38c0421000e83fd150f95
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 940853d0d3902d50554da60a47f32ca3ccf671adc091903cdd21cee6f0a239dc
[INFO] running `Command { std: "docker" "start" "-a" "940853d0d3902d50554da60a47f32ca3ccf671adc091903cdd21cee6f0a239dc", kill_on_drop: false }`
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling sdl2 v0.34.5
[INFO] [stderr]    Compiling sdl2-sys v0.34.5
[INFO] [stderr]     Checking rust-particles v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `max_d`
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let max_d = f64::sqrt(step_x * step_x + step_y * step_y);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_d`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_d`
[INFO] [stdout]   --> src/main.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let max_d = f64::sqrt(step_x * step_x + step_y * step_y);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_d`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut p = Particle::new(1.0, 10.0,10.0, 0.0, 1.0, 0.3, 0.2);
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:54:25
[INFO] [stdout]    |
[INFO] [stdout] 54 |                     let mut p = Particle::new(1.0, 10.0,10.0, 0.0, 1.0, 0.3, 0.2);
[INFO] [stdout]    |                         ----^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_constraint` is never used
[INFO] [stdout]   --> src/world.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl World {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn add_constraint(&'static mut self, p1: Rc<Particle>, p2: Rc<Particle>, min_distance: f64, max_distance: f64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `p1` and `p2` are never read
[INFO] [stdout]  --> src/constraint.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Constraint {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 5 |     pub p1: Rc<Particle>,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 6 |     pub p2: Rc<Particle>,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut p = Particle::new(1.0, 10.0,10.0, 0.0, 1.0, 0.3, 0.2);
[INFO] [stdout]    |         ----^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:54:25
[INFO] [stdout]    |
[INFO] [stdout] 54 |                     let mut p = Particle::new(1.0, 10.0,10.0, 0.0, 1.0, 0.3, 0.2);
[INFO] [stdout]    |                         ----^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_constraint` is never used
[INFO] [stdout]   --> src/world.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl World {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn add_constraint(&'static mut self, p1: Rc<Particle>, p2: Rc<Particle>, min_distance: f64, max_distance: f64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `p1` and `p2` are never read
[INFO] [stdout]  --> src/constraint.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Constraint {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 5 |     pub p1: Rc<Particle>,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 6 |     pub p2: Rc<Particle>,
[INFO] [stdout]   |         ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.37s
[INFO] running `Command { std: "docker" "inspect" "940853d0d3902d50554da60a47f32ca3ccf671adc091903cdd21cee6f0a239dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "940853d0d3902d50554da60a47f32ca3ccf671adc091903cdd21cee6f0a239dc", kill_on_drop: false }`
[INFO] [stdout] 940853d0d3902d50554da60a47f32ca3ccf671adc091903cdd21cee6f0a239dc
