[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 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdvaithD%2Fshell" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AdvaithD/shell on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-6-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc1e1fbe238263b89564a2f2b3688a0c7a2cf0246dcbc9f6e1799f04f191f57a [INFO] running `Command { std: "docker" "start" "-a" "cc1e1fbe238263b89564a2f2b3688a0c7a2cf0246dcbc9f6e1799f04f191f57a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc1e1fbe238263b89564a2f2b3688a0c7a2cf0246dcbc9f6e1799f04f191f57a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc1e1fbe238263b89564a2f2b3688a0c7a2cf0246dcbc9f6e1799f04f191f57a", kill_on_drop: false }` [INFO] [stdout] cc1e1fbe238263b89564a2f2b3688a0c7a2cf0246dcbc9f6e1799f04f191f57a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9e2ac62f3bcce258b267318b63682a9ed0ca68ffdd2f2b4aab3c7dc4280dd7f [INFO] running `Command { std: "docker" "start" "-a" "d9e2ac62f3bcce258b267318b63682a9ed0ca68ffdd2f2b4aab3c7dc4280dd7f", 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: missing `,` [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: missing `,` [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] | ^^^^^^^^^ ------ [INFO] [stdout] | || [INFO] [stdout] | |unexpected argument of type `String` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/io/stdio.rs:398:12 [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] | ^^^^^^^^^ ------ [INFO] [stdout] | || [INFO] [stdout] | |unexpected argument of type `String` [INFO] [stdout] | help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/io/stdio.rs:398:12 [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/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/process.rs:746: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/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/process.rs:746: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" "d9e2ac62f3bcce258b267318b63682a9ed0ca68ffdd2f2b4aab3c7dc4280dd7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9e2ac62f3bcce258b267318b63682a9ed0ca68ffdd2f2b4aab3c7dc4280dd7f", kill_on_drop: false }` [INFO] [stdout] d9e2ac62f3bcce258b267318b63682a9ed0ca68ffdd2f2b4aab3c7dc4280dd7f [INFO] checking AdvaithD/shell against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdvaithD%2Fshell" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AdvaithD/shell on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-6-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1b905cfcc9f996470aebaa578bda6362d65612aa97a6e807b2ed29622763380 [INFO] running `Command { std: "docker" "start" "-a" "e1b905cfcc9f996470aebaa578bda6362d65612aa97a6e807b2ed29622763380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1b905cfcc9f996470aebaa578bda6362d65612aa97a6e807b2ed29622763380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1b905cfcc9f996470aebaa578bda6362d65612aa97a6e807b2ed29622763380", kill_on_drop: false }` [INFO] [stdout] e1b905cfcc9f996470aebaa578bda6362d65612aa97a6e807b2ed29622763380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5bfb2f1a324599ca6f9b929ed18e9e74b9469c0a12d9e320c68797202965997 [INFO] running `Command { std: "docker" "start" "-a" "b5bfb2f1a324599ca6f9b929ed18e9e74b9469c0a12d9e320c68797202965997", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "b5bfb2f1a324599ca6f9b929ed18e9e74b9469c0a12d9e320c68797202965997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5bfb2f1a324599ca6f9b929ed18e9e74b9469c0a12d9e320c68797202965997", kill_on_drop: false }` [INFO] [stdout] b5bfb2f1a324599ca6f9b929ed18e9e74b9469c0a12d9e320c68797202965997