[INFO] cloning repository https://github.com/AdvaithD/shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdvaithD/shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdvaithD%2Fshell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdvaithD%2Fshell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6955096fab1e6ab6d757f767d810161804a03966 [INFO] checking AdvaithD/shell/6955096fab1e6ab6d757f767d810161804a03966 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdvaithD%2Fshell" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AdvaithD/shell on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AdvaithD/shell [INFO] finished tweaking git repo https://github.com/AdvaithD/shell [INFO] tweaked toml for git repo https://github.com/AdvaithD/shell written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AdvaithD/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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48af2354eef0c0214e4009901bfe99fdc9ddfee8bc2fe1ac87bba825de37508d [INFO] running `Command { std: "docker" "start" "-a" "48af2354eef0c0214e4009901bfe99fdc9ddfee8bc2fe1ac87bba825de37508d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48af2354eef0c0214e4009901bfe99fdc9ddfee8bc2fe1ac87bba825de37508d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48af2354eef0c0214e4009901bfe99fdc9ddfee8bc2fe1ac87bba825de37508d", kill_on_drop: false }` [INFO] [stdout] 48af2354eef0c0214e4009901bfe99fdc9ddfee8bc2fe1ac87bba825de37508d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0556b02394104a5b301dae1bb7e99b6052b4c5b59c670f3288071a14837ac3e [INFO] running `Command { std: "docker" "start" "-a" "f0556b02394104a5b301dae1bb7e99b6052b4c5b59c670f3288071a14837ac3e", kill_on_drop: false }` [INFO] [stderr] Checking shell v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `input` [INFO] [stdout] --> src/main.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | stdin().read_line(&imut input).unwrap(); [INFO] [stdout] | ^^^^^ expected one of 8 possible tokens [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 | stdin().read_line(&mut input).unwrap(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: missing `,` [INFO] [stdout] | [INFO] [stdout] 10 | stdin().read_line(&imut, input).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `input` [INFO] [stdout] --> src/main.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | stdin().read_line(&imut input).unwrap(); [INFO] [stdout] | ^^^^^ expected one of 8 possible tokens [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `mut` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 | stdin().read_line(&mut input).unwrap(); [INFO] [stdout] | ~~~ [INFO] [stdout] help: missing `,` [INFO] [stdout] | [INFO] [stdout] 10 | stdin().read_line(&imut, input).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `imut` in this scope [INFO] [stdout] --> src/main.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | stdin().read_line(&imut input).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `trim` in this scope [INFO] [stdout] --> src/main.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let mut parts = input..trim().split_whitespace(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write `.` instead of `..` [INFO] [stdout] | [INFO] [stdout] 13 - let mut parts = input..trim().split_whitespace(); [INFO] [stdout] 13 + let mut parts = input.trim().split_whitespace(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `imut` in this scope [INFO] [stdout] --> src/main.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | stdin().read_line(&imut input).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `trim` in this scope [INFO] [stdout] --> src/main.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | let mut parts = input..trim().split_whitespace(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write `.` instead of `..` [INFO] [stdout] | [INFO] [stdout] 13 - let mut parts = input..trim().split_whitespace(); [INFO] [stdout] 13 + let mut parts = input.trim().split_whitespace(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | stdin().read_line(&imut input).unwrap(); [INFO] [stdout] | ^^^^^^^^^ ----- unexpected argument #2 of type `String` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/stdio.rs:397:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 10 - stdin().read_line(&imut input).unwrap(); [INFO] [stdout] 10 + stdin().read_line(&imut).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | stdin().read_line(&imut input).unwrap(); [INFO] [stdout] | ^^^^^^^^^ ----- unexpected argument #2 of type `String` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/io/stdio.rs:397:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 10 - stdin().read_line(&imut input).unwrap(); [INFO] [stdout] 10 + stdin().read_line(&imut).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `next` exists for struct `Range`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | let command = parts.next().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `String: Step` [INFO] [stdout] which is required by `std::ops::Range: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `next` exists for struct `Range`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | let command = parts.next().unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `String: Step` [INFO] [stdout] which is required by `std::ops::Range: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: Step` is not satisfied [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | .args(args) [INFO] [stdout] | ---- ^^^^ the trait `Step` is not implemented for `String`, which is required by `std::ops::Range: Iterator` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Step`: [INFO] [stdout] Char [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] char [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] and 8 others [INFO] [stdout] = note: required for `std::ops::Range` to implement `Iterator` [INFO] [stdout] note: required by a bound in `Command::args` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/process.rs:756:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `String: Step` is not satisfied [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | .args(args) [INFO] [stdout] | ---- ^^^^ the trait `Step` is not implemented for `String`, which is required by `std::ops::Range: Iterator` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Step`: [INFO] [stdout] Char [INFO] [stdout] Ipv4Addr [INFO] [stdout] Ipv6Addr [INFO] [stdout] char [INFO] [stdout] i128 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] and 8 others [INFO] [stdout] = note: required for `std::ops::Range` to implement `Iterator` [INFO] [stdout] note: required by a bound in `Command::args` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/process.rs:756:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shell` (bin "shell") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `shell` (bin "shell" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "f0556b02394104a5b301dae1bb7e99b6052b4c5b59c670f3288071a14837ac3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0556b02394104a5b301dae1bb7e99b6052b4c5b59c670f3288071a14837ac3e", kill_on_drop: false }` [INFO] [stdout] f0556b02394104a5b301dae1bb7e99b6052b4c5b59c670f3288071a14837ac3e