[INFO] fetching crate rash-shell 0.2.0... [INFO] checking rash-shell-0.2.0 against master#f167efad2f51088d86180ee89177b3d7c9e7c2f5 for pr-129543 [INFO] extracting crate rash-shell 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate rash-shell 0.2.0 on toolchain f167efad2f51088d86180ee89177b3d7c9e7c2f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rash-shell 0.2.0 [INFO] finished tweaking crates.io crate rash-shell 0.2.0 [INFO] tweaked toml for crates.io crate rash-shell 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate rash-shell 0.2.0 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" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "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 rustyline v8.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fed171d4e2d5275dcf25ab3eacb2e410dfc010214d8518209fb07c611cd5f01f [INFO] running `Command { std: "docker" "start" "-a" "fed171d4e2d5275dcf25ab3eacb2e410dfc010214d8518209fb07c611cd5f01f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fed171d4e2d5275dcf25ab3eacb2e410dfc010214d8518209fb07c611cd5f01f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed171d4e2d5275dcf25ab3eacb2e410dfc010214d8518209fb07c611cd5f01f", kill_on_drop: false }` [INFO] [stdout] fed171d4e2d5275dcf25ab3eacb2e410dfc010214d8518209fb07c611cd5f01f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15db7ae3eeeb042f0899cc1f2dac08feb24137d9dff83ca859f2cb4a7eb7ec4a [INFO] running `Command { std: "docker" "start" "-a" "15db7ae3eeeb042f0899cc1f2dac08feb24137d9dff83ca859f2cb4a7eb7ec4a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling pico-args v0.4.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking lalrpop-util v0.19.5 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling lalrpop v0.19.5 [INFO] [stderr] Checking rustyline v8.0.0 [INFO] [stderr] Compiling rash-shell v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/exec.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if let Err(e) = exec(context, cmd, args, env) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/exec.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | if let Err(e) = try_exec(&filepath(path, filename), args, &exported) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/exec.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | if let Err(e) = try_exec(&filepath(path_buf, filename), args, &exported) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/exec.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if let Err(e) = exec(context, cmd, args, env) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/exec.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | if let Err(e) = try_exec(&filepath(path, filename), args, &exported) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/exec.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | if let Err(e) = try_exec(&filepath(path_buf, filename), args, &exported) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `into_raw_fd` that must be used [INFO] [stdout] --> src/context.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | stdout.into_raw_fd(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the raw file descriptor may leak resources [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = stdout.into_raw_fd(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `into_raw_fd` that must be used [INFO] [stdout] --> src/context.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | stderr.into_raw_fd(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the raw file descriptor may leak resources [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = stderr.into_raw_fd(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `into_raw_fd` that must be used [INFO] [stdout] --> src/context.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | stdout.into_raw_fd(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the raw file descriptor may leak resources [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 45 | let _ = stdout.into_raw_fd(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `into_raw_fd` that must be used [INFO] [stdout] --> src/context.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | stderr.into_raw_fd(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: losing the raw file descriptor may leak resources [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = stderr.into_raw_fd(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "15db7ae3eeeb042f0899cc1f2dac08feb24137d9dff83ca859f2cb4a7eb7ec4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15db7ae3eeeb042f0899cc1f2dac08feb24137d9dff83ca859f2cb4a7eb7ec4a", kill_on_drop: false }` [INFO] [stdout] 15db7ae3eeeb042f0899cc1f2dac08feb24137d9dff83ca859f2cb4a7eb7ec4a