[INFO] cloning repository https://github.com/richwandell/rust-game-of-life [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/richwandell/rust-game-of-life" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frust-game-of-life", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frust-game-of-life'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa31c8fd815c8f6143b942ce1b8d0b70cb683e71 [INFO] testing richwandell/rust-game-of-life against master#404c8471aba60c2d837fa728e7c729a0f52d5830 for pr-87041-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichwandell%2Frust-game-of-life" "/workspace/builds/worker-103/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-103/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richwandell/rust-game-of-life on toolchain 404c8471aba60c2d837fa728e7c729a0f52d5830 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/richwandell/rust-game-of-life [INFO] finished tweaking git repo https://github.com/richwandell/rust-game-of-life [INFO] tweaked toml for git repo https://github.com/richwandell/rust-game-of-life written to /workspace/builds/worker-103/source/Cargo.toml [INFO] crate git repo https://github.com/richwandell/rust-game-of-life already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.76.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.67.1 [INFO] [stderr] Downloaded tiff v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4b6261a77da5635f78691be0fa7bba1d6cc98cc16f9fd0a155b480a3d4bc0ab [INFO] running `Command { std: "docker" "start" "-a" "c4b6261a77da5635f78691be0fa7bba1d6cc98cc16f9fd0a155b480a3d4bc0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4b6261a77da5635f78691be0fa7bba1d6cc98cc16f9fd0a155b480a3d4bc0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4b6261a77da5635f78691be0fa7bba1d6cc98cc16f9fd0a155b480a3d4bc0ab", kill_on_drop: false }` [INFO] [stdout] c4b6261a77da5635f78691be0fa7bba1d6cc98cc16f9fd0a155b480a3d4bc0ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 941b403912c2e01cf84d3a3663a9deff3f23dac2d76b6d358d94b12a743cc433 [INFO] running `Command { std: "docker" "start" "-a" "941b403912c2e01cf84d3a3663a9deff3f23dac2d76b6d358d94b12a743cc433", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling weezl v0.1.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling piston2d-graphics v0.39.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling tiff v0.6.0 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling pistoncore-input v1.0.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.76.0 [INFO] [stderr] Compiling pistoncore-window v0.47.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.52.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling piston v0.52.1 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-glutin_window v0.67.1 [INFO] [stderr] Compiling game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let y = (args.window_size[1] * (i as f64 / r_len as f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - let y = (args.window_size[1] * (i as f64 / r_len as f64)); [INFO] [stdout] 39 + let y = args.window_size[1] * (i as f64 / r_len as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let x = (args.window_size[0] * (i as f64 / r_len as f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - let x = (args.window_size[0] * (i as f64 / r_len as f64)); [INFO] [stdout] 40 + let x = args.window_size[0] * (i as f64 / r_len as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let y = (args.window_size[1] * (r as f64 / r_len as f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - let y = (args.window_size[1] * (r as f64 / r_len as f64)); [INFO] [stdout] 47 + let y = args.window_size[1] * (r as f64 / r_len as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | let x = (args.window_size[0] * (c as f64 / r_len as f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - let x = (args.window_size[0] * (c as f64 / r_len as f64)); [INFO] [stdout] 50 + let x = args.window_size[0] * (c as f64 / r_len as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | fn update(&mut self, args: &UpdateArgs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let mut window: Window = WindowSettings::new("Game of Life", game_size) [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: constant is never used: `GREEN` [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | const GREEN: [f32; 4] = [0.0, 1.0, 0.0, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "941b403912c2e01cf84d3a3663a9deff3f23dac2d76b6d358d94b12a743cc433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941b403912c2e01cf84d3a3663a9deff3f23dac2d76b6d358d94b12a743cc433", kill_on_drop: false }` [INFO] [stdout] 941b403912c2e01cf84d3a3663a9deff3f23dac2d76b6d358d94b12a743cc433 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0654ca199819baafb82a8d05a9b14c095be5398f08a13b746c1e9ad485375c2 [INFO] running `Command { std: "docker" "start" "-a" "c0654ca199819baafb82a8d05a9b14c095be5398f08a13b746c1e9ad485375c2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | let y = (args.window_size[1] * (i as f64 / r_len as f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - let y = (args.window_size[1] * (i as f64 / r_len as f64)); [INFO] [stdout] 39 + let y = args.window_size[1] * (i as f64 / r_len as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | let x = (args.window_size[0] * (i as f64 / r_len as f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - let x = (args.window_size[0] * (i as f64 / r_len as f64)); [INFO] [stdout] 40 + let x = args.window_size[0] * (i as f64 / r_len as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let y = (args.window_size[1] * (r as f64 / r_len as f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 47 - let y = (args.window_size[1] * (r as f64 / r_len as f64)); [INFO] [stdout] 47 + let y = args.window_size[1] * (r as f64 / r_len as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | let x = (args.window_size[0] * (c as f64 / r_len as f64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - let x = (args.window_size[0] * (c as f64 / r_len as f64)); [INFO] [stdout] 50 + let x = args.window_size[0] * (c as f64 / r_len as f64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | fn update(&mut self, args: &UpdateArgs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let mut window: Window = WindowSettings::new("Game of Life", game_size) [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: constant is never used: `GREEN` [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | const GREEN: [f32; 4] = [0.0, 1.0, 0.0, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.79s [INFO] running `Command { std: "docker" "inspect" "c0654ca199819baafb82a8d05a9b14c095be5398f08a13b746c1e9ad485375c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0654ca199819baafb82a8d05a9b14c095be5398f08a13b746c1e9ad485375c2", kill_on_drop: false }` [INFO] [stdout] c0654ca199819baafb82a8d05a9b14c095be5398f08a13b746c1e9ad485375c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-103/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a8914cb6a97dfd04586dac41dfd56d40395861fadd4fc24dccb84ae8b0e5dcd4 [INFO] running `Command { std: "docker" "start" "-a" "a8914cb6a97dfd04586dac41dfd56d40395861fadd4fc24dccb84ae8b0e5dcd4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::any::Any` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::any::Any; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:39:25 [INFO] [stderr] | [INFO] [stderr] 39 | let y = (args.window_size[1] * (i as f64 / r_len as f64)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 39 - let y = (args.window_size[1] * (i as f64 / r_len as f64)); [INFO] [stderr] 39 + let y = args.window_size[1] * (i as f64 / r_len as f64); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:40:25 [INFO] [stderr] | [INFO] [stderr] 40 | let x = (args.window_size[0] * (i as f64 / r_len as f64)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 40 - let x = (args.window_size[0] * (i as f64 / r_len as f64)); [INFO] [stderr] 40 + let x = args.window_size[0] * (i as f64 / r_len as f64); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:47:25 [INFO] [stderr] | [INFO] [stderr] 47 | let y = (args.window_size[1] * (r as f64 / r_len as f64)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 47 - let y = (args.window_size[1] * (r as f64 / r_len as f64)); [INFO] [stderr] 47 + let y = args.window_size[1] * (r as f64 / r_len as f64); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:50:33 [INFO] [stderr] | [INFO] [stderr] 50 | let x = (args.window_size[0] * (c as f64 / r_len as f64)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 50 - let x = (args.window_size[0] * (c as f64 / r_len as f64)); [INFO] [stderr] 50 + let x = args.window_size[0] * (c as f64 / r_len as f64); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:145:26 [INFO] [stderr] | [INFO] [stderr] 145 | fn update(&mut self, args: &UpdateArgs) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:196:9 [INFO] [stderr] | [INFO] [stderr] 196 | let mut window: Window = WindowSettings::new("Game of Life", game_size) [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `GREEN` [INFO] [stderr] --> src/main.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | const GREEN: [f32; 4] = [0.0, 1.0, 0.0, 1.0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `game_of_life` (bin "game_of_life" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/game_of_life-490b4cc6d9b2d6ce) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a8914cb6a97dfd04586dac41dfd56d40395861fadd4fc24dccb84ae8b0e5dcd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8914cb6a97dfd04586dac41dfd56d40395861fadd4fc24dccb84ae8b0e5dcd4", kill_on_drop: false }` [INFO] [stdout] a8914cb6a97dfd04586dac41dfd56d40395861fadd4fc24dccb84ae8b0e5dcd4