[INFO] cloning repository https://github.com/jgall/rust_shell
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jgall/rust_shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgall%2Frust_shell", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgall%2Frust_shell'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 78a21116d5a39faef58eb67029a8620af52d149e
[INFO] checking jgall/rust_shell against master#8a65ee08296b36342bf7c3cdc15312ccbc357227 for pr-142704
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgall%2Frust_shell" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jgall/rust_shell on toolchain 8a65ee08296b36342bf7c3cdc15312ccbc357227
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jgall/rust_shell
[INFO] finished tweaking git repo https://github.com/jgall/rust_shell
[INFO] tweaked toml for git repo https://github.com/jgall/rust_shell written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/jgall/rust_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" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded simple-error v0.1.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 40311d1e511047b60158f3389a0b7b9f3d3347f58af86a54fd2cb4656735a081
[INFO] running `Command { std: "docker" "start" "-a" "40311d1e511047b60158f3389a0b7b9f3d3347f58af86a54fd2cb4656735a081", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "40311d1e511047b60158f3389a0b7b9f3d3347f58af86a54fd2cb4656735a081", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40311d1e511047b60158f3389a0b7b9f3d3347f58af86a54fd2cb4656735a081", kill_on_drop: false }`
[INFO] [stdout] 40311d1e511047b60158f3389a0b7b9f3d3347f58af86a54fd2cb4656735a081
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a65ee08296b36342bf7c3cdc15312ccbc357227" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c1e0d537eaecf871f8f099f799afa547f693509e21145de4d3e1164a9fc2995b
[INFO] running `Command { std: "docker" "start" "-a" "c1e0d537eaecf871f8f099f799afa547f693509e21145de4d3e1164a9fc2995b", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking simple-error v0.1.12
[INFO] [stderr]     Checking rust_shell v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/main.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |             ["cd", args..] => {
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to collect the rest of the slice in `args`, use the at operator
[INFO] [stdout]    |
[INFO] [stdout] 37 |             ["cd", args @ ..] => {
[INFO] [stdout]    |                         +
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/main.rs:38:31
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 let new_dir = args.into_iter().peekable().peek().map_or("/", |x| *x);
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/main.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |             [command, args..] => Command::new(command).args(args).spawn()?.wait(),
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to collect the rest of the slice in `args`, use the at operator
[INFO] [stdout]    |
[INFO] [stdout] 46 |             [command, args @ ..] => Command::new(command).args(args).spawn()?.wait(),
[INFO] [stdout]    |                            +
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/main.rs:46:61
[INFO] [stdout]    |
[INFO] [stdout] 46 |             [command, args..] => Command::new(command).args(args).spawn()?.wait(),
[INFO] [stdout]    |                                                             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental
[INFO] [stdout]   --> src/main.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |             ["cd", args..] => {
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information
[INFO] [stdout]    = help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental
[INFO] [stdout]   --> src/main.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |             [command, args..] => Command::new(command).args(args).spawn()?.wait(),
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information
[INFO] [stdout]    = help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(slice_patterns)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn run() -> 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn run() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_shell` (bin "rust_shell" test) due to 6 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/main.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |             ["cd", args..] => {
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to collect the rest of the slice in `args`, use the at operator
[INFO] [stdout]    |
[INFO] [stdout] 37 |             ["cd", args @ ..] => {
[INFO] [stdout]    |                         +
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/main.rs:38:31
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 let new_dir = args.into_iter().peekable().peek().map_or("/", |x| *x);
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/main.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |             [command, args..] => Command::new(command).args(args).spawn()?.wait(),
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to collect the rest of the slice in `args`, use the at operator
[INFO] [stdout]    |
[INFO] [stdout] 46 |             [command, args @ ..] => Command::new(command).args(args).spawn()?.wait(),
[INFO] [stdout]    |                            +
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/main.rs:46:61
[INFO] [stdout]    |
[INFO] [stdout] 46 |             [command, args..] => Command::new(command).args(args).spawn()?.wait(),
[INFO] [stdout]    |                                                             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental
[INFO] [stdout]   --> src/main.rs:37:20
[INFO] [stdout]    |
[INFO] [stdout] 37 |             ["cd", args..] => {
[INFO] [stdout]    |                    ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information
[INFO] [stdout]    = help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: `X..` patterns in slices are experimental
[INFO] [stdout]   --> src/main.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 46 |             [command, args..] => Command::new(command).args(args).spawn()?.wait(),
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #67264 <https://github.com/rust-lang/rust/issues/67264> for more information
[INFO] [stdout]    = help: add `#![feature(half_open_range_patterns_in_slices)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-06-19; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(slice_patterns)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn run() -> 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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn run() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_shell` (bin "rust_shell") due to 6 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c1e0d537eaecf871f8f099f799afa547f693509e21145de4d3e1164a9fc2995b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1e0d537eaecf871f8f099f799afa547f693509e21145de4d3e1164a9fc2995b", kill_on_drop: false }`
[INFO] [stdout] c1e0d537eaecf871f8f099f799afa547f693509e21145de4d3e1164a9fc2995b
