[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#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSerhiiBilyk%2FBattleship" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[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-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/SerhiiBilyk/Battleship on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/SerhiiBilyk/Battleship 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" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cca2e0cda471584788541800baa503c45169f94346b468e6159581bb09d589ec
[INFO] running `Command { std: "docker" "start" "cca2e0cda471584788541800baa503c45169f94346b468e6159581bb09d589ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cca2e0cda471584788541800baa503c45169f94346b468e6159581bb09d589ec" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cca2e0cda471584788541800baa503c45169f94346b468e6159581bb09d589ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cca2e0cda471584788541800baa503c45169f94346b468e6159581bb09d589ec" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling cargo-husky v1.4.0
[INFO] [stderr]     Checking getrandom v0.1.7
[INFO] [stderr]     Checking c2-chacha v0.2.2
[INFO] [stderr]     Checking rand_core v0.5.0
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rand v0.7.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]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) 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]    = help: use `//` for a plain comment
[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]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) 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]    = help: use `//` for a plain comment
[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]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) 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]    = help: use `//` for a plain comment
[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]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) 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]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `show` is never used
[INFO] [stdout]    --> src/field.rs:203:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl GameField {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub fn show(&self) {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `status_u8` is never used
[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 `convert_to_u8` is never used
[INFO] [stdout]   --> src/utils.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub fn convert_to_u8(elem: &[Status; 12]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.09s
[INFO] running `Command { std: "docker" "inspect" "cca2e0cda471584788541800baa503c45169f94346b468e6159581bb09d589ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cca2e0cda471584788541800baa503c45169f94346b468e6159581bb09d589ec", kill_on_drop: false }`
[INFO] [stdout] cca2e0cda471584788541800baa503c45169f94346b468e6159581bb09d589ec
