[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 beta-2021-09-08 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-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dhanotboi/RougeCLI on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-7/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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49d54789dc8fb441aa3ffcee3eb99b40db4b3794ecba79de2f3a3adf547c6e26 [INFO] running `Command { std: "docker" "start" "-a" "49d54789dc8fb441aa3ffcee3eb99b40db4b3794ecba79de2f3a3adf547c6e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49d54789dc8fb441aa3ffcee3eb99b40db4b3794ecba79de2f3a3adf547c6e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49d54789dc8fb441aa3ffcee3eb99b40db4b3794ecba79de2f3a3adf547c6e26", kill_on_drop: false }` [INFO] [stdout] 49d54789dc8fb441aa3ffcee3eb99b40db4b3794ecba79de2f3a3adf547c6e26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5941e172fbfd5d7735a7fdd14390e7b2d8174c34e1c87a9f2955aaf3892ca508 [INFO] running `Command { std: "docker" "start" "-a" "5941e172fbfd5d7735a7fdd14390e7b2d8174c34e1c87a9f2955aaf3892ca508", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [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 smallvec v1.6.1 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [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 instant v0.1.10 [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 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 tui v0.16.0 [INFO] [stderr] Compiling serde_yaml v0.8.20 [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" "5941e172fbfd5d7735a7fdd14390e7b2d8174c34e1c87a9f2955aaf3892ca508", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5941e172fbfd5d7735a7fdd14390e7b2d8174c34e1c87a9f2955aaf3892ca508", kill_on_drop: false }` [INFO] [stdout] 5941e172fbfd5d7735a7fdd14390e7b2d8174c34e1c87a9f2955aaf3892ca508