[INFO] cloning repository https://github.com/AIABHISHEK/rusty-shell
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AIABHISHEK/rusty-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAIABHISHEK%2Frusty-shell", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAIABHISHEK%2Frusty-shell'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 78414b360b1accbd7caf10d79b3f7bd370835eff
[INFO] checking AIABHISHEK/rusty-shell against try#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAIABHISHEK%2Frusty-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/AIABHISHEK/rusty-shell
[INFO] finished tweaking git repo https://github.com/AIABHISHEK/rusty-shell
[INFO] tweaked toml for git repo https://github.com/AIABHISHEK/rusty-shell written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AIABHISHEK/rusty-shell on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AIABHISHEK/rusty-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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0bc692862b640df51082e8e23871d1d7230bd8912d0b3295ee6d52a3e941dcd3
[INFO] running `Command { std: "docker" "start" "-a" "0bc692862b640df51082e8e23871d1d7230bd8912d0b3295ee6d52a3e941dcd3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0bc692862b640df51082e8e23871d1d7230bd8912d0b3295ee6d52a3e941dcd3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0bc692862b640df51082e8e23871d1d7230bd8912d0b3295ee6d52a3e941dcd3", kill_on_drop: false }`
[INFO] [stdout] 0bc692862b640df51082e8e23871d1d7230bd8912d0b3295ee6d52a3e941dcd3
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 136f65ec7b0debbd092406378f049959c09cfded4aaac40c065c9ed148041771
[INFO] running `Command { std: "docker" "start" "-a" "136f65ec7b0debbd092406378f049959c09cfded4aaac40c065c9ed148041771", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling libc v0.2.173
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking endian-type v0.1.2
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking unicode-width v0.2.1
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking home v0.5.11
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking nibble_vec v0.1.0
[INFO] [stderr]     Checking radix_trie v0.2.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.103
[INFO] [stderr]     Checking fd-lock v4.0.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking rustyline v15.0.0
[INFO] [stderr]     Checking codecrafters-shell v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/shell.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rustyline::history::{self, History, MemHistory, SearchDirection};
[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: `self`
[INFO] [stdout]  --> src/shell.rs:5:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rustyline::history::{self, History, MemHistory, SearchDirection};
[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: `history::DefaultHistory`
[INFO] [stdout]  --> src/shell.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rustyline::{history::DefaultHistory, CompletionType, Config, Editor};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `stdin` and `stdout`
[INFO] [stdout]   --> src/shell.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::{stdin, stdout, BufRead, BufReader, Write};
[INFO] [stdout]    |               ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/builtins.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rustyline::history::{self, History, MemHistory, SearchDirection};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `history::DefaultHistory`
[INFO] [stdout]  --> src/shell.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rustyline::{history::DefaultHistory, CompletionType, Config, Editor};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env::args`
[INFO] [stdout]  --> src/builtins.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::env::args;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::stdout`
[INFO] [stdout]  --> src/builtins.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::io::stdout;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `stdin` and `stdout`
[INFO] [stdout]   --> src/shell.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::{stdin, stdout, BufRead, BufReader, Write};
[INFO] [stdout]    |               ^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Output`
[INFO] [stdout]   --> src/builtins.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::process::Output;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/builtins.rs:2:26
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rustyline::history::{self, History, MemHistory, SearchDirection};
[INFO] [stdout]   |                          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::spawn`
[INFO] [stdout]   --> src/builtins.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::thread::spawn;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env::args`
[INFO] [stdout]  --> src/builtins.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::env::args;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/builtins.rs:263:13
[INFO] [stdout]     |
[INFO] [stdout] 263 |             (som) => {
[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] 263 -             (som) => {
[INFO] [stdout] 263 +             som  => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::stdout`
[INFO] [stdout]  --> src/builtins.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::io::stdout;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Output`
[INFO] [stdout]   --> src/builtins.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::process::Output;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::spawn`
[INFO] [stdout]   --> src/builtins.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::thread::spawn;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/builtins.rs:263:13
[INFO] [stdout]     |
[INFO] [stdout] 263 |             (som) => {
[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] 263 -             (som) => {
[INFO] [stdout] 263 +             som  => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustyline::history::History`
[INFO] [stdout]  --> src/completer.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rustyline::history::History;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustyline::history::History`
[INFO] [stdout]  --> src/completer.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rustyline::history::History;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/shell.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let mut mh = MemHistory::new();
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/shell.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let mut input = String::new();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/shell.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let mut mh = MemHistory::new();
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/shell.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let mut input = String::new();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/shell.rs:59:21
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 Err(e) => {}
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/shell.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |         Err(e) => {}
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/shell.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let mut input = String::new();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/shell.rs:103:25
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     Err(e) => {}
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/shell.rs:130:37
[INFO] [stdout]     |
[INFO] [stdout] 130 | ...                   Err(e) => {}
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/shell.rs:59:21
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 Err(e) => {}
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/shell.rs:289:17
[INFO] [stdout]     |
[INFO] [stdout] 289 |             Err(e) => {}
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/shell.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |         Err(e) => {}
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/shell.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let mut input = String::new();
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/shell.rs:103:25
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     Err(e) => {}
[INFO] [stdout]     |                         ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/shell.rs:130:37
[INFO] [stdout]     |
[INFO] [stdout] 130 | ...                   Err(e) => {}
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/shell.rs:289:17
[INFO] [stdout]     |
[INFO] [stdout] 289 |             Err(e) => {}
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_`
[INFO] [stdout]   --> src/builtins.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn pwd_cmd(output_: &mut Vec<String>) {
[INFO] [stdout]    |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_`
[INFO] [stdout]   --> src/builtins.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn pwd_cmd(output_: &mut Vec<String>) {
[INFO] [stdout]    |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_`
[INFO] [stdout]   --> src/builtins.rs:37:35
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn cd_cmd(args: &Vec<String>, output_: &mut Vec<String>) {
[INFO] [stdout]    |                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/builtins.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |             Err(result) => println!("cd: {}: No such file or directory", dir.trim()),
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/builtins.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 42 |             Ok(r) => {}
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_`
[INFO] [stdout]   --> src/builtins.rs:37:35
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn cd_cmd(args: &Vec<String>, output_: &mut Vec<String>) {
[INFO] [stdout]    |                                   ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/builtins.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |             Err(result) => println!("cd: {}: No such file or directory", dir.trim()),
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/builtins.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 42 |             Ok(r) => {}
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/builtins.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |             let mut cmd_args: &Vec<String> = args;
[INFO] [stdout]    |                 ----^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/builtins.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |             let mut sliced_args: Vec<String> = Vec::new();
[INFO] [stdout]    |                 ----^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `redirect`
[INFO] [stdout]   --> src/builtins.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     redirect: &mut RedirectType,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_redirect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sliced_args`
[INFO] [stdout]   --> src/builtins.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |             let mut sliced_args: Vec<String> = Vec::new();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sliced_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/builtins.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 |             let mut cmd_args: &Vec<String> = args;
[INFO] [stdout]    |                 ----^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/builtins.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |             let mut sliced_args: Vec<String> = Vec::new();
[INFO] [stdout]    |                 ----^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `redirect`
[INFO] [stdout]   --> src/builtins.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     redirect: &mut RedirectType,
[INFO] [stdout]    |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_redirect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sliced_args`
[INFO] [stdout]   --> src/builtins.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |             let mut sliced_args: Vec<String> = Vec::new();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sliced_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err_`
[INFO] [stdout]    --> src/builtins.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 |     err_: &mut String,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_err_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `redirect`
[INFO] [stdout]    --> src/builtins.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |     redirect: &mut RedirectType,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_redirect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `som`
[INFO] [stdout]    --> src/builtins.rs:263:14
[INFO] [stdout]     |
[INFO] [stdout] 263 |             (som) => {
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_som`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/builtins.rs:271:29
[INFO] [stdout]     |
[INFO] [stdout] 271 |                 if let Some(ref output) = prev_builtin_output {
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err_`
[INFO] [stdout]    --> src/builtins.rs:187:5
[INFO] [stdout]     |
[INFO] [stdout] 187 |     err_: &mut String,
[INFO] [stdout]     |     ^^^^ help: if this is intentional, prefix it with an underscore: `_err_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `redirect`
[INFO] [stdout]    --> src/builtins.rs:188:5
[INFO] [stdout]     |
[INFO] [stdout] 188 |     redirect: &mut RedirectType,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_redirect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `som`
[INFO] [stdout]    --> src/builtins.rs:263:14
[INFO] [stdout]     |
[INFO] [stdout] 263 |             (som) => {
[INFO] [stdout]     |              ^^^ help: if this is intentional, prefix it with an underscore: `_som`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]    --> src/builtins.rs:271:29
[INFO] [stdout]     |
[INFO] [stdout] 271 |                 if let Some(ref output) = prev_builtin_output {
[INFO] [stdout]     |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/builtins.rs:339:21
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 Err(e) => {}
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/builtins.rs:339:21
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 Err(e) => {}
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/builtins.rs:335:29
[INFO] [stdout]     |
[INFO] [stdout] 335 | ...                   history.add(l.clone().as_str());
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 335 |                             let _ = history.add(l.clone().as_str());
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/builtins.rs:335:29
[INFO] [stdout]     |
[INFO] [stdout] 335 | ...                   history.add(l.clone().as_str());
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 335 |                             let _ = history.add(l.clone().as_str());
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.65s
[INFO] running `Command { std: "docker" "inspect" "136f65ec7b0debbd092406378f049959c09cfded4aaac40c065c9ed148041771", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "136f65ec7b0debbd092406378f049959c09cfded4aaac40c065c9ed148041771", kill_on_drop: false }`
[INFO] [stdout] 136f65ec7b0debbd092406378f049959c09cfded4aaac40c065c9ed148041771
