[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 master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-yng%2Fwasm_othello" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/t-yng/wasm_othello on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-13/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" "+90442458ac46b1d5eed752c316da25450f67285b" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf168ffb5df1dda5aac962d4ff44227a4790d8e0ff822785c61454227441ff7a [INFO] running `Command { std: "docker" "start" "-a" "cf168ffb5df1dda5aac962d4ff44227a4790d8e0ff822785c61454227441ff7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf168ffb5df1dda5aac962d4ff44227a4790d8e0ff822785c61454227441ff7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf168ffb5df1dda5aac962d4ff44227a4790d8e0ff822785c61454227441ff7a", kill_on_drop: false }` [INFO] [stdout] cf168ffb5df1dda5aac962d4ff44227a4790d8e0ff822785c61454227441ff7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4040f3e20dbf606edaa2d84fcf515bde04fa8d57beb9a26b412816398d1de9a1 [INFO] running `Command { std: "docker" "start" "-a" "4040f3e20dbf606edaa2d84fcf515bde04fa8d57beb9a26b412816398d1de9a1", 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.20s [INFO] running `Command { std: "docker" "inspect" "4040f3e20dbf606edaa2d84fcf515bde04fa8d57beb9a26b412816398d1de9a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4040f3e20dbf606edaa2d84fcf515bde04fa8d57beb9a26b412816398d1de9a1", kill_on_drop: false }` [INFO] [stdout] 4040f3e20dbf606edaa2d84fcf515bde04fa8d57beb9a26b412816398d1de9a1