[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] documenting 1000VICKY/ishell_in_Rust against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1000VICKY%2Fishell_in_Rust" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/1000VICKY/ishell_in_Rust on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-21/source/Cargo.toml [INFO] crate git repo https://github.com/1000VICKY/ishell_in_Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--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 cty v0.2.1 [INFO] [stderr] Downloaded ctrlc v3.1.4 [INFO] [stderr] Downloaded cstr_core v0.2.0 [INFO] [stderr] Downloaded printf-rs v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d7b98a30cf19416fdd7735bfe20fc0eaecccd782e51c97d36d1854e941d17a0 [INFO] running `Command { std: "docker" "start" "-a" "3d7b98a30cf19416fdd7735bfe20fc0eaecccd782e51c97d36d1854e941d17a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d7b98a30cf19416fdd7735bfe20fc0eaecccd782e51c97d36d1854e941d17a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d7b98a30cf19416fdd7735bfe20fc0eaecccd782e51c97d36d1854e941d17a0", kill_on_drop: false }` [INFO] [stdout] 3d7b98a30cf19416fdd7735bfe20fc0eaecccd782e51c97d36d1854e941d17a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0afc519be2fb0341ee62190732fb38a08f34ae2c47231de16362ce7566992ac0 [INFO] running `Command { std: "docker" "start" "-a" "0afc519be2fb0341ee62190732fb38a08f34ae2c47231de16362ce7566992ac0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling nix v0.17.0 [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] Checking cstr_core v0.2.0 [INFO] [stderr] Compiling printf v0.1.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] Documenting rust_ishell v0.1.0 (/opt/rustwide/workdir) [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)]` 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: 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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.16s [INFO] running `Command { std: "docker" "inspect" "0afc519be2fb0341ee62190732fb38a08f34ae2c47231de16362ce7566992ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0afc519be2fb0341ee62190732fb38a08f34ae2c47231de16362ce7566992ac0", kill_on_drop: false }` [INFO] [stdout] 0afc519be2fb0341ee62190732fb38a08f34ae2c47231de16362ce7566992ac0