[INFO] cloning repository https://github.com/t-yng/wasm_othello [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/t-yng/wasm_othello" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-yng%2Fwasm_othello", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-yng%2Fwasm_othello'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 109da3155e6ae2403fcaebd3e7753cbc18c4741c [INFO] checking t-yng/wasm_othello against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-yng%2Fwasm_othello" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/t-yng/wasm_othello on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/t-yng/wasm_othello [INFO] finished tweaking git repo https://github.com/t-yng/wasm_othello [INFO] tweaked toml for git repo https://github.com/t-yng/wasm_othello written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/t-yng/wasm_othello already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72a45ea98cbb1de064b2a8853e9abf0dad5514051d8a83d7bd4f870a3916ccad [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "72a45ea98cbb1de064b2a8853e9abf0dad5514051d8a83d7bd4f870a3916ccad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72a45ea98cbb1de064b2a8853e9abf0dad5514051d8a83d7bd4f870a3916ccad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72a45ea98cbb1de064b2a8853e9abf0dad5514051d8a83d7bd4f870a3916ccad", kill_on_drop: false }` [INFO] [stdout] 72a45ea98cbb1de064b2a8853e9abf0dad5514051d8a83d7bd4f870a3916ccad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 75fb5d4066645b55f176e9e0eb491b60acd1ca4d3468c8f7a9e4a3fbe31b6ffc [INFO] running `Command { std: "docker" "start" "-a" "75fb5d4066645b55f176e9e0eb491b60acd1ca4d3468c8f7a9e4a3fbe31b6ffc", kill_on_drop: false }` [INFO] [stderr] Checking wasm_othello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `Direction` [INFO] [stdout] --> src/board/simulator.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Direction; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `LEFT_UP` [INFO] [stdout] --> src/board/simulator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | const LEFT_UP: i8 = -9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `UP` [INFO] [stdout] --> src/board/simulator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | const UP: i8 = -8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `RIGHT_UP` [INFO] [stdout] --> src/board/simulator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | const RIGHT_UP: i8 = -7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `LEFT` [INFO] [stdout] --> src/board/simulator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | const LEFT: i8 = -1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `RIGHT` [INFO] [stdout] --> src/board/simulator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | const RIGHT: i8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `LEFT_DOWN` [INFO] [stdout] --> src/board/simulator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | const LEFT_DOWN: i8 = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `DOWN` [INFO] [stdout] --> src/board/simulator.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | const DOWN: i8 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `RIGHT_DOWN` [INFO] [stdout] --> src/board/simulator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | const RIGHT_DOWN: i8 = 9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `directions` [INFO] [stdout] --> src/board/simulator.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn directions () -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_available_positions` [INFO] [stdout] --> src/board/simulator.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_available_positions (cells: &Vec, stone: CellState) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `flip_stones` [INFO] [stdout] --> src/board/simulator.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn flip_stones (cells: &Vec, position: usize, stone: CellState) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_game_end` [INFO] [stdout] --> src/board/simulator.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn is_game_end (cells: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `can_put_stone` [INFO] [stdout] --> src/board/simulator.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn can_put_stone (cells: &Vec, position: usize, stone: CellState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_flipped_positions` [INFO] [stdout] --> src/board/simulator.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn get_flipped_positions (cells: &Vec, position: usize, stone: CellState) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `count_flipped_stone` [INFO] [stdout] --> src/board/simulator.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn count_flipped_stone (cells: &Vec, position: usize, stone: CellState) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_flipped_direction_positions` [INFO] [stdout] --> src/board/simulator.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn get_flipped_direction_positions (cells: &Vec, position: usize, direction: i8, stone: CellState, mut positions: Vec) -> Ve... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_left_end` [INFO] [stdout] --> src/board/simulator.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn is_left_end (position: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_right_end` [INFO] [stdout] --> src/board/simulator.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn is_right_end (position: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_out_of_board` [INFO] [stdout] --> src/board/simulator.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn is_out_of_board (position: usize, direction: i8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `put_stone` [INFO] [stdout] --> src/board.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn put_stone (&mut self, position: usize, stone: CellState) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `put_stone` [INFO] [stdout] --> src/board.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn put_stone (&mut self, position: usize, stone: CellState) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "75fb5d4066645b55f176e9e0eb491b60acd1ca4d3468c8f7a9e4a3fbe31b6ffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75fb5d4066645b55f176e9e0eb491b60acd1ca4d3468c8f7a9e4a3fbe31b6ffc", kill_on_drop: false }` [INFO] [stdout] 75fb5d4066645b55f176e9e0eb491b60acd1ca4d3468c8f7a9e4a3fbe31b6ffc