[INFO] cloning repository https://github.com/BenFordTytherington/ODE-Viewer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BenFordTytherington/ODE-Viewer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenFordTytherington%2FODE-Viewer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenFordTytherington%2FODE-Viewer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 23d28e6890b059b980611edde3277ebf643c16b7
[INFO] building BenFordTytherington/ODE-Viewer against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenFordTytherington%2FODE-Viewer" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/BenFordTytherington/ODE-Viewer
[INFO] finished tweaking git repo https://github.com/BenFordTytherington/ODE-Viewer
[INFO] tweaked toml for git repo https://github.com/BenFordTytherington/ODE-Viewer written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BenFordTytherington/ODE-Viewer on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BenFordTytherington/ODE-Viewer 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 92303f6d45c6d72a5c929a9a3bb907e3367254814fd31a6180d0a7a856d20281
[INFO] running `Command { std: "docker" "start" "-a" "92303f6d45c6d72a5c929a9a3bb907e3367254814fd31a6180d0a7a856d20281", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92303f6d45c6d72a5c929a9a3bb907e3367254814fd31a6180d0a7a856d20281", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92303f6d45c6d72a5c929a9a3bb907e3367254814fd31a6180d0a7a856d20281", kill_on_drop: false }`
[INFO] [stdout] 92303f6d45c6d72a5c929a9a3bb907e3367254814fd31a6180d0a7a856d20281
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 86aaf0abbb10124236b7da7df136b401d111276d0890ad3408c7b5985deca31a
[INFO] running `Command { std: "docker" "start" "-a" "86aaf0abbb10124236b7da7df136b401d111276d0890ad3408c7b5985deca31a", kill_on_drop: false }`
[INFO] [stderr]    Compiling xml-rs v0.8.19
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling libloading v0.8.1
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling smallvec v1.11.1
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling bytemuck v1.14.0
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling piston-float v1.0.1
[INFO] [stderr]    Compiling slotmap v1.0.6
[INFO] [stderr]    Compiling fdeflate v0.3.0
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]    Compiling thiserror v1.0.50
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]    Compiling memchr v2.6.4
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling png v0.17.10
[INFO] [stderr]    Compiling piston-viewport v1.0.2
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling serde v1.0.190
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling piston-graphics_api_version v1.0.1
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ttf-parser v0.19.2
[INFO] [stderr]    Compiling tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling xcursor v0.3.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.50
[INFO] [stderr]    Compiling serde_derive v1.0.190
[INFO] [stderr]    Compiling glutin_glx_sys v0.4.0
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling owned_ttf_parser v0.19.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.5.1
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling wayland-sys v0.30.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling tiny-skia v0.8.4
[INFO] [stderr]    Compiling rayon v1.8.0
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]    Compiling ab_glyph v0.2.22
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling pistoncore-input v1.0.1
[INFO] [stderr]    Compiling glutin v0.30.10
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling pistoncore-window v1.0.0
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling mio v0.8.9
[INFO] [stderr]    Compiling glutin-winit v0.3.0
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling half v2.2.1
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling tiff v0.9.0
[INFO] [stderr]    Compiling exr v1.71.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling owned_ttf_parser v0.15.2
[INFO] [stderr]    Compiling rusttype v0.9.3
[INFO] [stderr]    Compiling shader_version v0.7.0
[INFO] [stderr]    Compiling vecmath v1.0.0
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling piston-texture v0.9.0
[INFO] [stderr]    Compiling spin_sleep v1.1.1
[INFO] [stderr]    Compiling read_color v1.0.0
[INFO] [stderr]    Compiling interpolation v0.3.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling pistoncore-event_loop v0.54.0
[INFO] [stderr]    Compiling piston2d-graphics v0.44.0
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.4.0
[INFO] [stderr]    Compiling piston v0.54.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling image v0.24.7
[INFO] [stderr]    Compiling piston2d-opengl_graphics v0.83.0
[INFO] [stderr]    Compiling sctk-adwaita v0.5.4
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.72.0
[INFO] [stderr]    Compiling ODEs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ButtonArgs`, `MouseCursorEvent`, and `PressEvent`
[INFO] [stdout]   --> src/main.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use piston::{Button, ButtonArgs, ButtonEvent, ButtonState, Key, MouseCursorEvent, PressEvent};
[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 variable: `x`
[INFO] [stdout]    --> src/main.rs:265:10
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn x_dot(x: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout]     |          ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn x_dot(_x: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout]     |          +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `L`
[INFO] [stdout]     |
[INFO] [stdout] 265 - fn x_dot(x: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout] 265 + fn x_dot(L: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/main.rs:265:26
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn x_dot(x: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout]     |                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn x_dot(x: f64, y: f64, _t: f64) -> f64 {
[INFO] [stdout]     |                          +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `L`
[INFO] [stdout]     |
[INFO] [stdout] 265 - fn x_dot(x: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout] 265 + fn x_dot(x: f64, y: f64, L: f64) -> f64 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/main.rs:269:26
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn y_dot(x: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout]     |                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn y_dot(x: f64, y: f64, _t: f64) -> f64 {
[INFO] [stdout]     |                          +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `L`
[INFO] [stdout]     |
[INFO] [stdout] 269 - fn y_dot(x: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout] 269 + fn y_dot(x: f64, y: f64, L: f64) -> f64 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 |         for (i, point) in self.solver.points().iter().enumerate() {
[INFO] [stdout]     |              ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 114 |         for (_i, point) in self.solver.points().iter().enumerate() {
[INFO] [stdout]     |              +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NUM_POINTS`
[INFO] [stdout]     |
[INFO] [stdout] 114 -         for (i, point) in self.solver.points().iter().enumerate() {
[INFO] [stdout] 114 +         for (NUM_POINTS, point) in self.solver.points().iter().enumerate() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/main.rs:104:40
[INFO] [stdout]     |
[INFO] [stdout] 104 |         self.gl.draw(args.viewport(), |c, gl| {
[INFO] [stdout]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |             let mut colour: [f32; 4] = [0.2, 1.0, 0.8, 1.0];
[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:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let mut solver = EulerSolver::<NUM_POINTS>::new(x0, y0, x_dot, y_dot, 0.0001);
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Line` is never constructed
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum DrawMode {
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] 23 |     Point,
[INFO] [stdout] 24 |     Line
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `handle_mouse` is never used
[INFO] [stdout]    --> src/main.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout]  36 | impl App {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 146 |     fn handle_mouse(&mut self, x: f64, y: f64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EulerSolver2` is never constructed
[INFO] [stdout]  --> src/solver.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct EulerSolver2 {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `point`, and `iterate` are never used
[INFO] [stdout]   --> src/solver.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl EulerSolver2 {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new(x: f64, y: f64, dx: impl Fn(f64, f64, f64) -> f64 + 'static, dy: impl Fn(f64, f64, f64) -> f64 + 'static, dt: f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn point(&self) -> (f64, f64) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn iterate(&mut self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 20s
[INFO] running `Command { std: "docker" "inspect" "86aaf0abbb10124236b7da7df136b401d111276d0890ad3408c7b5985deca31a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86aaf0abbb10124236b7da7df136b401d111276d0890ad3408c7b5985deca31a", kill_on_drop: false }`
[INFO] [stdout] 86aaf0abbb10124236b7da7df136b401d111276d0890ad3408c7b5985deca31a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5dc924d7426e59e02498acc2ed5779d2acabbf3ef6b1a8a605d2cbe83f54ccd1
[INFO] running `Command { std: "docker" "start" "-a" "5dc924d7426e59e02498acc2ed5779d2acabbf3ef6b1a8a605d2cbe83f54ccd1", kill_on_drop: false }`
[INFO] [stderr]    Compiling ODEs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `ButtonArgs`, `MouseCursorEvent`, and `PressEvent`
[INFO] [stdout]   --> src/main.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 | use piston::{Button, ButtonArgs, ButtonEvent, ButtonState, Key, MouseCursorEvent, PressEvent};
[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 variable: `c`
[INFO] [stdout]    --> src/main.rs:104:40
[INFO] [stdout]     |
[INFO] [stdout] 104 |         self.gl.draw(args.viewport(), |c, gl| {
[INFO] [stdout]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 |         for (i, point) in self.solver.points().iter().enumerate() {
[INFO] [stdout]     |              ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 114 |         for (_i, point) in self.solver.points().iter().enumerate() {
[INFO] [stdout]     |              +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NUM_POINTS`
[INFO] [stdout]     |
[INFO] [stdout] 114 -         for (i, point) in self.solver.points().iter().enumerate() {
[INFO] [stdout] 114 +         for (NUM_POINTS, point) in self.solver.points().iter().enumerate() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:265:10
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn x_dot(x: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout]     |          ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn x_dot(_x: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout]     |          +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `L`
[INFO] [stdout]     |
[INFO] [stdout] 265 - fn x_dot(x: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout] 265 + fn x_dot(L: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/main.rs:265:26
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn x_dot(x: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout]     |                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 265 | fn x_dot(x: f64, y: f64, _t: f64) -> f64 {
[INFO] [stdout]     |                          +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `L`
[INFO] [stdout]     |
[INFO] [stdout] 265 - fn x_dot(x: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout] 265 + fn x_dot(x: f64, y: f64, L: f64) -> f64 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> src/main.rs:269:26
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn y_dot(x: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout]     |                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn y_dot(x: f64, y: f64, _t: f64) -> f64 {
[INFO] [stdout]     |                          +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `L`
[INFO] [stdout]     |
[INFO] [stdout] 269 - fn y_dot(x: f64, y: f64, t: f64) -> f64 {
[INFO] [stdout] 269 + fn y_dot(x: f64, y: f64, L: f64) -> f64 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 |             let mut colour: [f32; 4] = [0.2, 1.0, 0.8, 1.0];
[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:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let mut solver = EulerSolver::<NUM_POINTS>::new(x0, y0, x_dot, y_dot, 0.0001);
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Line` is never constructed
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | enum DrawMode {
[INFO] [stdout]    |      -------- variant in this enum
[INFO] [stdout] 23 |     Point,
[INFO] [stdout] 24 |     Line
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `handle_mouse` is never used
[INFO] [stdout]    --> src/main.rs:146:8
[INFO] [stdout]     |
[INFO] [stdout]  36 | impl App {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 146 |     fn handle_mouse(&mut self, x: f64, y: f64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EulerSolver2` is never constructed
[INFO] [stdout]  --> src/solver.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct EulerSolver2 {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `point`, and `iterate` are never used
[INFO] [stdout]   --> src/solver.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl EulerSolver2 {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 11 |     pub fn new(x: f64, y: f64, dx: impl Fn(f64, f64, f64) -> f64 + 'static, dy: impl Fn(f64, f64, f64) -> f64 + 'static, dt: f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn point(&self) -> (f64, f64) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn iterate(&mut self) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s
[INFO] running `Command { std: "docker" "inspect" "5dc924d7426e59e02498acc2ed5779d2acabbf3ef6b1a8a605d2cbe83f54ccd1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5dc924d7426e59e02498acc2ed5779d2acabbf3ef6b1a8a605d2cbe83f54ccd1", kill_on_drop: false }`
[INFO] [stdout] 5dc924d7426e59e02498acc2ed5779d2acabbf3ef6b1a8a605d2cbe83f54ccd1
