[INFO] cloning repository https://github.com/karlexark/shell_in_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/karlexark/shell_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarlexark%2Fshell_in_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarlexark%2Fshell_in_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e45576e783e6010b81ea97ac4aef45c10059a5af
[INFO] testing karlexark/shell_in_rust against beta-2026-04-21 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkarlexark%2Fshell_in_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/karlexark/shell_in_rust
[INFO] finished tweaking git repo https://github.com/karlexark/shell_in_rust
[INFO] tweaked toml for git repo https://github.com/karlexark/shell_in_rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/karlexark/shell_in_rust on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/karlexark/shell_in_rust 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 40836ba276a238528b00bb3aacb2ea0763f85313286300f140db7d0e07c9d6bf
[INFO] running `Command { std: "docker" "start" "-a" "40836ba276a238528b00bb3aacb2ea0763f85313286300f140db7d0e07c9d6bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "40836ba276a238528b00bb3aacb2ea0763f85313286300f140db7d0e07c9d6bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40836ba276a238528b00bb3aacb2ea0763f85313286300f140db7d0e07c9d6bf", kill_on_drop: false }`
[INFO] [stdout] 40836ba276a238528b00bb3aacb2ea0763f85313286300f140db7d0e07c9d6bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5e2149da02420ae572b2abc6972c447aee53d62bd6bc5b297be3f0cfd4b03d5
[INFO] running `Command { std: "docker" "start" "-a" "f5e2149da02420ae572b2abc6972c447aee53d62bd6bc5b297be3f0cfd4b03d5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling endian-type v0.1.2
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling unicode-width v0.2.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]    Compiling radix_trie v0.2.1
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling fd-lock v4.0.4
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling rustyline-derive v0.11.1
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling filedescriptor v0.8.3
[INFO] [stderr]    Compiling gag v1.0.0
[INFO] [stderr]    Compiling rustyline v16.0.0
[INFO] [stderr]    Compiling codecrafters-shell v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `cmd_cd`, `cmd_ext`, `cmd_history`, `cmd_ls`, and `cmd_pwd`
[INFO] [stdout]  --> src/tests_functions.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::builtins::{cmd_cd, cmd_echo, cmd_ext, cmd_history, cmd_ls, cmd_pwd, cmd_type};
[INFO] [stdout]   |                       ^^^^^^            ^^^^^^^  ^^^^^^^^^^^  ^^^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/main.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | mod tests_functions;
[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::path`
[INFO] [stdout]  --> src/tests_functions.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::path;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module
[INFO] [stdout]  --> src/main.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | mod tests_functions;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |       return;
[INFO] [stdout]    |       ------ any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 42 | /     let mut editor = match Editor::<HelpTab, DefaultHistory>::new() {
[INFO] [stdout] 43 | |         Ok(edit) => edit,
[INFO] [stdout] 44 | |         Err(e) => {
[INFO] [stdout] 45 | |             eprintln!("Erreur à l'initialisation de l'Editor : {}", e);
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | |     };
[INFO] [stdout]    | |______^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.58s
[INFO] running `Command { std: "docker" "inspect" "f5e2149da02420ae572b2abc6972c447aee53d62bd6bc5b297be3f0cfd4b03d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5e2149da02420ae572b2abc6972c447aee53d62bd6bc5b297be3f0cfd4b03d5", kill_on_drop: false }`
[INFO] [stdout] f5e2149da02420ae572b2abc6972c447aee53d62bd6bc5b297be3f0cfd4b03d5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7dd15afcd40d25ce2228b07a514f0a177eb2fba07939c7f836727a628a5a7cee
[INFO] running `Command { std: "docker" "start" "-a" "7dd15afcd40d25ce2228b07a514f0a177eb2fba07939c7f836727a628a5a7cee", kill_on_drop: false }`
[INFO] [stderr]    Compiling codecrafters-shell v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `cmd_cd`, `cmd_ext`, `cmd_history`, `cmd_ls`, and `cmd_pwd`
[INFO] [stdout]  --> src/tests_functions.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::builtins::{cmd_cd, cmd_echo, cmd_ext, cmd_history, cmd_ls, cmd_pwd, cmd_type};
[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::path`
[INFO] [stdout]  --> src/tests_functions.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::path;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:42:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |       return;
[INFO] [stdout]    |       ------ any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 42 | /     let mut editor = match Editor::<HelpTab, DefaultHistory>::new() {
[INFO] [stdout] 43 | |         Ok(edit) => edit,
[INFO] [stdout] 44 | |         Err(e) => {
[INFO] [stdout] 45 | |             eprintln!("Erreur à l'initialisation de l'Editor : {}", e);
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | |     };
[INFO] [stdout]    | |______^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] running `Command { std: "docker" "inspect" "7dd15afcd40d25ce2228b07a514f0a177eb2fba07939c7f836727a628a5a7cee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7dd15afcd40d25ce2228b07a514f0a177eb2fba07939c7f836727a628a5a7cee", kill_on_drop: false }`
[INFO] [stdout] 7dd15afcd40d25ce2228b07a514f0a177eb2fba07939c7f836727a628a5a7cee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 49dae7596760f8a91f1fd745c66aaae1f28824a2755bda6495b19f381e5a09e4
[INFO] running `Command { std: "docker" "start" "-a" "49dae7596760f8a91f1fd745c66aaae1f28824a2755bda6495b19f381e5a09e4", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `cmd_cd`, `cmd_ext`, `cmd_history`, `cmd_ls`, and `cmd_pwd`
[INFO] [stdout] 
[INFO] [stderr]  --> src/tests_functions.rs:2:23
[INFO] [stdout] running 0 tests
[INFO] [stderr]   |
[INFO] [stdout] 
[INFO] [stderr] 2 | use crate::builtins::{cmd_cd, cmd_echo, cmd_ext, cmd_history, cmd_ls, cmd_pwd, cmd_type};
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]   |                       ^^^^^^            ^^^^^^^  ^^^^^^^^^^^  ^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path`
[INFO] [stderr]  --> src/tests_functions.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::path;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable statement
[INFO] [stderr]   --> src/main.rs:42:5
[INFO] [stderr]    |
[INFO] [stderr] 38 |       return;
[INFO] [stderr]    |       ------ any code following this expression is unreachable
[INFO] [stderr] ...
[INFO] [stderr] 42 | /     let mut editor = match Editor::<HelpTab, DefaultHistory>::new() {
[INFO] [stderr] 43 | |         Ok(edit) => edit,
[INFO] [stderr] 44 | |         Err(e) => {
[INFO] [stderr] 45 | |             eprintln!("Erreur à l'initialisation de l'Editor : {}", e);
[INFO] [stderr] ...  |
[INFO] [stderr] 48 | |     };
[INFO] [stderr]    | |______^ unreachable statement
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `codecrafters-shell` (bin "codecrafters-shell" test) generated 3 warnings (run `cargo fix --bin "codecrafters-shell" -p codecrafters-shell --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/codecrafters_shell-a3b3df7d20f1a214)
[INFO] running `Command { std: "docker" "inspect" "49dae7596760f8a91f1fd745c66aaae1f28824a2755bda6495b19f381e5a09e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49dae7596760f8a91f1fd745c66aaae1f28824a2755bda6495b19f381e5a09e4", kill_on_drop: false }`
[INFO] [stdout] 49dae7596760f8a91f1fd745c66aaae1f28824a2755bda6495b19f381e5a09e4
