[INFO] cloning repository https://github.com/hydrophobis/hydrosh
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hydrophobis/hydrosh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhydrophobis%2Fhydrosh", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhydrophobis%2Fhydrosh'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b582c64f6e4b3db6285d3a5e7e688c66b4e3338e
[INFO] checking hydrophobis/hydrosh against master#9bfa31f632912180dc742809bcc51a97f2d7079d for pr-140151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhydrophobis%2Fhydrosh" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/hydrophobis/hydrosh on toolchain 9bfa31f632912180dc742809bcc51a97f2d7079d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/hydrophobis/hydrosh
[INFO] finished tweaking git repo https://github.com/hydrophobis/hydrosh
[INFO] tweaked toml for git repo https://github.com/hydrophobis/hydrosh written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/hydrophobis/hydrosh 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" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] abeb924835f5b034bea83ccf1ba36347b440aa0adc28786ee22e693778be4ec3
[INFO] running `Command { std: "docker" "start" "-a" "abeb924835f5b034bea83ccf1ba36347b440aa0adc28786ee22e693778be4ec3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "abeb924835f5b034bea83ccf1ba36347b440aa0adc28786ee22e693778be4ec3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abeb924835f5b034bea83ccf1ba36347b440aa0adc28786ee22e693778be4ec3", kill_on_drop: false }`
[INFO] [stdout] abeb924835f5b034bea83ccf1ba36347b440aa0adc28786ee22e693778be4ec3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9bfa31f632912180dc742809bcc51a97f2d7079d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0715efb63ab08bb8aaa630b6d0a426e1aecfc6e22001be89c87106a6afde3595
[INFO] running `Command { std: "docker" "start" "-a" "0715efb63ab08bb8aaa630b6d0a426e1aecfc6e22001be89c87106a6afde3595", kill_on_drop: false }`
[INFO] [stderr]     Checking hydrosh v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Write` and `self`
[INFO] [stdout]  --> src/commands/help.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if (command == "exit" || command == "quit"){
[INFO] [stdout]    |            ^                                      ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 66 -         if (command == "exit" || command == "quit"){
[INFO] [stdout] 66 +         if command == "exit" || command == "quit" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write` and `self`
[INFO] [stdout]  --> src/commands/help.rs:1:15
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{self, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if (command == "exit" || command == "quit"){
[INFO] [stdout]    |            ^                                      ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 66 -         if (command == "exit" || command == "quit"){
[INFO] [stdout] 66 +         if command == "exit" || command == "quit" {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `pkg_config` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut pkg_config = String::new();
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_pkg_config` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `pkg_config` is never read
[INFO] [stdout]   --> src/main.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             pkg_config = contents;
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/main.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 |     for (index, line) in hydrosh_source.lines().enumerate() {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `current_dir` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:49:17
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut current_dir = PathBuf::new();
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_current_dir` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `pkg_config` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut pkg_config = String::new();
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_pkg_config` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_dir` is never read
[INFO] [stdout]   --> src/main.rs:51:25
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Ok(path) => current_dir = path,
[INFO] [stdout]    |                         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `pkg_config` is never read
[INFO] [stdout]   --> src/main.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             pkg_config = contents;
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/main.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 |     for (index, line) in hydrosh_source.lines().enumerate() {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `current_dir` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:49:17
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let mut current_dir = PathBuf::new();
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_current_dir` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_dir` is never read
[INFO] [stdout]   --> src/main.rs:51:25
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Ok(path) => current_dir = path,
[INFO] [stdout]    |                         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `if_help` should have an upper case name
[INFO] [stdout]  --> src/commands/help.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const if_help: &str = "\'if\' usage:\nif <comparator1> <comparator2> <command>\ne.g. if 1 1 echo hello\n";
[INFO] [stdout]   |           ^^^^^^^ help: convert the identifier to upper case: `IF_HELP`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `if_help` should have an upper case name
[INFO] [stdout]  --> src/commands/help.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub const if_help: &str = "\'if\' usage:\nif <comparator1> <comparator2> <command>\ne.g. if 1 1 echo hello\n";
[INFO] [stdout]   |           ^^^^^^^ help: convert the identifier to upper case: `IF_HELP`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_upper_case_globals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] running `Command { std: "docker" "inspect" "0715efb63ab08bb8aaa630b6d0a426e1aecfc6e22001be89c87106a6afde3595", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0715efb63ab08bb8aaa630b6d0a426e1aecfc6e22001be89c87106a6afde3595", kill_on_drop: false }`
[INFO] [stdout] 0715efb63ab08bb8aaa630b6d0a426e1aecfc6e22001be89c87106a6afde3595
