[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] checking dhanotboi/RougeCLI against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhanotboi%2FRougeCLI" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dhanotboi/RougeCLI on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "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-1/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" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook-mio v0.2.1 [INFO] [stderr] Downloaded serde_yaml v0.8.20 [INFO] [stderr] Downloaded crossterm v0.21.0 [INFO] [stderr] Downloaded crossterm_winapi v0.8.0 [INFO] [stderr] Downloaded crossterm v0.20.0 [INFO] [stderr] Downloaded tui v0.16.0 [INFO] [stderr] Downloaded serde_derive v1.0.129 [INFO] [stderr] Downloaded serde v1.0.129 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d896ad2fc380bab268c8bb848ecfb5bc8af4abdf4c243552b0fef27410cfc48f [INFO] running `Command { std: "docker" "start" "-a" "d896ad2fc380bab268c8bb848ecfb5bc8af4abdf4c243552b0fef27410cfc48f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d896ad2fc380bab268c8bb848ecfb5bc8af4abdf4c243552b0fef27410cfc48f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d896ad2fc380bab268c8bb848ecfb5bc8af4abdf4c243552b0fef27410cfc48f", kill_on_drop: false }` [INFO] [stdout] d896ad2fc380bab268c8bb848ecfb5bc8af4abdf4c243552b0fef27410cfc48f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d97d6de4dcec52d79a3818d7e210752f41a493f3f0f8ccbab45109736ce80078 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d97d6de4dcec52d79a3818d7e210752f41a493f3f0f8ccbab45109736ce80078", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking cfg-if v1.0.0 [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 serde_derive v1.0.129 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook v0.3.9 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking crossterm v0.20.0 [INFO] [stderr] Checking tui v0.16.0 [INFO] [stderr] Checking crossterm v0.21.0 [INFO] [stderr] Checking serde_yaml v0.8.20 [INFO] [stderr] Checking 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] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `Command { std: "docker" "inspect" "d97d6de4dcec52d79a3818d7e210752f41a493f3f0f8ccbab45109736ce80078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d97d6de4dcec52d79a3818d7e210752f41a493f3f0f8ccbab45109736ce80078", kill_on_drop: false }` [INFO] [stdout] d97d6de4dcec52d79a3818d7e210752f41a493f3f0f8ccbab45109736ce80078