[INFO] cloning repository https://github.com/SidneyArmitage/sim_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SidneyArmitage/sim_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSidneyArmitage%2Fsim_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSidneyArmitage%2Fsim_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a552eb1018cf855637ac25132008d91c4808b01 [INFO] building SidneyArmitage/sim_engine against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSidneyArmitage%2Fsim_engine" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SidneyArmitage/sim_engine on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SidneyArmitage/sim_engine [INFO] finished tweaking git repo https://github.com/SidneyArmitage/sim_engine [INFO] tweaked toml for git repo https://github.com/SidneyArmitage/sim_engine written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/SidneyArmitage/sim_engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e87635af1bdff20e012570a549364620a06eb42f9d1e4c94d99304d01941949 [INFO] running `Command { std: "docker" "start" "-a" "9e87635af1bdff20e012570a549364620a06eb42f9d1e4c94d99304d01941949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e87635af1bdff20e012570a549364620a06eb42f9d1e4c94d99304d01941949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e87635af1bdff20e012570a549364620a06eb42f9d1e4c94d99304d01941949", kill_on_drop: false }` [INFO] [stdout] 9e87635af1bdff20e012570a549364620a06eb42f9d1e4c94d99304d01941949 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6132b5218610a36037578f71bad59dcf304fbe005b8f0e5ff5e1c4b1428e266 [INFO] running `Command { std: "docker" "start" "-a" "f6132b5218610a36037578f71bad59dcf304fbe005b8f0e5ff5e1c4b1428e266", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling lebe v0.5.1 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bytemuck v1.8.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling spin_sleep v1.1.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling piston-viewport v1.0.2 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling piston2d-graphics v0.42.0 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling tiff v0.7.1 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling jpeg-decoder v0.2.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling exr v1.4.1 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling image v0.24.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling pistoncore-window v0.47.1 [INFO] [stderr] Compiling pistoncore-event_loop v0.53.1 [INFO] [stderr] Compiling piston v0.53.1 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling piston-gfx_texture v0.42.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.81.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.76.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.69.0 [INFO] [stderr] Compiling piston_window v0.123.0 [INFO] [stderr] Compiling sim_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `piston_window::line::Shape` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | use piston_window::line::Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Control` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::Control; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:163:7 [INFO] [stdout] | [INFO] [stdout] 163 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/graphics/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let program = program::init().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn step (id: &isize, value: &ModValue) -> ModValue { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn postProcess(c: &Context, g: &mut GlGraphics, value: &ModValue) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn postProcess(c: &Context, g: &mut GlGraphics, value: &ModValue) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:86:55 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn postProcess(c: &Context, g: &mut GlGraphics, value: &ModValue) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/example/shapes/step.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn down(id: &isize, value: &ModValue) -> ModValue { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/example/double_pendulum/mod.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | let mut pendulum = Some(Pendulum { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | for mut draw in control.draw.iter_mut() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `index` [INFO] [stdout] --> src/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | index: isize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_cartesian` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn print_cartesian(input: &((f64, f64), (f64, f64), (f64, f64))) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `postProcess` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn postProcess(c: &Context, g: &mut GlGraphics, value: &ModValue) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Draw` [INFO] [stdout] --> src/example/shapes/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Draw, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Down` [INFO] [stdout] --> src/example/shapes/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `draw` [INFO] [stdout] --> src/example/shapes/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | draw: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModValue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/example/shapes/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `down` [INFO] [stdout] --> src/example/shapes/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | down: Option<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModValue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/example/shapes/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/example/shapes/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `down` [INFO] [stdout] --> src/example/shapes/step.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn down(id: &isize, value: &ModValue) -> ModValue { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SQUARE` [INFO] [stdout] --> src/example/shapes/drawable.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | SQUARE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shape` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/example/shapes/drawable.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CIRCLE` [INFO] [stdout] --> src/example/shapes/drawable.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | CIRCLE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shape` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/example/shapes/drawable.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shape_to_string` [INFO] [stdout] --> src/example/shapes/drawable.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn shape_to_string(shape: &Shape) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/example/shapes/drawable.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn draw(c: &Context, g: &mut GlGraphics, value: &ModValue) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `postProcess` should have a snake case name [INFO] [stdout] --> src/example/double_pendulum/mod.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn postProcess(c: &Context, g: &mut GlGraphics, value: &ModValue) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `post_process` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "f6132b5218610a36037578f71bad59dcf304fbe005b8f0e5ff5e1c4b1428e266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6132b5218610a36037578f71bad59dcf304fbe005b8f0e5ff5e1c4b1428e266", kill_on_drop: false }` [INFO] [stdout] f6132b5218610a36037578f71bad59dcf304fbe005b8f0e5ff5e1c4b1428e266 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c7bc0c25d9a9be7b6bafdb80fcb0a898efc497f5b889d2a0bdce2c309991961 [INFO] running `Command { std: "docker" "start" "-a" "7c7bc0c25d9a9be7b6bafdb80fcb0a898efc497f5b889d2a0bdce2c309991961", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling pistoncore-sdl2_window v0.68.0 [INFO] [stderr] Compiling sim_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `piston_window::line::Shape` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | use piston_window::line::Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Control` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::Control; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/graphics/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let program = program::init().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn step (id: &isize, value: &ModValue) -> ModValue { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn postProcess(c: &Context, g: &mut GlGraphics, value: &ModValue) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:86:35 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn postProcess(c: &Context, g: &mut GlGraphics, value: &ModValue) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:86:55 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn postProcess(c: &Context, g: &mut GlGraphics, value: &ModValue) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/example/shapes/step.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn down(id: &isize, value: &ModValue) -> ModValue { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/example/double_pendulum/mod.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | let mut pendulum = Some(Pendulum { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mod.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | for mut draw in control.draw.iter_mut() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `index` [INFO] [stdout] --> src/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | index: isize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_cartesian` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn print_cartesian(input: &((f64, f64), (f64, f64), (f64, f64))) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `postProcess` [INFO] [stdout] --> src/example/double_pendulum/mod.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn postProcess(c: &Context, g: &mut GlGraphics, value: &ModValue) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Draw` [INFO] [stdout] --> src/example/shapes/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Draw, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Down` [INFO] [stdout] --> src/example/shapes/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Down, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `draw` [INFO] [stdout] --> src/example/shapes/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | draw: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModValue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/example/shapes/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `down` [INFO] [stdout] --> src/example/shapes/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | down: Option<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ModValue` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/example/shapes/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/example/shapes/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `down` [INFO] [stdout] --> src/example/shapes/step.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn down(id: &isize, value: &ModValue) -> ModValue { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SQUARE` [INFO] [stdout] --> src/example/shapes/drawable.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | SQUARE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shape` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/example/shapes/drawable.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CIRCLE` [INFO] [stdout] --> src/example/shapes/drawable.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | CIRCLE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Shape` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/example/shapes/drawable.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shape_to_string` [INFO] [stdout] --> src/example/shapes/drawable.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn shape_to_string(shape: &Shape) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/example/shapes/drawable.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn draw(c: &Context, g: &mut GlGraphics, value: &ModValue) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `postProcess` should have a snake case name [INFO] [stdout] --> src/example/double_pendulum/mod.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn postProcess(c: &Context, g: &mut GlGraphics, value: &ModValue) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `post_process` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4m 30s [INFO] [stderr] Executable unittests src/mod.rs (/opt/rustwide/target/debug/deps/main-bff30100c2d720e9) [INFO] running `Command { std: "docker" "inspect" "7c7bc0c25d9a9be7b6bafdb80fcb0a898efc497f5b889d2a0bdce2c309991961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c7bc0c25d9a9be7b6bafdb80fcb0a898efc497f5b889d2a0bdce2c309991961", kill_on_drop: false }` [INFO] [stdout] 7c7bc0c25d9a9be7b6bafdb80fcb0a898efc497f5b889d2a0bdce2c309991961