[INFO] fetching crate ztop 0.2.2... [INFO] checking ztop-0.2.2 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate ztop 0.2.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate ztop 0.2.2 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ztop 0.2.2 [INFO] finished tweaking crates.io crate ztop 0.2.2 [INFO] tweaked toml for crates.io crate ztop 0.2.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate ztop 0.2.2 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b89cfa1618f621c44a5011f10e06ed9761e1661d4cb360263e7685cbd87053b [INFO] running `Command { std: "docker" "start" "-a" "4b89cfa1618f621c44a5011f10e06ed9761e1661d4cb360263e7685cbd87053b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b89cfa1618f621c44a5011f10e06ed9761e1661d4cb360263e7685cbd87053b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b89cfa1618f621c44a5011f10e06ed9761e1661d4cb360263e7685cbd87053b", kill_on_drop: false }` [INFO] [stdout] 4b89cfa1618f621c44a5011f10e06ed9761e1661d4cb360263e7685cbd87053b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 613de24227e39b121e5e20eaa6f6210a5dbda3b7d1566404918dadc1ce5a311e [INFO] running `Command { std: "docker" "start" "-a" "613de24227e39b121e5e20eaa6f6210a5dbda3b7d1566404918dadc1ce5a311e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking humanize-rs v0.1.5 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.24.0 [INFO] [stderr] Checking tui v0.15.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking sysctl v0.4.4 [INFO] [stderr] Checking clap v3.2.22 [INFO] [stderr] Checking ztop v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0499]: cannot borrow `filter_popup` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 226 | terminal.draw(|f| { [INFO] [stdout] | ^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 229 | ui::draw_filter(f, &mut filter_popup) [INFO] [stdout] | ------------ second borrow occurs due to use of `filter_popup` in closure [INFO] [stdout] ... [INFO] [stdout] 241 | let filter = filter_popup.on_enter()?; [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | returning this value requires that `filter_popup` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `filter_popup` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:241:30 [INFO] [stdout] | [INFO] [stdout] 241 | let filter = filter_popup.on_enter()?; [INFO] [stdout] | ^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | `filter_popup` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | returning this value requires that `filter_popup` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `filter_popup` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 241 | let filter = filter_popup.on_enter()?; [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | returning this value requires that `filter_popup` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 246 | filter_popup.on_key(key); [INFO] [stdout] | ^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `filter_popup` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 226 | terminal.draw(|f| { [INFO] [stdout] | ^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 229 | ui::draw_filter(f, &mut filter_popup) [INFO] [stdout] | ------------ second borrow occurs due to use of `filter_popup` in closure [INFO] [stdout] ... [INFO] [stdout] 241 | let filter = filter_popup.on_enter()?; [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | returning this value requires that `filter_popup` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `filter_popup` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:241:30 [INFO] [stdout] | [INFO] [stdout] 241 | let filter = filter_popup.on_enter()?; [INFO] [stdout] | ^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | `filter_popup` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | returning this value requires that `filter_popup` is borrowed for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ztop` (bin "ztop") due to 4 previous errors [INFO] [stdout] error[E0499]: cannot borrow `filter_popup` as mutable more than once at a time [INFO] [stdout] --> src/main.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 241 | let filter = filter_popup.on_enter()?; [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | first mutable borrow occurs here [INFO] [stdout] | returning this value requires that `filter_popup` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 246 | filter_popup.on_key(key); [INFO] [stdout] | ^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ztop` (bin "ztop" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "613de24227e39b121e5e20eaa6f6210a5dbda3b7d1566404918dadc1ce5a311e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "613de24227e39b121e5e20eaa6f6210a5dbda3b7d1566404918dadc1ce5a311e", kill_on_drop: false }` [INFO] [stdout] 613de24227e39b121e5e20eaa6f6210a5dbda3b7d1566404918dadc1ce5a311e