[INFO] fetching crate rush-shell 0.1.1... [INFO] checking rush-shell-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rush-shell 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate rush-shell 0.1.1 [INFO] finished tweaking crates.io crate rush-shell 0.1.1 [INFO] tweaked toml for crates.io crate rush-shell 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rush-shell 0.1.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rush-shell 0.1.1 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7210f11e573df01c3ec3ad15f6f26013eafe763cf504aef91df67e31e2420f0f [INFO] running `Command { std: "docker" "start" "-a" "7210f11e573df01c3ec3ad15f6f26013eafe763cf504aef91df67e31e2420f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7210f11e573df01c3ec3ad15f6f26013eafe763cf504aef91df67e31e2420f0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7210f11e573df01c3ec3ad15f6f26013eafe763cf504aef91df67e31e2420f0f", kill_on_drop: false }` [INFO] [stdout] 7210f11e573df01c3ec3ad15f6f26013eafe763cf504aef91df67e31e2420f0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd2464a4db96bc54cad4b050c6c62afa0b5617fc460ca208363ec9f981d93d37 [INFO] running `Command { std: "docker" "start" "-a" "cd2464a4db96bc54cad4b050c6c62afa0b5617fc460ca208363ec9f981d93d37", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking rush-shell v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `OBJECT_IN_FILE_NUMBER` is never used [INFO] [stdout] --> src/io.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const OBJECT_IN_FILE_NUMBER: i32 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OBJECT_OUT_FILE_NUMBER` is never used [INFO] [stdout] --> src/io.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const OBJECT_OUT_FILE_NUMBER: i32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OBJECT_ERR_FILE_NUMBER` is never used [INFO] [stdout] --> src/io.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const OBJECT_ERR_FILE_NUMBER: i32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ObjectRead` is never used [INFO] [stdout] --> src/io.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait ObjectRead { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ObjectWrite` is never used [INFO] [stdout] --> src/io.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait ObjectWrite { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_stdin` and `is_script` are never used [INFO] [stdout] --> src/io.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Input { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_stdin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_script(&self) -> bool { !self.is_stdin() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | script_file: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | script_args: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rush-shell` (bin "rush") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `OBJECT_IN_FILE_NUMBER` is never used [INFO] [stdout] --> src/io.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const OBJECT_IN_FILE_NUMBER: i32 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OBJECT_OUT_FILE_NUMBER` is never used [INFO] [stdout] --> src/io.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const OBJECT_OUT_FILE_NUMBER: i32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OBJECT_ERR_FILE_NUMBER` is never used [INFO] [stdout] --> src/io.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const OBJECT_ERR_FILE_NUMBER: i32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ObjectRead` is never used [INFO] [stdout] --> src/io.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait ObjectRead { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ObjectWrite` is never used [INFO] [stdout] --> src/io.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait ObjectWrite { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_stdin` and `is_script` are never used [INFO] [stdout] --> src/io.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Input { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_stdin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_script(&self) -> bool { !self.is_stdin() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | script_file: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | script_args: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rush-shell` (bin "rush" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cd2464a4db96bc54cad4b050c6c62afa0b5617fc460ca208363ec9f981d93d37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd2464a4db96bc54cad4b050c6c62afa0b5617fc460ca208363ec9f981d93d37", kill_on_drop: false }` [INFO] [stdout] cd2464a4db96bc54cad4b050c6c62afa0b5617fc460ca208363ec9f981d93d37