[INFO] cloning repository https://github.com/corslyn/rust-shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/corslyn/rust-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorslyn%2Frust-shell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorslyn%2Frust-shell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fdf0ebf17fcd4bb480ee3f9f029630e91785f58 [INFO] checking corslyn/rust-shell against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorslyn%2Frust-shell" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/corslyn/rust-shell [INFO] finished tweaking git repo https://github.com/corslyn/rust-shell [INFO] tweaked toml for git repo https://github.com/corslyn/rust-shell written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/corslyn/rust-shell on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/corslyn/rust-shell 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cc11b91514517f019139fb032f986bf021f1cc401c69dafa71ca5d314d3e8b1 [INFO] running `Command { std: "docker" "start" "-a" "2cc11b91514517f019139fb032f986bf021f1cc401c69dafa71ca5d314d3e8b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cc11b91514517f019139fb032f986bf021f1cc401c69dafa71ca5d314d3e8b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cc11b91514517f019139fb032f986bf021f1cc401c69dafa71ca5d314d3e8b1", kill_on_drop: false }` [INFO] [stdout] 2cc11b91514517f019139fb032f986bf021f1cc401c69dafa71ca5d314d3e8b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9948d863efafcad6976cd5cfc09e3d67f2cbbf039b01d42ab8e7d4a85dc19ce4 [INFO] running `Command { std: "docker" "start" "-a" "9948d863efafcad6976cd5cfc09e3d67f2cbbf039b01d42ab8e7d4a85dc19ce4", kill_on_drop: false }` [INFO] [stderr] Checking rust-shell v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `found_path` [INFO] [stdout] --> src/commands.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | if let Some(found_path) = ShellCommands::check_in_path(command, &path) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK` is never used [INFO] [stdout] --> src/colors.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub const BLACK: &str = "\x1b[30m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> src/colors.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub const RED: &str = "\x1b[31m"; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `YELLOW` is never used [INFO] [stdout] --> src/colors.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub const YELLOW: &str = "\x1b[33m"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAGENTA` is never used [INFO] [stdout] --> src/colors.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MAGENTA: &str = "\x1b[35m"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYAN` is never used [INFO] [stdout] --> src/colors.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub const CYAN: &str = "\x1b[36m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE` is never used [INFO] [stdout] --> src/colors.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub const WHITE: &str = "\x1b[37m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_BLACK` is never used [INFO] [stdout] --> src/colors.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub const BG_BLACK: &str = "\x1b[40m"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_RED` is never used [INFO] [stdout] --> src/colors.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const BG_RED: &str = "\x1b[41m"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_GREEN` is never used [INFO] [stdout] --> src/colors.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub const BG_GREEN: &str = "\x1b[42m"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_YELLOW` is never used [INFO] [stdout] --> src/colors.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub const BG_YELLOW: &str = "\x1b[43m"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_BLUE` is never used [INFO] [stdout] --> src/colors.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub const BG_BLUE: &str = "\x1b[44m"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_MAGENTA` is never used [INFO] [stdout] --> src/colors.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const BG_MAGENTA: &str = "\x1b[45m"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_CYAN` is never used [INFO] [stdout] --> src/colors.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub const BG_CYAN: &str = "\x1b[46m"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_WHITE` is never used [INFO] [stdout] --> src/colors.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const BG_WHITE: &str = "\x1b[47m"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOLD` is never used [INFO] [stdout] --> src/colors.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub const BOLD: &str = "\x1b[1m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNDERLINE` is never used [INFO] [stdout] --> src/colors.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub const UNDERLINE: &str = "\x1b[4m"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/commands.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | Unknown(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - Unknown(String), [INFO] [stdout] 18 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | env::set_current_dir(env::var("HOME").unwrap()); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = env::set_current_dir(env::var("HOME").unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `found_path` [INFO] [stdout] --> src/commands.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | if let Some(found_path) = ShellCommands::check_in_path(command, &path) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_found_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK` is never used [INFO] [stdout] --> src/colors.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub const BLACK: &str = "\x1b[30m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> src/colors.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub const RED: &str = "\x1b[31m"; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `YELLOW` is never used [INFO] [stdout] --> src/colors.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub const YELLOW: &str = "\x1b[33m"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAGENTA` is never used [INFO] [stdout] --> src/colors.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MAGENTA: &str = "\x1b[35m"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYAN` is never used [INFO] [stdout] --> src/colors.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub const CYAN: &str = "\x1b[36m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE` is never used [INFO] [stdout] --> src/colors.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub const WHITE: &str = "\x1b[37m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_BLACK` is never used [INFO] [stdout] --> src/colors.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub const BG_BLACK: &str = "\x1b[40m"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_RED` is never used [INFO] [stdout] --> src/colors.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const BG_RED: &str = "\x1b[41m"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_GREEN` is never used [INFO] [stdout] --> src/colors.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub const BG_GREEN: &str = "\x1b[42m"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_YELLOW` is never used [INFO] [stdout] --> src/colors.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub const BG_YELLOW: &str = "\x1b[43m"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_BLUE` is never used [INFO] [stdout] --> src/colors.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub const BG_BLUE: &str = "\x1b[44m"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_MAGENTA` is never used [INFO] [stdout] --> src/colors.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const BG_MAGENTA: &str = "\x1b[45m"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_CYAN` is never used [INFO] [stdout] --> src/colors.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | pub const BG_CYAN: &str = "\x1b[46m"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_WHITE` is never used [INFO] [stdout] --> src/colors.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub const BG_WHITE: &str = "\x1b[47m"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BOLD` is never used [INFO] [stdout] --> src/colors.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub const BOLD: &str = "\x1b[1m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UNDERLINE` is never used [INFO] [stdout] --> src/colors.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub const UNDERLINE: &str = "\x1b[4m"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/commands.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | Unknown(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - Unknown(String), [INFO] [stdout] 18 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/commands.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | env::set_current_dir(env::var("HOME").unwrap()); [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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = env::set_current_dir(env::var("HOME").unwrap()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "9948d863efafcad6976cd5cfc09e3d67f2cbbf039b01d42ab8e7d4a85dc19ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9948d863efafcad6976cd5cfc09e3d67f2cbbf039b01d42ab8e7d4a85dc19ce4", kill_on_drop: false }` [INFO] [stdout] 9948d863efafcad6976cd5cfc09e3d67f2cbbf039b01d42ab8e7d4a85dc19ce4