[INFO] cloning repository https://github.com/1000VICKY/ishell_in_Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1000VICKY/ishell_in_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1000VICKY%2Fishell_in_Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1000VICKY%2Fishell_in_Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 048da41d5e58d955fa14e649fa95f9e9a1d5244c
[INFO] checking 1000VICKY/ishell_in_Rust against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1000VICKY%2Fishell_in_Rust" "/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/1000VICKY/ishell_in_Rust
[INFO] finished tweaking git repo https://github.com/1000VICKY/ishell_in_Rust
[INFO] tweaked toml for git repo https://github.com/1000VICKY/ishell_in_Rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/1000VICKY/ishell_in_Rust on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/1000VICKY/ishell_in_Rust 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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7a49fa2c5341b5f5eed8a7c7b252a46f2ff0cbc55427fe29cd328b85ee6bf3cc
[INFO] running `Command { std: "docker" "start" "-a" "7a49fa2c5341b5f5eed8a7c7b252a46f2ff0cbc55427fe29cd328b85ee6bf3cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7a49fa2c5341b5f5eed8a7c7b252a46f2ff0cbc55427fe29cd328b85ee6bf3cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a49fa2c5341b5f5eed8a7c7b252a46f2ff0cbc55427fe29cd328b85ee6bf3cc", kill_on_drop: false }`
[INFO] [stdout] 7a49fa2c5341b5f5eed8a7c7b252a46f2ff0cbc55427fe29cd328b85ee6bf3cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 271bb1cc2c2c272111d2268e317ac4a0a6d5f6baa075f63ae239e2a3d92695b0
[INFO] running `Command { std: "docker" "start" "-a" "271bb1cc2c2c272111d2268e317ac4a0a6d5f6baa075f63ae239e2a3d92695b0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]     Checking ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking cty v0.2.1
[INFO] [stderr]    Compiling printf v0.1.0
[INFO] [stderr]     Checking cstr_core v0.2.0
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking printf-rs v0.1.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking tempdir v0.3.7
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]     Checking ctrlc v3.1.4
[INFO] [stderr]     Checking rust_ishell v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Output`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Output,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr` and `CString`
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     CString,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 34 |     CStr
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `c_int` and `c_void`
[INFO] [stdout]   --> src/main.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     c_int,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 39 |     c_void
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `printf::printf`
[INFO] [stdout]  --> src/echo.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use printf::printf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/echo.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 |     if (target_length > 0) {
[INFO] [stdout]    |        ^                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 16 -     if (target_length > 0) {
[INFO] [stdout] 16 +     if target_length > 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/echo.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |         if (to_print.is_ok() == true) {
[INFO] [stdout]    |            ^                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 52 -         if (to_print.is_ok() == true) {
[INFO] [stdout] 52 +         if to_print.is_ok() == true {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/echo.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 |         if (temporary_u == 10) {
[INFO] [stdout]     |            ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 -         if (temporary_u == 10) {
[INFO] [stdout] 161 +         if temporary_u == 10 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:86:1
[INFO] [stdout]    |
[INFO] [stdout] 86 |   /// C言語のc_intサイズで文字出力をするため
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 87 | / extern "C" {
[INFO] [stdout] 88 | |     fn putchar(s: c_char);
[INFO] [stdout] 89 | | }
[INFO] [stdout]    | |_- rustdoc does not generate documentation for extern blocks
[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: denote infinite loops with `loop { ... }`
[INFO] [stdout]    --> src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     while true
[INFO] [stdout]     |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:182:12
[INFO] [stdout]     |
[INFO] [stdout] 182 |         if (EXIT_STRING.to_string() == input) {
[INFO] [stdout]     |            ^                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 182 -         if (EXIT_STRING.to_string() == input) {
[INFO] [stdout] 182 +         if EXIT_STRING.to_string() == input {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:185:19
[INFO] [stdout]     |
[INFO] [stdout] 185 |         } else if (CLEAR_STRING.to_string() == input ) {
[INFO] [stdout]     |                   ^                                 ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 185 -         } else if (CLEAR_STRING.to_string() == input ) {
[INFO] [stdout] 185 +         } else if CLEAR_STRING.to_string() == input {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:193:16
[INFO] [stdout]     |
[INFO] [stdout] 193 |             if (response.is_ok() != true) {
[INFO] [stdout]     |                ^                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 193 -             if (response.is_ok() != true) {
[INFO] [stdout] 193 +             if response.is_ok() != true {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:198:19
[INFO] [stdout]     |
[INFO] [stdout] 198 |         } else if (DEL_STRING.to_string() == input) {
[INFO] [stdout]     |                   ^                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 198 -         } else if (DEL_STRING.to_string() == input) {
[INFO] [stdout] 198 +         } else if DEL_STRING.to_string() == input {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:200:16
[INFO] [stdout]     |
[INFO] [stdout] 200 |             if (remove_target_file(&validate_file_path) != true)  {
[INFO] [stdout]     |                ^                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 200 -             if (remove_target_file(&validate_file_path) != true)  {
[INFO] [stdout] 200 +             if remove_target_file(&validate_file_path) != true  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:204:16
[INFO] [stdout]     |
[INFO] [stdout] 204 |             if (remove_target_file(&validate_file_path) != true)  {
[INFO] [stdout]     |                ^                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 204 -             if (remove_target_file(&validate_file_path) != true)  {
[INFO] [stdout] 204 +             if remove_target_file(&validate_file_path) != true  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 223 |         if (input.len() == 0) {
[INFO] [stdout]     |            ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 223 -         if (input.len() == 0) {
[INFO] [stdout] 223 +         if input.len() == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:285:12
[INFO] [stdout]     |
[INFO] [stdout] 285 |         if (written_bytes.is_ok() != true) {
[INFO] [stdout]     |            ^                             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 285 -         if (written_bytes.is_ok() != true) {
[INFO] [stdout] 285 +         if written_bytes.is_ok() != true {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:303:16
[INFO] [stdout]     |
[INFO] [stdout] 303 |             if (inner_value == 0 ) {
[INFO] [stdout]     |                ^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 303 -             if (inner_value == 0 ) {
[INFO] [stdout] 303 +             if inner_value == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:307:16
[INFO] [stdout]     |
[INFO] [stdout] 307 |             if (previous_newline_count <= current_newline_count) {
[INFO] [stdout]     |                ^                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 307 -             if (previous_newline_count <= current_newline_count) {
[INFO] [stdout] 307 +             if previous_newline_count <= current_newline_count {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:320:16
[INFO] [stdout]     |
[INFO] [stdout] 320 |             if (inner_value == 10) {
[INFO] [stdout]     |                ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 320 -             if (inner_value == 10) {
[INFO] [stdout] 320 +             if inner_value == 10 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:343:8
[INFO] [stdout]     |
[INFO] [stdout] 343 |     if (new_file.is_ok() != true) {
[INFO] [stdout]     |        ^                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 343 -     if (new_file.is_ok() != true) {
[INFO] [stdout] 343 +     if new_file.is_ok() != true {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:360:8
[INFO] [stdout]     |
[INFO] [stdout] 360 |     if (target_path.exists() != true) {
[INFO] [stdout]     |        ^                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 360 -     if (target_path.exists() != true) {
[INFO] [stdout] 360 +     if target_path.exists() != true {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:373:12
[INFO] [stdout]     |
[INFO] [stdout] 373 |         if (needle == *value) {
[INFO] [stdout]     |            ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 373 -         if (needle == *value) {
[INFO] [stdout] 373 +         if needle == *value {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `return` value
[INFO] [stdout]    --> src/main.rs:374:20
[INFO] [stdout]     |
[INFO] [stdout] 374 |             return (index as i32);
[INFO] [stdout]     |                    ^            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 374 -             return (index as i32);
[INFO] [stdout] 374 +             return index as i32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:384:8
[INFO] [stdout]     |
[INFO] [stdout] 384 |     if (newline_string.len() == 0) {
[INFO] [stdout]     |        ^                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 384 -     if (newline_string.len() == 0) {
[INFO] [stdout] 384 +     if newline_string.len() == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:392:16
[INFO] [stdout]     |
[INFO] [stdout] 392 |             if (_bytes[_bytes.len() -1] == 10) {
[INFO] [stdout]     |                ^                             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 392 -             if (_bytes[_bytes.len() -1] == 10) {
[INFO] [stdout] 392 +             if _bytes[_bytes.len() -1] == 10 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:395:16
[INFO] [stdout]     |
[INFO] [stdout] 395 |             if (_bytes[_bytes.len() - 1] == 13) {
[INFO] [stdout]     |                ^                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 395 -             if (_bytes[_bytes.len() - 1] == 13) {
[INFO] [stdout] 395 +             if _bytes[_bytes.len() - 1] == 13 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:404:12
[INFO] [stdout]     |
[INFO] [stdout] 404 |         if (response.is_ok() == true) {
[INFO] [stdout]     |            ^                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 404 -         if (response.is_ok() == true) {
[INFO] [stdout] 404 +         if response.is_ok() == true {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/echo.rs:152:9
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let input : String;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/main.rs:310:17
[INFO] [stdout]     |
[INFO] [stdout] 310 |                 unsafe {
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_file_resource` is never used
[INFO] [stdout]   --> src/main.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn get_file_resource <'a> (path: &'a String) -> Vec<u8> {
[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 `putchar` is never used
[INFO] [stdout]   --> src/main.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn putchar(s: c_char);
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `echo` is never used
[INFO] [stdout]   --> src/echo.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn echo (target : String ) -> usize
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print` is never used
[INFO] [stdout]   --> src/echo.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn print(target: &str) -> () {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dump` is never used
[INFO] [stdout]   --> src/echo.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn dump<T>(target: T)  -> () where T : std::fmt::Debug {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_c_string` is never used
[INFO] [stdout]   --> src/echo.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn print_c_string(output :Vec<u8>) -> isize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `printf_c_string` is never used
[INFO] [stdout]   --> src/echo.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn printf_c_string(output: Vec<u8>) -> isize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `puts` is never used
[INFO] [stdout]   --> src/echo.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 42 |             fn puts(s: *const c_char) -> c_int;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `printf` is never used
[INFO] [stdout]   --> src/echo.rs:66:16
[INFO] [stdout]    |
[INFO] [stdout] 66 |             fn printf(format: *const c_char, args: *mut c_char) -> c_int;
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `printf` is never used
[INFO] [stdout]    --> src/echo.rs:134:16
[INFO] [stdout]     |
[INFO] [stdout] 134 |             fn printf(format: *const c_char, args: *mut c_void) -> c_int;
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]   --> src/main.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn first_word(s: &String) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:154:5
[INFO] [stdout]     |
[INFO] [stdout] 154 |     validate_file.write_all(initialize_input.as_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let _ = validate_file.write_all(initialize_input.as_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains an unused formatting placeholder
[INFO] [stdout]    --> src/main.rs:201:57
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 panic!("Failed to remove the file named {} which you selected .");
[INFO] [stdout]     |                                                         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this message is not used as a format string when given without arguments, but will be in Rust 2021
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add the missing argument
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 panic!("Failed to remove the file named {} which you selected .", ...);
[INFO] [stdout]     |                                                                                 +++++
[INFO] [stdout] help: or add a "{}" format string to use the message literally
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 panic!("{}", "Failed to remove the file named {} which you selected .");
[INFO] [stdout]     |                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains an unused formatting placeholder
[INFO] [stdout]    --> src/main.rs:205:57
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 panic!("Failed to remove the file named {} which you selected .");
[INFO] [stdout]     |                                                         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this message is not used as a format string when given without arguments, but will be in Rust 2021
[INFO] [stdout] help: add the missing argument
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 panic!("Failed to remove the file named {} which you selected .", ...);
[INFO] [stdout]     |                                                                                 +++++
[INFO] [stdout] help: or add a "{}" format string to use the message literally
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 panic!("{}", "Failed to remove the file named {} which you selected .");
[INFO] [stdout]     |                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/echo.rs:75:20
[INFO] [stdout]    |
[INFO] [stdout] 75 |             panic!(c_percent.unwrap_err());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 75 |             panic!("{}", c_percent.unwrap_err());
[INFO] [stdout]    |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 75 -             panic!(c_percent.unwrap_err());
[INFO] [stdout] 75 +             std::panic::panic_any(c_percent.unwrap_err());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/echo.rs:86:20
[INFO] [stdout]    |
[INFO] [stdout] 86 |             panic!(c_string_result.unwrap_err());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 86 |             panic!("{}", c_string_result.unwrap_err());
[INFO] [stdout]    |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 86 -             panic!(c_string_result.unwrap_err());
[INFO] [stdout] 86 +             std::panic::panic_any(c_string_result.unwrap_err());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/echo.rs:108:20
[INFO] [stdout]     |
[INFO] [stdout] 108 |             panic!(c_percent.unwrap_err());
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 108 |             panic!("{}", c_percent.unwrap_err());
[INFO] [stdout]     |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 108 -             panic!(c_percent.unwrap_err());
[INFO] [stdout] 108 +             std::panic::panic_any(c_percent.unwrap_err());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `printf` redeclared with a different signature
[INFO] [stdout]   --> src/echo.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             fn printf(format: *const c_char, args: *mut c_char) -> c_int;
[INFO] [stdout]    |             ------------------------------------------------------------- `printf` previously declared here
[INFO] [stdout] ...
[INFO] [stdout] 99 |             fn printf(format: *const c_char, args: c_char) -> c_int;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(*const i8, *mut i8) -> i32`
[INFO] [stdout]               found `unsafe extern "C" fn(*const i8, i8) -> i32`
[INFO] [stdout]    = note: `#[warn(clashing_extern_declarations)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Output`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Output,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `printf` redeclared with a different signature
[INFO] [stdout]    --> src/echo.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout]  66 |             fn printf(format: *const c_char, args: *mut c_char) -> c_int;
[INFO] [stdout]     |             ------------------------------------------------------------- `printf` previously declared here
[INFO] [stdout] ...
[INFO] [stdout] 134 |             fn printf(format: *const c_char, args: *mut c_void) -> c_int;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*const i8, *mut i8) -> i32`
[INFO] [stdout]                found `unsafe extern "C" fn(*const i8, *mut std::ffi::c_void) -> i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr` and `CString`
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     CString,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 34 |     CStr
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `c_int` and `c_void`
[INFO] [stdout]   --> src/main.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     c_int,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 39 |     c_void
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `printf::printf`
[INFO] [stdout]  --> src/echo.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use printf::printf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/echo.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 |     if (target_length > 0) {
[INFO] [stdout]    |        ^                 ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 16 -     if (target_length > 0) {
[INFO] [stdout] 16 +     if target_length > 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/echo.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 |         if (to_print.is_ok() == true) {
[INFO] [stdout]    |            ^                        ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 52 -         if (to_print.is_ok() == true) {
[INFO] [stdout] 52 +         if to_print.is_ok() == true {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/echo.rs:161:12
[INFO] [stdout]     |
[INFO] [stdout] 161 |         if (temporary_u == 10) {
[INFO] [stdout]     |            ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 -         if (temporary_u == 10) {
[INFO] [stdout] 161 +         if temporary_u == 10 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:86:1
[INFO] [stdout]    |
[INFO] [stdout] 86 |   /// C言語のc_intサイズで文字出力をするため
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 87 | / extern "C" {
[INFO] [stdout] 88 | |     fn putchar(s: c_char);
[INFO] [stdout] 89 | | }
[INFO] [stdout]    | |_- rustdoc does not generate documentation for extern blocks
[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: denote infinite loops with `loop { ... }`
[INFO] [stdout]    --> src/main.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     while true
[INFO] [stdout]     |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:182:12
[INFO] [stdout]     |
[INFO] [stdout] 182 |         if (EXIT_STRING.to_string() == input) {
[INFO] [stdout]     |            ^                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 182 -         if (EXIT_STRING.to_string() == input) {
[INFO] [stdout] 182 +         if EXIT_STRING.to_string() == input {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:185:19
[INFO] [stdout]     |
[INFO] [stdout] 185 |         } else if (CLEAR_STRING.to_string() == input ) {
[INFO] [stdout]     |                   ^                                 ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 185 -         } else if (CLEAR_STRING.to_string() == input ) {
[INFO] [stdout] 185 +         } else if CLEAR_STRING.to_string() == input {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:193:16
[INFO] [stdout]     |
[INFO] [stdout] 193 |             if (response.is_ok() != true) {
[INFO] [stdout]     |                ^                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 193 -             if (response.is_ok() != true) {
[INFO] [stdout] 193 +             if response.is_ok() != true {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:198:19
[INFO] [stdout]     |
[INFO] [stdout] 198 |         } else if (DEL_STRING.to_string() == input) {
[INFO] [stdout]     |                   ^                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 198 -         } else if (DEL_STRING.to_string() == input) {
[INFO] [stdout] 198 +         } else if DEL_STRING.to_string() == input {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:200:16
[INFO] [stdout]     |
[INFO] [stdout] 200 |             if (remove_target_file(&validate_file_path) != true)  {
[INFO] [stdout]     |                ^                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 200 -             if (remove_target_file(&validate_file_path) != true)  {
[INFO] [stdout] 200 +             if remove_target_file(&validate_file_path) != true  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:204:16
[INFO] [stdout]     |
[INFO] [stdout] 204 |             if (remove_target_file(&validate_file_path) != true)  {
[INFO] [stdout]     |                ^                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 204 -             if (remove_target_file(&validate_file_path) != true)  {
[INFO] [stdout] 204 +             if remove_target_file(&validate_file_path) != true  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 223 |         if (input.len() == 0) {
[INFO] [stdout]     |            ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 223 -         if (input.len() == 0) {
[INFO] [stdout] 223 +         if input.len() == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:285:12
[INFO] [stdout]     |
[INFO] [stdout] 285 |         if (written_bytes.is_ok() != true) {
[INFO] [stdout]     |            ^                             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 285 -         if (written_bytes.is_ok() != true) {
[INFO] [stdout] 285 +         if written_bytes.is_ok() != true {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:303:16
[INFO] [stdout]     |
[INFO] [stdout] 303 |             if (inner_value == 0 ) {
[INFO] [stdout]     |                ^                ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 303 -             if (inner_value == 0 ) {
[INFO] [stdout] 303 +             if inner_value == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:307:16
[INFO] [stdout]     |
[INFO] [stdout] 307 |             if (previous_newline_count <= current_newline_count) {
[INFO] [stdout]     |                ^                                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 307 -             if (previous_newline_count <= current_newline_count) {
[INFO] [stdout] 307 +             if previous_newline_count <= current_newline_count {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:320:16
[INFO] [stdout]     |
[INFO] [stdout] 320 |             if (inner_value == 10) {
[INFO] [stdout]     |                ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 320 -             if (inner_value == 10) {
[INFO] [stdout] 320 +             if inner_value == 10 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:343:8
[INFO] [stdout]     |
[INFO] [stdout] 343 |     if (new_file.is_ok() != true) {
[INFO] [stdout]     |        ^                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 343 -     if (new_file.is_ok() != true) {
[INFO] [stdout] 343 +     if new_file.is_ok() != true {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:360:8
[INFO] [stdout]     |
[INFO] [stdout] 360 |     if (target_path.exists() != true) {
[INFO] [stdout]     |        ^                            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 360 -     if (target_path.exists() != true) {
[INFO] [stdout] 360 +     if target_path.exists() != true {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:373:12
[INFO] [stdout]     |
[INFO] [stdout] 373 |         if (needle == *value) {
[INFO] [stdout]     |            ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 373 -         if (needle == *value) {
[INFO] [stdout] 373 +         if needle == *value {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `return` value
[INFO] [stdout]    --> src/main.rs:374:20
[INFO] [stdout]     |
[INFO] [stdout] 374 |             return (index as i32);
[INFO] [stdout]     |                    ^            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 374 -             return (index as i32);
[INFO] [stdout] 374 +             return index as i32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:384:8
[INFO] [stdout]     |
[INFO] [stdout] 384 |     if (newline_string.len() == 0) {
[INFO] [stdout]     |        ^                         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 384 -     if (newline_string.len() == 0) {
[INFO] [stdout] 384 +     if newline_string.len() == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:392:16
[INFO] [stdout]     |
[INFO] [stdout] 392 |             if (_bytes[_bytes.len() -1] == 10) {
[INFO] [stdout]     |                ^                             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 392 -             if (_bytes[_bytes.len() -1] == 10) {
[INFO] [stdout] 392 +             if _bytes[_bytes.len() -1] == 10 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:395:16
[INFO] [stdout]     |
[INFO] [stdout] 395 |             if (_bytes[_bytes.len() - 1] == 13) {
[INFO] [stdout]     |                ^                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 395 -             if (_bytes[_bytes.len() - 1] == 13) {
[INFO] [stdout] 395 +             if _bytes[_bytes.len() - 1] == 13 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:404:12
[INFO] [stdout]     |
[INFO] [stdout] 404 |         if (response.is_ok() == true) {
[INFO] [stdout]     |            ^                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 404 -         if (response.is_ok() == true) {
[INFO] [stdout] 404 +         if response.is_ok() == true {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]    --> src/echo.rs:152:9
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let input : String;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/main.rs:310:17
[INFO] [stdout]     |
[INFO] [stdout] 310 |                 unsafe {
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_file_resource` is never used
[INFO] [stdout]   --> src/main.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn get_file_resource <'a> (path: &'a String) -> Vec<u8> {
[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 `putchar` is never used
[INFO] [stdout]   --> src/main.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn putchar(s: c_char);
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `echo` is never used
[INFO] [stdout]   --> src/echo.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn echo (target : String ) -> usize
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print` is never used
[INFO] [stdout]   --> src/echo.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn print(target: &str) -> () {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dump` is never used
[INFO] [stdout]   --> src/echo.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn dump<T>(target: T)  -> () where T : std::fmt::Debug {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_c_string` is never used
[INFO] [stdout]   --> src/echo.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn print_c_string(output :Vec<u8>) -> isize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `printf_c_string` is never used
[INFO] [stdout]   --> src/echo.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn printf_c_string(output: Vec<u8>) -> isize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `puts` is never used
[INFO] [stdout]   --> src/echo.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 42 |             fn puts(s: *const c_char) -> c_int;
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `printf` is never used
[INFO] [stdout]   --> src/echo.rs:66:16
[INFO] [stdout]    |
[INFO] [stdout] 66 |             fn printf(format: *const c_char, args: *mut c_char) -> c_int;
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `printf` is never used
[INFO] [stdout]    --> src/echo.rs:134:16
[INFO] [stdout]     |
[INFO] [stdout] 134 |             fn printf(format: *const c_char, args: *mut c_void) -> c_int;
[INFO] [stdout]     |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_word` is never used
[INFO] [stdout]   --> src/main.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 |     fn first_word(s: &String) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:154:5
[INFO] [stdout]     |
[INFO] [stdout] 154 |     validate_file.write_all(initialize_input.as_bytes());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let _ = validate_file.write_all(initialize_input.as_bytes());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains an unused formatting placeholder
[INFO] [stdout]    --> src/main.rs:201:57
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 panic!("Failed to remove the file named {} which you selected .");
[INFO] [stdout]     |                                                         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this message is not used as a format string when given without arguments, but will be in Rust 2021
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: add the missing argument
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 panic!("Failed to remove the file named {} which you selected .", ...);
[INFO] [stdout]     |                                                                                 +++++
[INFO] [stdout] help: or add a "{}" format string to use the message literally
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 panic!("{}", "Failed to remove the file named {} which you selected .");
[INFO] [stdout]     |                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains an unused formatting placeholder
[INFO] [stdout]    --> src/main.rs:205:57
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 panic!("Failed to remove the file named {} which you selected .");
[INFO] [stdout]     |                                                         ^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this message is not used as a format string when given without arguments, but will be in Rust 2021
[INFO] [stdout] help: add the missing argument
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 panic!("Failed to remove the file named {} which you selected .", ...);
[INFO] [stdout]     |                                                                                 +++++
[INFO] [stdout] help: or add a "{}" format string to use the message literally
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 panic!("{}", "Failed to remove the file named {} which you selected .");
[INFO] [stdout]     |                        +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/echo.rs:75:20
[INFO] [stdout]    |
[INFO] [stdout] 75 |             panic!(c_percent.unwrap_err());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 75 |             panic!("{}", c_percent.unwrap_err());
[INFO] [stdout]    |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 75 -             panic!(c_percent.unwrap_err());
[INFO] [stdout] 75 +             std::panic::panic_any(c_percent.unwrap_err());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/echo.rs:86:20
[INFO] [stdout]    |
[INFO] [stdout] 86 |             panic!(c_string_result.unwrap_err());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 86 |             panic!("{}", c_string_result.unwrap_err());
[INFO] [stdout]    |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]    |
[INFO] [stdout] 86 -             panic!(c_string_result.unwrap_err());
[INFO] [stdout] 86 +             std::panic::panic_any(c_string_result.unwrap_err());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/echo.rs:108:20
[INFO] [stdout]     |
[INFO] [stdout] 108 |             panic!(c_percent.unwrap_err());
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]     |
[INFO] [stdout] 108 |             panic!("{}", c_percent.unwrap_err());
[INFO] [stdout]     |                    +++++
[INFO] [stdout] help: or use std::panic::panic_any instead
[INFO] [stdout]     |
[INFO] [stdout] 108 -             panic!(c_percent.unwrap_err());
[INFO] [stdout] 108 +             std::panic::panic_any(c_percent.unwrap_err());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `printf` redeclared with a different signature
[INFO] [stdout]   --> src/echo.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             fn printf(format: *const c_char, args: *mut c_char) -> c_int;
[INFO] [stdout]    |             ------------------------------------------------------------- `printf` previously declared here
[INFO] [stdout] ...
[INFO] [stdout] 99 |             fn printf(format: *const c_char, args: c_char) -> c_int;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected `unsafe extern "C" fn(*const i8, *mut i8) -> i32`
[INFO] [stdout]               found `unsafe extern "C" fn(*const i8, i8) -> i32`
[INFO] [stdout]    = note: `#[warn(clashing_extern_declarations)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `printf` redeclared with a different signature
[INFO] [stdout]    --> src/echo.rs:134:13
[INFO] [stdout]     |
[INFO] [stdout]  66 |             fn printf(format: *const c_char, args: *mut c_char) -> c_int;
[INFO] [stdout]     |             ------------------------------------------------------------- `printf` previously declared here
[INFO] [stdout] ...
[INFO] [stdout] 134 |             fn printf(format: *const c_char, args: *mut c_void) -> c_int;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected `unsafe extern "C" fn(*const i8, *mut i8) -> i32`
[INFO] [stdout]                found `unsafe extern "C" fn(*const i8, *mut std::ffi::c_void) -> i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.73s
[INFO] running `Command { std: "docker" "inspect" "271bb1cc2c2c272111d2268e317ac4a0a6d5f6baa075f63ae239e2a3d92695b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "271bb1cc2c2c272111d2268e317ac4a0a6d5f6baa075f63ae239e2a3d92695b0", kill_on_drop: false }`
[INFO] [stdout] 271bb1cc2c2c272111d2268e317ac4a0a6d5f6baa075f63ae239e2a3d92695b0
