[INFO] cloning repository https://github.com/miere/cursive-tokio [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miere/cursive-tokio" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiere%2Fcursive-tokio", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiere%2Fcursive-tokio'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd791d6b8f0228fd9ffccb39d0b66dc7412f8668 [INFO] checking miere/cursive-tokio against try#9228062c11d321a3ea08123f57e47533a3c88b00 for pr-154781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiere%2Fcursive-tokio" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/miere/cursive-tokio [INFO] finished tweaking git repo https://github.com/miere/cursive-tokio [INFO] tweaked toml for git repo https://github.com/miere/cursive-tokio written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/miere/cursive-tokio on toolchain 9228062c11d321a3ea08123f57e47533a3c88b00 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9228062c11d321a3ea08123f57e47533a3c88b00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/miere/cursive-tokio 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" "+9228062c11d321a3ea08123f57e47533a3c88b00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enumset v1.1.5 [INFO] [stderr] Downloaded cursive-macros v0.1.0 [INFO] [stderr] Downloaded cursive v0.21.1 [INFO] [stderr] Downloaded enumset_derive v0.10.0 [INFO] [stderr] Downloaded cursive_core v0.4.6 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9228062c11d321a3ea08123f57e47533a3c88b00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3f94a44f3e089349a08f06eedd43f0f908c85ac382f78f8d194d340903049a8 [INFO] running `Command { std: "docker" "start" "-a" "f3f94a44f3e089349a08f06eedd43f0f908c85ac382f78f8d194d340903049a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3f94a44f3e089349a08f06eedd43f0f908c85ac382f78f8d194d340903049a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3f94a44f3e089349a08f06eedd43f0f908c85ac382f78f8d194d340903049a8", kill_on_drop: false }` [INFO] [stdout] f3f94a44f3e089349a08f06eedd43f0f908c85ac382f78f8d194d340903049a8 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9228062c11d321a3ea08123f57e47533a3c88b00" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d28b5e45830e0cf8475a8f0b3cbabad61cb5872404bb7b824607e2b097514e4 [INFO] running `Command { std: "docker" "start" "-a" "4d28b5e45830e0cf8475a8f0b3cbabad61cb5872404bb7b824607e2b097514e4", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Compiling cursive-macros v0.1.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling enumset_derive v0.10.0 [INFO] [stderr] Checking enumset v1.1.5 [INFO] [stderr] Checking cursive_core v0.4.6 [INFO] [stderr] Checking cursive v0.21.1 [INFO] [stderr] Checking query-report v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0499]: cannot borrow `*controller` as mutable more than once at a time [INFO] [stdout] --> src/cursive_tokio/ui.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 126 | let siv = controller.borrow_cursive(); [INFO] [stdout] | ---------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 134 | let received_something = runner.process_events(); [INFO] [stdout] | ------ first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 137 | controller.handle_frontend_event(received).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/cursive_tokio/ui.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 125 | fn handle_frontend_events(&mut self, controller: &mut Controller, receiver: Receiver) { [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `controller` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 137 | controller.handle_frontend_event(received).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `controller` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*controller` as mutable more than once at a time [INFO] [stdout] --> src/cursive_tokio/ui.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 126 | let siv = controller.borrow_cursive(); [INFO] [stdout] | ---------- first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 134 | let received_something = runner.process_events(); [INFO] [stdout] | ------ first borrow later used here [INFO] [stdout] ... [INFO] [stdout] 137 | controller.handle_frontend_event(received).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ second mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/cursive_tokio/ui.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 125 | fn handle_frontend_events(&mut self, controller: &mut Controller, receiver: Receiver) { [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `controller` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 137 | controller.handle_frontend_event(received).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `controller` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 48 | fn construct_default_ui(&mut self) -> () { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] 49 | self.0.siv.add_global_callback(Key::Esc, |s| s.quit()); [INFO] [stdout] 50 | self.0.siv.add_global_callback(Key::Enter, |_| self.0.sender.send(BackgroundStates::EnterKeyPressed)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 48 | fn construct_default_ui(&mut self) -> () { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] 49 | self.0.siv.add_global_callback(Key::Esc, |s| s.quit()); [INFO] [stdout] 50 | self.0.siv.add_global_callback(Key::Enter, |_| self.0.sender.send(BackgroundStates::EnterKeyPressed)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0499, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `query-report` (bin "query-report") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `query-report` (bin "query-report" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "4d28b5e45830e0cf8475a8f0b3cbabad61cb5872404bb7b824607e2b097514e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d28b5e45830e0cf8475a8f0b3cbabad61cb5872404bb7b824607e2b097514e4", kill_on_drop: false }` [INFO] [stdout] 4d28b5e45830e0cf8475a8f0b3cbabad61cb5872404bb7b824607e2b097514e4