[INFO] cloning repository https://github.com/benschau/rsh
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benschau/rsh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenschau%2Frsh", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenschau%2Frsh'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] feb64da09403747bbd897685930b5cdc33b4404b
[INFO] checking benschau/rsh against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenschau%2Frsh" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/benschau/rsh
[INFO] finished tweaking git repo https://github.com/benschau/rsh
[INFO] tweaked toml for git repo https://github.com/benschau/rsh written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/benschau/rsh on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/benschau/rsh 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" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bitflags v0.4.0
[INFO] [stderr]   Downloaded encode_unicode v0.1.3
[INFO] [stderr]   Downloaded termion v1.5.3
[INFO] [stderr]   Downloaded nix v0.5.1
[INFO] [stderr]   Downloaded rustyline v1.0.0
[INFO] [stderr]   Downloaded cfg-if v0.1.3
[INFO] [stderr]   Downloaded cc v1.0.17
[INFO] [stderr]   Downloaded nix v0.11.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] faea14f8ef22fda8154fbb07e0ae8e39f6e41540d6553067aab261e775a69bb0
[INFO] running `Command { std: "docker" "start" "-a" "faea14f8ef22fda8154fbb07e0ae8e39f6e41540d6553067aab261e775a69bb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "faea14f8ef22fda8154fbb07e0ae8e39f6e41540d6553067aab261e775a69bb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "faea14f8ef22fda8154fbb07e0ae8e39f6e41540d6553067aab261e775a69bb0", kill_on_drop: false }`
[INFO] [stdout] faea14f8ef22fda8154fbb07e0ae8e39f6e41540d6553067aab261e775a69bb0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] acaf824d89f9f1d3b0256dbed226f5a93f7c71d4620fe9516d8d2205fcdfb416
[INFO] running `Command { std: "docker" "start" "-a" "acaf824d89f9f1d3b0256dbed226f5a93f7c71d4620fe9516d8d2205fcdfb416", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking libc v0.2.42
[INFO] [stderr]    Compiling nix v0.11.0
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]     Checking cfg-if v0.1.3
[INFO] [stderr]     Checking bitflags v1.0.3
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking numtoa v0.1.0
[INFO] [stderr]     Checking encode_unicode v0.1.3
[INFO] [stderr]     Checking unicode-width v0.1.5
[INFO] [stderr]     Checking nix v0.5.1
[INFO] [stderr]     Checking termion v1.5.3
[INFO] [stderr]     Checking rustyline v1.0.0
[INFO] [stderr]     Checking rsh v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromRawFd` and `IntoRawFd`
[INFO] [stdout]   --> src/lib.rs:11:25
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::os::unix::io::{FromRawFd, IntoRawFd};
[INFO] [stdout]    |                         ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stdio`
[INFO] [stdout]   --> src/lib.rs:13:29
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::process::{Command, Stdio};
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromRawFd` and `IntoRawFd`
[INFO] [stdout]   --> src/lib.rs:11:25
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::os::unix::io::{FromRawFd, IntoRawFd};
[INFO] [stdout]    |                         ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stdio`
[INFO] [stdout]   --> src/lib.rs:13:29
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::process::{Command, Stdio};
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nix::unistd::pipe`
[INFO] [stdout]   --> src/lib.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use nix::unistd::pipe;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `nix::unistd::pipe`
[INFO] [stdout]   --> src/lib.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use nix::unistd::pipe;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustyline::error::ReadlineError`
[INFO] [stdout]   --> src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use rustyline::error::ReadlineError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustyline::error::ReadlineError`
[INFO] [stdout]   --> src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use rustyline::error::ReadlineError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/builtin.rs:51:37
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn hash(string: &str) -> Result<(u32), Box<Error>> {
[INFO] [stdout]    |                                     ^   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 - pub fn hash(string: &str) -> Result<(u32), Box<Error>> {
[INFO] [stdout] 51 + pub fn hash(string: &str) -> Result<u32 , Box<Error>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/builtin.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 |     Ok((0))
[INFO] [stdout]    |        ^ ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 52 -     Ok((0))
[INFO] [stdout] 52 +     Ok(0 )
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/builtin.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn pwd() -> Result<(PathBuf), Box<Error>> {
[INFO] [stdout]    |                        ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 58 - pub fn pwd() -> Result<(PathBuf), Box<Error>> {
[INFO] [stdout] 58 + pub fn pwd() -> Result<PathBuf , Box<Error>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/builtin.rs:51:37
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn hash(string: &str) -> Result<(u32), Box<Error>> {
[INFO] [stdout]    |                                     ^   ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 51 - pub fn hash(string: &str) -> Result<(u32), Box<Error>> {
[INFO] [stdout] 51 + pub fn hash(string: &str) -> Result<u32 , Box<Error>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/builtin.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 |     Ok((0))
[INFO] [stdout]    |        ^ ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 52 -     Ok((0))
[INFO] [stdout] 52 +     Ok(0 )
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/builtin.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn pwd() -> Result<(PathBuf), Box<Error>> {
[INFO] [stdout]    |                        ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 58 - pub fn pwd() -> Result<(PathBuf), Box<Error>> {
[INFO] [stdout] 58 + pub fn pwd() -> Result<PathBuf , Box<Error>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/builtin.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 |     Ok((env::current_dir().unwrap()))
[INFO] [stdout]    |        ^                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 59 -     Ok((env::current_dir().unwrap()))
[INFO] [stdout] 59 +     Ok(env::current_dir().unwrap() )
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]   --> src/builtin.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 |     Ok((env::current_dir().unwrap()))
[INFO] [stdout]    |        ^                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 59 -     Ok((env::current_dir().unwrap()))
[INFO] [stdout] 59 +     Ok(env::current_dir().unwrap() )
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/lib.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/builtin.rs:37:49
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn export(env: &[String]) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn export(env: &[String]) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/builtin.rs:37:49
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn export(env: &[String]) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                                 ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn export(env: &[String]) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/builtin.rs:44:34
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn unset() -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn unset() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/builtin.rs:44:34
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn unset() -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                  ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn unset() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/builtin.rs:51:48
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn hash(string: &str) -> Result<(u32), Box<Error>> {
[INFO] [stdout]    |                                                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn hash(string: &str) -> Result<(u32), Box<dyn Error>> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/builtin.rs:58:39
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn pwd() -> Result<(PathBuf), Box<Error>> {
[INFO] [stdout]    |                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn pwd() -> Result<(PathBuf), Box<dyn Error>> {
[INFO] [stdout]    |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/builtin.rs:51:48
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn hash(string: &str) -> Result<(u32), Box<Error>> {
[INFO] [stdout]    |                                                ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn hash(string: &str) -> Result<(u32), Box<dyn Error>> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:55:46
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn run(config: Config) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn run(config: Config) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/builtin.rs:58:39
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn pwd() -> Result<(PathBuf), Box<Error>> {
[INFO] [stdout]    |                                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn pwd() -> Result<(PathBuf), Box<dyn Error>> {
[INFO] [stdout]    |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:55:46
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn run(config: Config) -> Result<(), Box<Error>> {
[INFO] [stdout]    |                                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn run(config: Config) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]   --> src/builtin.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn export(env: &[String]) -> Result<(), Box<Error>> {
[INFO] [stdout]    |               ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> src/builtin.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn hash(string: &str) -> Result<(u32), Box<Error>> {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `env`
[INFO] [stdout]   --> src/builtin.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn export(env: &[String]) -> Result<(), Box<Error>> {
[INFO] [stdout]    |               ^^^ help: if this is intentional, prefix it with an underscore: `_env`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]   --> src/builtin.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn hash(string: &str) -> Result<(u32), Box<Error>> {
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let mut running: bool = true;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stdin`
[INFO] [stdout]   --> src/lib.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let stdin = io::stdin();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `pwd` is assigned to, but never used
[INFO] [stdout]   --> src/lib.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let mut pwd: PathBuf;
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_pwd` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let mut running: bool = true;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib.rs:113:25
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     Err(e) => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `pwd` is never read
[INFO] [stdout]   --> src/lib.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         pwd = builtin::pwd()?;
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:177:10
[INFO] [stdout]     |
[INFO] [stdout] 177 |     for (i, token) in tokens.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `stdin_fd`, `stdout_fd`, and `stderr_fd` are never read
[INFO] [stdout]    --> src/lib.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | struct Process {
[INFO] [stdout]     |        ------- fields in this struct
[INFO] [stdout] 127 |     stdin_fd: c_int,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 128 |     stdout_fd: c_int,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 129 |     stderr_fd: c_int,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stdin`
[INFO] [stdout]   --> src/lib.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let stdin = io::stdin();
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `HELP` is never used
[INFO] [stdout]  --> src/builtin.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | static HELP: &'static str = "
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `help` is never used
[INFO] [stdout]   --> src/builtin.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn help() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cd` is never used
[INFO] [stdout]   --> src/builtin.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn cd(path: PathBuf) {
[INFO] [stdout]    |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `export` is never used
[INFO] [stdout]   --> src/builtin.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn export(env: &[String]) -> Result<(), Box<Error>> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `pwd` is assigned to, but never used
[INFO] [stdout]   --> src/lib.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |     let mut pwd: PathBuf;
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_pwd` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unset` is never used
[INFO] [stdout]   --> src/builtin.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn unset() -> Result<(), Box<Error>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash` is never used
[INFO] [stdout]   --> src/builtin.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn hash(string: &str) -> Result<(u32), Box<Error>> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/lib.rs:113:25
[INFO] [stdout]     |
[INFO] [stdout] 113 |                     Err(e) => {
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `pwd` is never read
[INFO] [stdout]   --> src/lib.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         pwd = builtin::pwd()?;
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:177:10
[INFO] [stdout]     |
[INFO] [stdout] 177 |     for (i, token) in tokens.iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filetype`
[INFO] [stdout]    --> src/lib.rs:213:13
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let filetype = "startup";
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filetype`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `filename`
[INFO] [stdout]    --> src/lib.rs:214:13
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let filename = "./rshrc";
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `stdin_fd`, `stdout_fd`, and `stderr_fd` are never read
[INFO] [stdout]    --> src/lib.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | struct Process {
[INFO] [stdout]     |        ------- fields in this struct
[INFO] [stdout] 127 |     stdin_fd: c_int,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 128 |     stdout_fd: c_int,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 129 |     stderr_fd: c_int,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `HELP` is never used
[INFO] [stdout]  --> src/builtin.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | static HELP: &'static str = "
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `help` is never used
[INFO] [stdout]   --> src/builtin.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn help() {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cd` is never used
[INFO] [stdout]   --> src/builtin.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn cd(path: PathBuf) {
[INFO] [stdout]    |        ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `export` is never used
[INFO] [stdout]   --> src/builtin.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn export(env: &[String]) -> Result<(), Box<Error>> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `unset` is never used
[INFO] [stdout]   --> src/builtin.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn unset() -> Result<(), Box<Error>> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash` is never used
[INFO] [stdout]   --> src/builtin.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub fn hash(string: &str) -> Result<(u32), Box<Error>> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.06s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0
[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" "acaf824d89f9f1d3b0256dbed226f5a93f7c71d4620fe9516d8d2205fcdfb416", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acaf824d89f9f1d3b0256dbed226f5a93f7c71d4620fe9516d8d2205fcdfb416", kill_on_drop: false }`
[INFO] [stdout] acaf824d89f9f1d3b0256dbed226f5a93f7c71d4620fe9516d8d2205fcdfb416
