[INFO] cloning repository https://github.com/3541/shell
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/3541/shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3541%2Fshell", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3541%2Fshell'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 173aa3509cd1cccc8422ffee622efb2fb0661406
[INFO] checking 3541/shell against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3541%2Fshell" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/3541/shell
[INFO] finished tweaking git repo https://github.com/3541/shell
[INFO] tweaked toml for git repo https://github.com/3541/shell written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/3541/shell 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/3541/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" "+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 nix v0.7.0
[INFO] [stderr]   Downloaded bitflags v0.4.0
[INFO] [stderr]   Downloaded libc v0.2.18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3798420490d61ee10c42a4949a36c960bf0912c36e31bb94a27d7cee9d5d2843
[INFO] running `Command { std: "docker" "start" "-a" "3798420490d61ee10c42a4949a36c960bf0912c36e31bb94a27d7cee9d5d2843", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3798420490d61ee10c42a4949a36c960bf0912c36e31bb94a27d7cee9d5d2843", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3798420490d61ee10c42a4949a36c960bf0912c36e31bb94a27d7cee9d5d2843", kill_on_drop: false }`
[INFO] [stdout] 3798420490d61ee10c42a4949a36c960bf0912c36e31bb94a27d7cee9d5d2843
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0402f7409187ccdb3d4127115c1d9523c941f2a2570800fe1121c55d4e1252ad
[INFO] running `Command { std: "docker" "start" "-a" "0402f7409187ccdb3d4127115c1d9523c941f2a2570800fe1121c55d4e1252ad", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling semver v0.1.20
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]     Checking cfg-if v0.1.0
[INFO] [stderr]     Checking libc v0.2.18
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]    Compiling nix v0.7.0
[INFO] [stderr]     Checking shell v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `c_line` is never read
[INFO] [stdout]   --> src/main.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut c_line = String::new();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 36 |         c_line = match read_line() {
[INFO] [stdout]    |         ------ `c_line` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `c_line` is never read
[INFO] [stdout]   --> src/main.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut c_line = String::new();
[INFO] [stdout]    |                      ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 36 |         c_line = match read_line() {
[INFO] [stdout]    |         ------ `c_line` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]    --> src/main.rs:190:33
[INFO] [stdout]     |
[INFO] [stdout] 190 |     for bn in builtin::BUILTINS.into_iter() {
[INFO] [stdout]     |                                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout]     = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]     |
[INFO] [stdout] 190 -     for bn in builtin::BUILTINS.into_iter() {
[INFO] [stdout] 190 +     for bn in builtin::BUILTINS.iter() {
[INFO] [stdout]     |
[INFO] [stdout] help: or remove `.into_iter()` to iterate by value
[INFO] [stdout]     |
[INFO] [stdout] 190 -     for bn in builtin::BUILTINS.into_iter() {
[INFO] [stdout] 190 +     for bn in builtin::BUILTINS {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]    --> src/main.rs:190:33
[INFO] [stdout]     |
[INFO] [stdout] 190 |     for bn in builtin::BUILTINS.into_iter() {
[INFO] [stdout]     |                                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout]     = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]     |
[INFO] [stdout] 190 -     for bn in builtin::BUILTINS.into_iter() {
[INFO] [stdout] 190 +     for bn in builtin::BUILTINS.iter() {
[INFO] [stdout]     |
[INFO] [stdout] help: or remove `.into_iter()` to iterate by value
[INFO] [stdout]     |
[INFO] [stdout] 190 -     for bn in builtin::BUILTINS.into_iter() {
[INFO] [stdout] 190 +     for bn in builtin::BUILTINS {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]   --> src/builtin.rs:53:28
[INFO] [stdout]    |
[INFO] [stdout] 53 |         for bn in BUILTINS.into_iter() {
[INFO] [stdout]    |                            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]    |
[INFO] [stdout] 53 -         for bn in BUILTINS.into_iter() {
[INFO] [stdout] 53 +         for bn in BUILTINS.iter() {
[INFO] [stdout]    |
[INFO] [stdout] help: or remove `.into_iter()` to iterate by value
[INFO] [stdout]    |
[INFO] [stdout] 53 -         for bn in BUILTINS.into_iter() {
[INFO] [stdout] 53 +         for bn in BUILTINS {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]   --> src/builtin.rs:53:28
[INFO] [stdout]    |
[INFO] [stdout] 53 |         for bn in BUILTINS.into_iter() {
[INFO] [stdout]    |                            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]    |
[INFO] [stdout] 53 -         for bn in BUILTINS.into_iter() {
[INFO] [stdout] 53 +         for bn in BUILTINS.iter() {
[INFO] [stdout]    |
[INFO] [stdout] help: or remove `.into_iter()` to iterate by value
[INFO] [stdout]    |
[INFO] [stdout] 53 -         for bn in BUILTINS.into_iter() {
[INFO] [stdout] 53 +         for bn in BUILTINS {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]   --> src/builtin.rs:57:28
[INFO] [stdout]    |
[INFO] [stdout] 57 |         for bn in BUILTINS.into_iter() {
[INFO] [stdout]    |                            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]    |
[INFO] [stdout] 57 -         for bn in BUILTINS.into_iter() {
[INFO] [stdout] 57 +         for bn in BUILTINS.iter() {
[INFO] [stdout]    |
[INFO] [stdout] help: or remove `.into_iter()` to iterate by value
[INFO] [stdout]    |
[INFO] [stdout] 57 -         for bn in BUILTINS.into_iter() {
[INFO] [stdout] 57 +         for bn in BUILTINS {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]   --> src/builtin.rs:57:28
[INFO] [stdout]    |
[INFO] [stdout] 57 |         for bn in BUILTINS.into_iter() {
[INFO] [stdout]    |                            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]    |
[INFO] [stdout] 57 -         for bn in BUILTINS.into_iter() {
[INFO] [stdout] 57 +         for bn in BUILTINS.iter() {
[INFO] [stdout]    |
[INFO] [stdout] help: or remove `.into_iter()` to iterate by value
[INFO] [stdout]    |
[INFO] [stdout] 57 -         for bn in BUILTINS.into_iter() {
[INFO] [stdout] 57 +         for bn in BUILTINS {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.89s
[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" "0402f7409187ccdb3d4127115c1d9523c941f2a2570800fe1121c55d4e1252ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0402f7409187ccdb3d4127115c1d9523c941f2a2570800fe1121c55d4e1252ad", kill_on_drop: false }`
[INFO] [stdout] 0402f7409187ccdb3d4127115c1d9523c941f2a2570800fe1121c55d4e1252ad
