[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 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhanotboi%2FRougeCLI" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dhanotboi/RougeCLI on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-6/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" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossterm_winapi v0.8.0 [INFO] [stderr] Downloaded crossterm v0.20.0 [INFO] [stderr] Downloaded serde_yaml v0.8.20 [INFO] [stderr] Downloaded crossterm v0.21.0 [INFO] [stderr] Downloaded signal-hook-mio v0.2.1 [INFO] [stderr] Downloaded serde_derive v1.0.129 [INFO] [stderr] Downloaded tui v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff1300fab03665c87cc9dda459ed93bc970d6d7b538ee9098199df0a3bd8ca89 [INFO] running `Command { std: "docker" "start" "-a" "ff1300fab03665c87cc9dda459ed93bc970d6d7b538ee9098199df0a3bd8ca89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff1300fab03665c87cc9dda459ed93bc970d6d7b538ee9098199df0a3bd8ca89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1300fab03665c87cc9dda459ed93bc970d6d7b538ee9098199df0a3bd8ca89", kill_on_drop: false }` [INFO] [stdout] ff1300fab03665c87cc9dda459ed93bc970d6d7b538ee9098199df0a3bd8ca89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abc1ee0a8b0ab3fc74bb720bdd65da66e5b3b0ec1b510046a8769327e3c9f4ce [INFO] running `Command { std: "docker" "start" "-a" "abc1ee0a8b0ab3fc74bb720bdd65da66e5b3b0ec1b510046a8769327e3c9f4ce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [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 crossterm v0.21.0 [INFO] [stderr] Compiling tui v0.16.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" "abc1ee0a8b0ab3fc74bb720bdd65da66e5b3b0ec1b510046a8769327e3c9f4ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abc1ee0a8b0ab3fc74bb720bdd65da66e5b3b0ec1b510046a8769327e3c9f4ce", kill_on_drop: false }` [INFO] [stdout] abc1ee0a8b0ab3fc74bb720bdd65da66e5b3b0ec1b510046a8769327e3c9f4ce