[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#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ft-yng%2Fwasm_othello" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/t-yng/wasm_othello on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-2/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33d476252c0b38f044b9b30515f0420f2ed2ea5b4eba31d2adf336b26044820e [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" "33d476252c0b38f044b9b30515f0420f2ed2ea5b4eba31d2adf336b26044820e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33d476252c0b38f044b9b30515f0420f2ed2ea5b4eba31d2adf336b26044820e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33d476252c0b38f044b9b30515f0420f2ed2ea5b4eba31d2adf336b26044820e", kill_on_drop: false }` [INFO] [stdout] 33d476252c0b38f044b9b30515f0420f2ed2ea5b4eba31d2adf336b26044820e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61a41b15c3399e69ec5c2e09c617b5d64b01c60374a5417a76f2de75a2f2653a [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" "61a41b15c3399e69ec5c2e09c617b5d64b01c60374a5417a76f2de75a2f2653a", 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: 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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "61a41b15c3399e69ec5c2e09c617b5d64b01c60374a5417a76f2de75a2f2653a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61a41b15c3399e69ec5c2e09c617b5d64b01c60374a5417a76f2de75a2f2653a", kill_on_drop: false }` [INFO] [stdout] 61a41b15c3399e69ec5c2e09c617b5d64b01c60374a5417a76f2de75a2f2653a