[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 master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSidneyArmitage%2Fsim_engine" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SidneyArmitage/sim_engine on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SidneyArmitage/sim_engine 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded getrandom v0.2.5
[INFO] [stderr]   Downloaded lebe v0.5.1
[INFO] [stderr]   Downloaded redox_users v0.4.2
[INFO] [stderr]   Downloaded version-compare v0.1.0
[INFO] [stderr]   Downloaded piston_window v0.123.0
[INFO] [stderr]   Downloaded quote v1.0.16
[INFO] [stderr]   Downloaded bit_field v0.10.1
[INFO] [stderr]   Downloaded bytemuck v1.8.0
[INFO] [stderr]   Downloaded piston2d-opengl_graphics v0.81.0
[INFO] [stderr]   Downloaded piston2d-graphics v0.42.0
[INFO] [stderr]   Downloaded flume v0.10.12
[INFO] [stderr]   Downloaded sdl2 v0.35.2
[INFO] [stderr]   Downloaded png v0.17.5
[INFO] [stderr]   Downloaded half v1.8.2
[INFO] [stderr]   Downloaded piston2d-gfx_graphics v0.76.0
[INFO] [stderr]   Downloaded pistoncore-sdl2_window v0.68.0
[INFO] [stderr]   Downloaded piston-gfx_texture v0.42.0
[INFO] [stderr]   Downloaded exr v1.4.1
[INFO] [stderr]   Downloaded image v0.24.1
[INFO] [stderr]   Downloaded libc v0.2.121
[INFO] [stderr]   Downloaded jpeg-decoder v0.2.2
[INFO] [stderr]   Downloaded tiff v0.7.1
[INFO] [stderr]   Downloaded sdl2-sys v0.35.2
[INFO] [stderr]   Downloaded spin_sleep v1.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 876fb85328839b4f29b5079adaaf9b2e9c7993355151a44e328e76c7d3475f8a
[INFO] running `Command { std: "docker" "start" "-a" "876fb85328839b4f29b5079adaaf9b2e9c7993355151a44e328e76c7d3475f8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "876fb85328839b4f29b5079adaaf9b2e9c7993355151a44e328e76c7d3475f8a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "876fb85328839b4f29b5079adaaf9b2e9c7993355151a44e328e76c7d3475f8a", kill_on_drop: false }`
[INFO] [stdout] 876fb85328839b4f29b5079adaaf9b2e9c7993355151a44e328e76c7d3475f8a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1eb1abdc136e91ef187d3307328126aa7830bd0a4a15e7219ed8a6e18f664e36
[INFO] running `Command { std: "docker" "start" "-a" "1eb1abdc136e91ef187d3307328126aa7830bd0a4a15e7219ed8a6e18f664e36", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[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 once_cell v1.10.0
[INFO] [stderr]    Compiling quote v1.0.16
[INFO] [stderr]    Compiling piston-viewport v1.0.2
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling deflate v1.0.0
[INFO] [stderr]    Compiling spin v0.9.2
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling wayland-scanner v0.28.6
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling miniz_oxide v0.5.1
[INFO] [stderr]    Compiling bit_field v0.10.1
[INFO] [stderr]    Compiling half v1.8.2
[INFO] [stderr]    Compiling lebe v0.5.1
[INFO] [stderr]    Compiling bytemuck v1.8.0
[INFO] [stderr]    Compiling piston2d-graphics v0.42.0
[INFO] [stderr]    Compiling spin_sleep v1.1.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling png v0.17.5
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling nix v0.20.0
[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 nix v0.18.0
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling flate2 v1.0.22
[INFO] [stderr]    Compiling x11-dl v2.19.1
[INFO] [stderr]    Compiling memmap2 v0.1.0
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling xdg v2.4.1
[INFO] [stderr]    Compiling tiff v0.7.1
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling xcursor v0.3.4
[INFO] [stderr]    Compiling andrew v0.3.1
[INFO] [stderr]    Compiling wayland-client v0.28.6
[INFO] [stderr]    Compiling wayland-protocols v0.28.6
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling raw-window-handle v0.3.4
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling jpeg-decoder v0.2.2
[INFO] [stderr]    Compiling wayland-commons v0.28.6
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling calloop v0.6.5
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling flume v0.10.12
[INFO] [stderr]    Compiling exr v1.4.1
[INFO] [stderr]    Compiling wayland-cursor v0.28.6
[INFO] [stderr]    Compiling wayland-egl v0.28.6
[INFO] [stderr]    Compiling pistoncore-input v1.0.1
[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 image v0.24.1
[INFO] [stderr]    Compiling piston-gfx_texture v0.42.0
[INFO] [stderr]    Compiling piston2d-opengl_graphics v0.81.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.76.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.12.3
[INFO] [stderr]    Compiling winit v0.24.0
[INFO] [stderr]    Compiling glutin v0.26.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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default
[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/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 `index` is never read
[INFO] [stdout]   --> src/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Control<T, G> {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 15 |     index: isize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_cartesian` is never used
[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 `postProcess` is never used
[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: enum `ModId` is never used
[INFO] [stdout]   --> src/example/shapes/mod.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum ModId {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ModValue` is never constructed
[INFO] [stdout]   --> src/example/shapes/mod.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct ModValue {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[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 `down` is never used
[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: enum `Shape` is never used
[INFO] [stdout]  --> src/example/shapes/drawable.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum Shape {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Drawable` is never constructed
[INFO] [stdout]   --> src/example/shapes/drawable.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Drawable {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shape_to_string` is never used
[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 `draw` is never used
[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)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s
[INFO] running `Command { std: "docker" "inspect" "1eb1abdc136e91ef187d3307328126aa7830bd0a4a15e7219ed8a6e18f664e36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1eb1abdc136e91ef187d3307328126aa7830bd0a4a15e7219ed8a6e18f664e36", kill_on_drop: false }`
[INFO] [stdout] 1eb1abdc136e91ef187d3307328126aa7830bd0a4a15e7219ed8a6e18f664e36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2b24aa6b2094c5a24f78a07e4907530928e669127d4ae01276bd5a20f1560276
[INFO] running `Command { std: "docker" "start" "-a" "2b24aa6b2094c5a24f78a07e4907530928e669127d4ae01276bd5a20f1560276", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default
[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/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 `index` is never read
[INFO] [stdout]   --> src/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Control<T, G> {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 15 |     index: isize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_cartesian` is never used
[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 `postProcess` is never used
[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: enum `ModId` is never used
[INFO] [stdout]   --> src/example/shapes/mod.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum ModId {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ModValue` is never constructed
[INFO] [stdout]   --> src/example/shapes/mod.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct ModValue {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[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 `down` is never used
[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: enum `Shape` is never used
[INFO] [stdout]  --> src/example/shapes/drawable.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub enum Shape {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Drawable` is never constructed
[INFO] [stdout]   --> src/example/shapes/drawable.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Drawable {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shape_to_string` is never used
[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 `draw` is never used
[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)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.34s
[INFO] running `Command { std: "docker" "inspect" "2b24aa6b2094c5a24f78a07e4907530928e669127d4ae01276bd5a20f1560276", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b24aa6b2094c5a24f78a07e4907530928e669127d4ae01276bd5a20f1560276", kill_on_drop: false }`
[INFO] [stdout] 2b24aa6b2094c5a24f78a07e4907530928e669127d4ae01276bd5a20f1560276
