[INFO] cloning repository https://github.com/asomers/ztop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/asomers/ztop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasomers%2Fztop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasomers%2Fztop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08ab2f407b8efd3f75f9060e151c9c88c0dd2390 [INFO] checking asomers/ztop against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasomers%2Fztop" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asomers/ztop 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 git repo https://github.com/asomers/ztop [INFO] finished tweaking git repo https://github.com/asomers/ztop [INFO] tweaked toml for git repo https://github.com/asomers/ztop written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/asomers/ztop 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c5fcc8985dcc8e7abf057cfcebe39e30ebe5d139b7af34a6a0e511beca139385 [INFO] running `Command { std: "docker" "start" "-a" "c5fcc8985dcc8e7abf057cfcebe39e30ebe5d139b7af34a6a0e511beca139385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5fcc8985dcc8e7abf057cfcebe39e30ebe5d139b7af34a6a0e511beca139385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5fcc8985dcc8e7abf057cfcebe39e30ebe5d139b7af34a6a0e511beca139385", kill_on_drop: false }` [INFO] [stdout] c5fcc8985dcc8e7abf057cfcebe39e30ebe5d139b7af34a6a0e511beca139385 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b5d10a8c8887ee600d51fd597d6a28624e9d3e7b747b6c6af6262b87dc4bc38c [INFO] running `Command { std: "docker" "start" "-a" "b5d10a8c8887ee600d51fd597d6a28624e9d3e7b747b6c6af6262b87dc4bc38c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking nix v0.24.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking humanize-rs v0.1.5 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking tui v0.15.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex v1.5.5 [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[E0502]: cannot borrow `filter_popup` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/main.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 226 | terminal.draw(|f| { [INFO] [stdout] | ^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 229 | ui::draw_filter(f, &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] | 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] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `filter_popup` as immutable because it is also borrowed as mutable [INFO] [stdout] --> src/main.rs:226:23 [INFO] [stdout] | [INFO] [stdout] 226 | terminal.draw(|f| { [INFO] [stdout] | ^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 229 | ui::draw_filter(f, &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] | 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] [stderr] error: could not compile `ztop` (bin "ztop") due to 4 previous errors [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] Some errors have detailed explanations: E0499, E0502. [INFO] [stdout] [INFO] [stdout] For more information about an 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" "b5d10a8c8887ee600d51fd597d6a28624e9d3e7b747b6c6af6262b87dc4bc38c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5d10a8c8887ee600d51fd597d6a28624e9d3e7b747b6c6af6262b87dc4bc38c", kill_on_drop: false }` [INFO] [stdout] b5d10a8c8887ee600d51fd597d6a28624e9d3e7b747b6c6af6262b87dc4bc38c