[INFO] cloning repository https://github.com/dhanotboi/RougeCLI [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dhanotboi/RougeCLI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhanotboi%2FRougeCLI", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhanotboi%2FRougeCLI'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8165d5a638e9d37dc3f8e35c3ac378a3926bf64d [INFO] testing dhanotboi/RougeCLI against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhanotboi%2FRougeCLI" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dhanotboi/RougeCLI on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dhanotboi/RougeCLI [INFO] finished tweaking git repo https://github.com/dhanotboi/RougeCLI [INFO] tweaked toml for git repo https://github.com/dhanotboi/RougeCLI written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/dhanotboi/RougeCLI already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossterm v0.21.0 [INFO] [stderr] Downloaded tui v0.16.0 [INFO] [stderr] Downloaded serde_yaml v0.8.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c48fca479093e5eb1959f0a916072e5e89a58274363d2b28028c22469a2ad236 [INFO] running `Command { std: "docker" "start" "-a" "c48fca479093e5eb1959f0a916072e5e89a58274363d2b28028c22469a2ad236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c48fca479093e5eb1959f0a916072e5e89a58274363d2b28028c22469a2ad236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c48fca479093e5eb1959f0a916072e5e89a58274363d2b28028c22469a2ad236", kill_on_drop: false }` [INFO] [stdout] c48fca479093e5eb1959f0a916072e5e89a58274363d2b28028c22469a2ad236 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 707bd1ade20c803e5475b55ac730be5b0bc03e11ce6845fea94a1674ba53256b [INFO] running `Command { std: "docker" "start" "-a" "707bd1ade20c803e5475b55ac730be5b0bc03e11ce6845fea94a1674ba53256b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.1 [INFO] [stderr] Compiling crossterm v0.20.0 [INFO] [stderr] Compiling serde_yaml v0.8.20 [INFO] [stderr] Compiling tui v0.16.0 [INFO] [stderr] Compiling crossterm v0.21.0 [INFO] [stderr] Compiling rougecli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0502]: cannot borrow `current_menu` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/main.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 112 | let mut carousel = |key: KeyCode| -> () { [INFO] [stdout] | -------------------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 117 | MenuItem::Credits => current_menu = MenuItem::Settings, [INFO] [stdout] | ------------ first borrow occurs due to use of `current_menu` in closure [INFO] [stdout] ... [INFO] [stdout] 160 | terminal.draw(|rect| { [INFO] [stdout] | ^^^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 218 | .select(current_menu.clone().into()) [INFO] [stdout] | ------------ second borrow occurs due to use of `current_menu` in closure [INFO] [stdout] ... [INFO] [stdout] 319 | KeyCode::Right => carousel(KeyCode::Right), [INFO] [stdout] | -------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rougecli` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "707bd1ade20c803e5475b55ac730be5b0bc03e11ce6845fea94a1674ba53256b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "707bd1ade20c803e5475b55ac730be5b0bc03e11ce6845fea94a1674ba53256b", kill_on_drop: false }` [INFO] [stdout] 707bd1ade20c803e5475b55ac730be5b0bc03e11ce6845fea94a1674ba53256b