[INFO] cloning repository https://github.com/mhazoglou/conway_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/mhazoglou/conway_game_of_life" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhazoglou%2Fconway_game_of_life", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhazoglou%2Fconway_game_of_life'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5964bc1b035bf378d5139fdc70e6c587cfe4d58a [INFO] testing mhazoglou/conway_game_of_life against master#159ba8a92c9e2fa4121f106176309521f4af87e9+rustflags=-Copt-level=3 for pr-107051 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhazoglou%2Fconway_game_of_life" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mhazoglou/conway_game_of_life on toolchain 159ba8a92c9e2fa4121f106176309521f4af87e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mhazoglou/conway_game_of_life [INFO] finished tweaking git repo https://github.com/mhazoglou/conway_game_of_life [INFO] tweaked toml for git repo https://github.com/mhazoglou/conway_game_of_life written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mhazoglou/conway_game_of_life 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" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston-viewport v1.0.1 [INFO] [stderr] Downloaded piston-float v1.0.1 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.78.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22de637d17e1ce9bf2c024f9e4a273dbcf5b03422ce1ec4ad96051c61a6a78b0 [INFO] running `Command { std: "docker" "start" "-a" "22de637d17e1ce9bf2c024f9e4a273dbcf5b03422ce1ec4ad96051c61a6a78b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22de637d17e1ce9bf2c024f9e4a273dbcf5b03422ce1ec4ad96051c61a6a78b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22de637d17e1ce9bf2c024f9e4a273dbcf5b03422ce1ec4ad96051c61a6a78b0", kill_on_drop: false }` [INFO] [stdout] 22de637d17e1ce9bf2c024f9e4a273dbcf5b03422ce1ec4ad96051c61a6a78b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3031a84c9eb740c34e48329ff3a6dc049113c3e4eaa3f230b161a42c263c8f33 [INFO] running `Command { std: "docker" "start" "-a" "3031a84c9eb740c34e48329ff3a6dc049113c3e4eaa3f230b161a42c263c8f33", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling spin v0.5.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [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 khronos_api v3.1.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling piston-viewport v1.0.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling minimal-lexical v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling getrandom v0.1.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling spin_sleep v1.0.0 [INFO] [stderr] Compiling piston2d-graphics v0.40.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.78.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-input v1.0.0 [INFO] [stderr] Compiling pistoncore-window v0.47.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.53.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.69.0 [INFO] [stderr] Compiling piston v0.53.0 [INFO] [stderr] Compiling conway_game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | 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: unused variable: `j` [INFO] [stdout] --> src/main.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | for j in 0..height{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_like` is never used [INFO] [stdout] --> src/conway.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_like(other_grid: &Grid) -> Grid { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `print_state` is never used [INFO] [stdout] --> src/conway.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn print_state(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `set_state` is never used [INFO] [stdout] --> src/conway.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn set_state(&self, new_state: &[u8]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `eat_state` is never used [INFO] [stdout] --> src/conway.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn eat_state(&self, new_state: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 51s [INFO] running `Command { std: "docker" "inspect" "3031a84c9eb740c34e48329ff3a6dc049113c3e4eaa3f230b161a42c263c8f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3031a84c9eb740c34e48329ff3a6dc049113c3e4eaa3f230b161a42c263c8f33", kill_on_drop: false }` [INFO] [stdout] 3031a84c9eb740c34e48329ff3a6dc049113c3e4eaa3f230b161a42c263c8f33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 901597ee7174cd39f97ace1f95ad388cd24b42dcc257d77ce2f6e22817fdc04b [INFO] running `Command { std: "docker" "start" "-a" "901597ee7174cd39f97ace1f95ad388cd24b42dcc257d77ce2f6e22817fdc04b", kill_on_drop: false }` [INFO] [stderr] Compiling conway_game_of_life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | 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: unused variable: `j` [INFO] [stdout] --> src/main.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | for j in 0..height{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_like` is never used [INFO] [stdout] --> src/conway.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_like(other_grid: &Grid) -> Grid { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `print_state` is never used [INFO] [stdout] --> src/conway.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn print_state(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "901597ee7174cd39f97ace1f95ad388cd24b42dcc257d77ce2f6e22817fdc04b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "901597ee7174cd39f97ace1f95ad388cd24b42dcc257d77ce2f6e22817fdc04b", kill_on_drop: false }` [INFO] [stdout] 901597ee7174cd39f97ace1f95ad388cd24b42dcc257d77ce2f6e22817fdc04b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:7c93e6f9a94679f34221d1005849d4c83862f85b14a264fa0883942f4d043a66" "/opt/rustwide/cargo-home/bin/cargo" "+159ba8a92c9e2fa4121f106176309521f4af87e9" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ab11e8e0b8303906a0f711477cbe4348497f0d35968781a788210d8055f49d2c [INFO] running `Command { std: "docker" "start" "-a" "ab11e8e0b8303906a0f711477cbe4348497f0d35968781a788210d8055f49d2c", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:42:26 [INFO] [stderr] | [INFO] [stderr] 42 | 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: unused variable: `j` [INFO] [stderr] --> src/main.rs:100:13 [INFO] [stderr] | [INFO] [stderr] 100 | for j in 0..height{ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stderr] [INFO] [stderr] warning: associated function `new_like` is never used [INFO] [stderr] --> src/conway.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub fn new_like(other_grid: &Grid) -> Grid { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `print_state` is never used [INFO] [stderr] --> src/conway.rs:120:12 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn print_state(&self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `conway_game_of_life` (bin "conway_game_of_life" test) generated 4 warnings (run `cargo fix --bin "conway_game_of_life" --tests` to apply 2 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/conway_game_of_life-f77667e7abbd24b9) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test conway::tests::test_glider ... ok [INFO] [stdout] test conway::tests::test_set_state ... ok [INFO] [stdout] test conway::tests::test_new_zero_size_width - should panic ... ok [INFO] [stdout] test conway::tests::test_set_state_invalid_state - should panic ... ok [INFO] [stdout] test conway::tests::test_new_zero_size_width_and_height - should panic ... ok [INFO] [stdout] test conway::tests::test_set_state_incorrect_size - should panic ... ok [INFO] [stdout] test conway::tests::test_new_zero_size_height - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ab11e8e0b8303906a0f711477cbe4348497f0d35968781a788210d8055f49d2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab11e8e0b8303906a0f711477cbe4348497f0d35968781a788210d8055f49d2c", kill_on_drop: false }` [INFO] [stdout] ab11e8e0b8303906a0f711477cbe4348497f0d35968781a788210d8055f49d2c