[INFO] cloning repository https://github.com/SerhiiBilyk/Battleship [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SerhiiBilyk/Battleship" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerhiiBilyk%2FBattleship", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerhiiBilyk%2FBattleship'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54f8990e836c12c64f9a8a3728159de947a2c1da [INFO] checking SerhiiBilyk/Battleship against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerhiiBilyk%2FBattleship" "/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/SerhiiBilyk/Battleship on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SerhiiBilyk/Battleship [INFO] finished tweaking git repo https://github.com/SerhiiBilyk/Battleship [INFO] tweaked toml for git repo https://github.com/SerhiiBilyk/Battleship written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/SerhiiBilyk/Battleship already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargo-husky v1.4.0 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d6ae540f61ac29f3ead07724e854cb397b701c43f591c056cfed27302ff3cd0 [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" "1d6ae540f61ac29f3ead07724e854cb397b701c43f591c056cfed27302ff3cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d6ae540f61ac29f3ead07724e854cb397b701c43f591c056cfed27302ff3cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d6ae540f61ac29f3ead07724e854cb397b701c43f591c056cfed27302ff3cd0", kill_on_drop: false }` [INFO] [stdout] 1d6ae540f61ac29f3ead07724e854cb397b701c43f591c056cfed27302ff3cd0 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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] 176c11582ab0f308528cceb3d979a05b2111f5804afa26e36ecba5d4680f8520 [INFO] running `Command { std: "docker" "start" "-a" "176c11582ab0f308528cceb3d979a05b2111f5804afa26e36ecba5d4680f8520", kill_on_drop: false }` [INFO] [stderr] Compiling cargo-husky v1.4.0 [INFO] [stderr] Checking battleship v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/structures.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / /// @todo replace HashMap with Array [INFO] [stdout] 33 | | /// Regarding to https://users.rust-lang.org/t/rust-battleship-console-game/31028/2 [INFO] [stdout] | |___________________________________________________________________________________________^ [INFO] [stdout] 34 | let mut ships = HashMap::new(); [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mediator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / ///read_line allocates a new String every time, while okay for user input, [INFO] [stdout] 15 | | /// this could probably be better if we took a &mut String instead. [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] 16 | let mut input_text = String::new(); [INFO] [stdout] | ----------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mediator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / ///read_line allocates a new String every time, while okay for user input, [INFO] [stdout] 15 | | /// this could probably be better if we took a &mut String instead. [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] 16 | let mut input_text = String::new(); [INFO] [stdout] | ----------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/structures.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / /// @todo replace HashMap with Array [INFO] [stdout] 33 | | /// Regarding to https://users.rust-lang.org/t/rust-battleship-console-game/31028/2 [INFO] [stdout] | |___________________________________________________________________________________________^ [INFO] [stdout] 34 | let mut ships = HashMap::new(); [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show` [INFO] [stdout] --> src/field.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn show(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `status_u8` [INFO] [stdout] --> src/utils.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn status_u8(status: Status) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_to_u8` [INFO] [stdout] --> src/utils.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn convert_to_u8(elem: &[Status; 12]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/structures.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / /// @todo replace HashMap with Array [INFO] [stdout] 33 | | /// Regarding to https://users.rust-lang.org/t/rust-battleship-console-game/31028/2 [INFO] [stdout] | |___________________________________________________________________________________________^ [INFO] [stdout] 34 | let mut ships = HashMap::new(); [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mediator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / ///read_line allocates a new String every time, while okay for user input, [INFO] [stdout] 15 | | /// this could probably be better if we took a &mut String instead. [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] 16 | let mut input_text = String::new(); [INFO] [stdout] | ----------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/mediator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / ///read_line allocates a new String every time, while okay for user input, [INFO] [stdout] 15 | | /// this could probably be better if we took a &mut String instead. [INFO] [stdout] | |_______________________________________________________________________^ [INFO] [stdout] 16 | let mut input_text = String::new(); [INFO] [stdout] | ----------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/structures.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / /// @todo replace HashMap with Array [INFO] [stdout] 33 | | /// Regarding to https://users.rust-lang.org/t/rust-battleship-console-game/31028/2 [INFO] [stdout] | |___________________________________________________________________________________________^ [INFO] [stdout] 34 | let mut ships = HashMap::new(); [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "176c11582ab0f308528cceb3d979a05b2111f5804afa26e36ecba5d4680f8520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "176c11582ab0f308528cceb3d979a05b2111f5804afa26e36ecba5d4680f8520", kill_on_drop: false }` [INFO] [stdout] 176c11582ab0f308528cceb3d979a05b2111f5804afa26e36ecba5d4680f8520