[INFO] cloning repository https://github.com/ttaomae/tet-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ttaomae/tet-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fttaomae%2Ftet-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fttaomae%2Ftet-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5cd6dceda2969fb24b22bfc9ba270e1d1044319d [INFO] testing ttaomae/tet-rs against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fttaomae%2Ftet-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ttaomae/tet-rs on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ttaomae/tet-rs [INFO] finished tweaking git repo https://github.com/ttaomae/tet-rs [INFO] tweaked toml for git repo https://github.com/ttaomae/tet-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ttaomae/tet-rs 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston-gfx_texture v0.32.0 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.51.0 [INFO] [stderr] Downloaded piston_window v0.80.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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 330b713ff2e9b7e6811a21981893859c449dbcebbc1363ca3e96ccc3f3406a2c [INFO] running `Command { std: "docker" "start" "-a" "330b713ff2e9b7e6811a21981893859c449dbcebbc1363ca3e96ccc3f3406a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "330b713ff2e9b7e6811a21981893859c449dbcebbc1363ca3e96ccc3f3406a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "330b713ff2e9b7e6811a21981893859c449dbcebbc1363ca3e96ccc3f3406a2c", kill_on_drop: false }` [INFO] [stdout] 330b713ff2e9b7e6811a21981893859c449dbcebbc1363ca3e96ccc3f3406a2c [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 604d0f761f9603e26136ef24ac73b56318e990e6f7d1430dd8440d41ce243b72 [INFO] running `Command { std: "docker" "start" "-a" "604d0f761f9603e26136ef24ac73b56318e990e6f7d1430dd8440d41ce243b72", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling serde v1.0.79 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling shader_version v0.3.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling syn v0.15.4 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling inflate v0.4.3 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling stb_truetype v0.2.4 [INFO] [stderr] Compiling piston-texture v0.6.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling rusttype v0.4.3 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling tempfile v3.0.4 [INFO] [stderr] Compiling vecmath v0.3.1 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling glutin v0.14.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Compiling piston2d-graphics v0.26.0 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.79 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling gfx_core v0.8.2 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling gfx v0.17.1 [INFO] [stderr] Compiling wayland-window v0.13.3 [INFO] [stderr] Compiling winit v0.12.0 [INFO] [stderr] Compiling gfx_device_gl v0.15.3 [INFO] [stderr] Compiling pistoncore-input v0.21.0 [INFO] [stderr] Compiling piston-gfx_texture v0.32.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.51.0 [INFO] [stderr] Compiling pistoncore-window v0.32.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.37.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.47.0 [INFO] [stderr] Compiling piston v0.37.0 [INFO] [stderr] Compiling piston_window v0.80.0 [INFO] [stderr] Compiling tet-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `t_spin` [INFO] [stdout] --> src/engine/base.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | fn on_lock(&self, t_spin: TSpin) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_spin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_rows` [INFO] [stdout] --> src/engine/base.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | fn on_soft_drop(&self, n_rows: u8) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_rows` [INFO] [stdout] --> src/engine/base.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | fn on_hard_drop(&self, n_rows: u8) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_rows` [INFO] [stdout] --> src/engine/base.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | fn on_line_clear(&self, n_rows: u8) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_score` is never used [INFO] [stdout] --> src/engine/single.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl SinglePlayerEngine { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn get_score(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "604d0f761f9603e26136ef24ac73b56318e990e6f7d1430dd8440d41ce243b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "604d0f761f9603e26136ef24ac73b56318e990e6f7d1430dd8440d41ce243b72", kill_on_drop: false }` [INFO] [stdout] 604d0f761f9603e26136ef24ac73b56318e990e6f7d1430dd8440d41ce243b72 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c84fa3f6061c0c747ded9927067e2c15de781a1186d0833607b8a220af45bc0 [INFO] running `Command { std: "docker" "start" "-a" "3c84fa3f6061c0c747ded9927067e2c15de781a1186d0833607b8a220af45bc0", kill_on_drop: false }` [INFO] [stderr] Compiling tet-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `t_spin` [INFO] [stdout] --> src/engine/base.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | fn on_lock(&self, t_spin: TSpin) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_spin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_rows` [INFO] [stdout] --> src/engine/base.rs:189:28 [INFO] [stdout] | [INFO] [stdout] 189 | fn on_soft_drop(&self, n_rows: u8) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_rows` [INFO] [stdout] --> src/engine/base.rs:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | fn on_hard_drop(&self, n_rows: u8) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_rows` [INFO] [stdout] --> src/engine/base.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | fn on_line_clear(&self, n_rows: u8) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `O`, `Z`, `J`, and `L` are never constructed [INFO] [stdout] --> src/engine/base.rs:1015:9 [INFO] [stdout] | [INFO] [stdout] 1013 | enum SingleTetrominoGenerator { [INFO] [stdout] | ------------------------ variants in this enum [INFO] [stdout] 1014 | I, [INFO] [stdout] 1015 | O, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 1018 | Z, [INFO] [stdout] | ^ [INFO] [stdout] 1019 | J, [INFO] [stdout] | ^ [INFO] [stdout] 1020 | L, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_score` is never used [INFO] [stdout] --> src/engine/single.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl SinglePlayerEngine { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn get_score(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3c84fa3f6061c0c747ded9927067e2c15de781a1186d0833607b8a220af45bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c84fa3f6061c0c747ded9927067e2c15de781a1186d0833607b8a220af45bc0", kill_on_drop: false }` [INFO] [stdout] 3c84fa3f6061c0c747ded9927067e2c15de781a1186d0833607b8a220af45bc0 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c624a04b76e60338419b5d34b4eff8bd693d1164d11103bf50a76593ae8e11c [INFO] running `Command { std: "docker" "start" "-a" "0c624a04b76e60338419b5d34b4eff8bd693d1164d11103bf50a76593ae8e11c", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `t_spin` [INFO] [stderr] --> src/engine/base.rs:188:23 [INFO] [stderr] | [INFO] [stderr] 188 | fn on_lock(&self, t_spin: TSpin) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_spin` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_rows` [INFO] [stderr] --> src/engine/base.rs:189:28 [INFO] [stderr] | [INFO] [stderr] 189 | fn on_soft_drop(&self, n_rows: u8) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_rows` [INFO] [stderr] --> src/engine/base.rs:190:28 [INFO] [stderr] | [INFO] [stderr] 190 | fn on_hard_drop(&self, n_rows: u8) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_rows` [INFO] [stderr] --> src/engine/base.rs:191:29 [INFO] [stderr] | [INFO] [stderr] 191 | fn on_line_clear(&self, n_rows: u8) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_rows` [INFO] [stderr] [INFO] [stderr] warning: variants `O`, `Z`, `J`, and `L` are never constructed [INFO] [stderr] --> src/engine/base.rs:1015:9 [INFO] [stderr] | [INFO] [stderr] 1013 | enum SingleTetrominoGenerator { [INFO] [stderr] | ------------------------ variants in this enum [INFO] [stderr] 1014 | I, [INFO] [stderr] 1015 | O, [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 1018 | Z, [INFO] [stderr] | ^ [INFO] [stderr] 1019 | J, [INFO] [stderr] | ^ [INFO] [stderr] 1020 | L, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_score` is never used [INFO] [stderr] --> src/engine/single.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 86 | impl SinglePlayerEngine { [INFO] [stderr] | ----------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 100 | fn get_score(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tet-rs` (bin "tet-rs" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tet_rs-bb48a1f685856ed8) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test engine::base::tests::test_clear_rows ... ok [INFO] [stdout] test engine::base::tests::test_bag_generator ... ok [INFO] [stdout] test engine::base::tests::test_engine_lock ... ok [INFO] [stdout] test engine::base::tests::test_engine_drop_collision ... ok [INFO] [stdout] test engine::base::tests::test_current_piece_new ... ok [INFO] [stdout] test engine::base::tests::test_engine_move_piece ... ok [INFO] [stdout] test engine::base::tests::test_engine_move_piece_collision ... ok [INFO] [stdout] test engine::base::tests::test_engine_drop ... ok [INFO] [stdout] test engine::base::tests::test_engine_has_collision ... ok [INFO] [stdout] test engine::base::tests::test_engine_new ... ok [INFO] [stdout] test engine::base::tests::test_engine_next_pieces ... ok [INFO] [stdout] test engine::base::tests::test_engine_hold_piece ... ok [INFO] [stdout] test engine::base::tests::test_engine_rotate_piece_collision ... ok [INFO] [stdout] test engine::base::tests::test_engine_rotate_piece ... ok [INFO] [stdout] test engine::base::tests::test_engine_next_piece ... ok [INFO] [stdout] test engine::core::tests::test_piece_new ... ok [INFO] [stdout] test engine::core::tests::test_piece_rotate_cw ... ok [INFO] [stdout] test engine::core::tests::test_piece_rotate_ccw ... ok [INFO] [stdout] test engine::core::tests::test_piece_get_bounding_box ... ok [INFO] [stdout] test engine::base::tests::test_engine_rotate_piece_wall_kick ... ok [INFO] [stdout] test engine::core::tests::test_playfield_set_and_clear ... ok [INFO] [stdout] test engine::core::tests::test_playfield_new ... ok [INFO] [stdout] test engine::core::tests::test_rotation_ccw ... ok [INFO] [stdout] test engine::core::tests::test_rotation_cw ... ok [INFO] [stdout] test engine::core::tests::test_playfield_get_col_greater - should panic ... ok [INFO] [stdout] test engine::core::tests::test_playfield_get_row_greater - should panic ... ok [INFO] [stdout] test engine::core::tests::test_playfield_get_row_less - should panic ... ok [INFO] [stdout] test engine::core::tests::test_playfield_get_col_less - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0c624a04b76e60338419b5d34b4eff8bd693d1164d11103bf50a76593ae8e11c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c624a04b76e60338419b5d34b4eff8bd693d1164d11103bf50a76593ae8e11c", kill_on_drop: false }` [INFO] [stdout] 0c624a04b76e60338419b5d34b4eff8bd693d1164d11103bf50a76593ae8e11c