[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] testing jgall/rust_shell against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjgall%2Frust_shell" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jgall/rust_shell on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rust_shell` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f90cb0ffbf38d52ebe6fc63a138a018cfa13e086c9d0b6c97463428f3dcb5ac7
[INFO] running `Command { std: "docker" "start" "f90cb0ffbf38d52ebe6fc63a138a018cfa13e086c9d0b6c97463428f3dcb5ac7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f90cb0ffbf38d52ebe6fc63a138a018cfa13e086c9d0b6c97463428f3dcb5ac7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f90cb0ffbf38d52ebe6fc63a138a018cfa13e086c9d0b6c97463428f3dcb5ac7" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f90cb0ffbf38d52ebe6fc63a138a018cfa13e086c9d0b6c97463428f3dcb5ac7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f90cb0ffbf38d52ebe6fc63a138a018cfa13e086c9d0b6c97463428f3dcb5ac7" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rust_shell` (manifest) generated 1 warning
[INFO] [stderr]    Compiling simple-error v0.1.12
[INFO] [stderr]    Compiling 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]    = note: range patterns match against the start and end of a range; to bind the components, use a struct pattern
[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: if you meant to destructure a range use a struct pattern
[INFO] [stdout]    |
[INFO] [stdout] 37 -             ["cd", args..] => {
[INFO] [stdout] 37 +             ["cd", std::ops::RangeFrom { start: 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]    = note: range patterns match against the start and end of a range; to bind the components, use a struct pattern
[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: if you meant to destructure a range use a struct pattern
[INFO] [stdout]    |
[INFO] [stdout] 46 -             [command, args..] => Command::new(command).args(args).spawn()?.wait(),
[INFO] [stdout] 46 +             [command, std::ops::RangeFrom { start: 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[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/main.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(slice_patterns)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute
[INFO] [stdout]   |
[INFO] [stdout]   = help: the feature `slice_patterns` has been stable since `1.42.0` and no longer requires an attribute to enable
[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] 
[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] 
[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/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] 21 | fn run() -> Result<(), Box<dyn Error>> {
[INFO] [stdout]    |                            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0554, 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 7 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f90cb0ffbf38d52ebe6fc63a138a018cfa13e086c9d0b6c97463428f3dcb5ac7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f90cb0ffbf38d52ebe6fc63a138a018cfa13e086c9d0b6c97463428f3dcb5ac7", kill_on_drop: false }`
[INFO] [stdout] f90cb0ffbf38d52ebe6fc63a138a018cfa13e086c9d0b6c97463428f3dcb5ac7
