[INFO] cloning repository https://github.com/gpluscb/double-pendulum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gpluscb/double-pendulum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpluscb%2Fdouble-pendulum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpluscb%2Fdouble-pendulum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24cd4d2602a89698f5e5840adb5bc7700ab69f85 [INFO] checking gpluscb/double-pendulum against master#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpluscb%2Fdouble-pendulum" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gpluscb/double-pendulum on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gpluscb/double-pendulum [INFO] finished tweaking git repo https://github.com/gpluscb/double-pendulum [INFO] tweaked toml for git repo https://github.com/gpluscb/double-pendulum written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gpluscb/double-pendulum 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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.35.1 [INFO] [stderr] Downloaded sdl2-sys v0.35.1 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70cf5d60cb5a164fdb9f89bfcd10f95e0ef73be0e13da828bfe547b9565fc62b [INFO] running `Command { std: "docker" "start" "-a" "70cf5d60cb5a164fdb9f89bfcd10f95e0ef73be0e13da828bfe547b9565fc62b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70cf5d60cb5a164fdb9f89bfcd10f95e0ef73be0e13da828bfe547b9565fc62b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70cf5d60cb5a164fdb9f89bfcd10f95e0ef73be0e13da828bfe547b9565fc62b", kill_on_drop: false }` [INFO] [stdout] 70cf5d60cb5a164fdb9f89bfcd10f95e0ef73be0e13da828bfe547b9565fc62b [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e16257c0fb57208b28f52b66517d43da64099648d1b2acaebffb3908071f673 [INFO] running `Command { std: "docker" "start" "-a" "2e16257c0fb57208b28f52b66517d43da64099648d1b2acaebffb3908071f673", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling sdl2-sys v0.35.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Compiling sdl2 v0.35.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking nix v0.23.0 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking ctrlc v3.2.1 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking imageproc v0.22.0 [INFO] [stderr] Checking double-pendulum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/render/image.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let color = Rgba([r, g, b, a]); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_a` [INFO] [stdout] --> src/render/image.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let new_a = info_1.a; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_b` [INFO] [stdout] --> src/render/image.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let new_b = info_1.b; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info_2` [INFO] [stdout] --> src/render/sdl2.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | for (info_1, info_2) in render_infos.iter().tuple_windows() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_info_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mass` is never used [INFO] [stdout] --> src/core/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pendulum { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn mass(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random_configuration` is never used [INFO] [stdout] --> src/core/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl DoublePendulumConfiguration { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn random_configuration() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `step_all` is never used [INFO] [stdout] --> src/core/mod.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl DoublePendulumCollection { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn step_all(&mut self, step_time: Duration) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/render/image.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let color = Rgba([r, g, b, a]); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_a` [INFO] [stdout] --> src/render/image.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let new_a = info_1.a; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_b` [INFO] [stdout] --> src/render/image.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let new_b = info_1.b; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_new_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info_2` [INFO] [stdout] --> src/render/sdl2.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | for (info_1, info_2) in render_infos.iter().tuple_windows() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_info_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mass` is never used [INFO] [stdout] --> src/core/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pendulum { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn mass(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random_configuration` is never used [INFO] [stdout] --> src/core/mod.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl DoublePendulumConfiguration { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn random_configuration() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `step_all` is never used [INFO] [stdout] --> src/core/mod.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl DoublePendulumCollection { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn step_all(&mut self, step_time: Duration) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.64s [INFO] running `Command { std: "docker" "inspect" "2e16257c0fb57208b28f52b66517d43da64099648d1b2acaebffb3908071f673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e16257c0fb57208b28f52b66517d43da64099648d1b2acaebffb3908071f673", kill_on_drop: false }` [INFO] [stdout] 2e16257c0fb57208b28f52b66517d43da64099648d1b2acaebffb3908071f673