[INFO] fetching crate rtnetlink 0.13.1... [INFO] checking rtnetlink-0.13.1 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate rtnetlink 0.13.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rtnetlink 0.13.1 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 rtnetlink 0.13.1 [INFO] finished tweaking crates.io crate rtnetlink 0.13.1 [INFO] tweaked toml for crates.io crate rtnetlink 0.13.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate rtnetlink 0.13.1 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9d74b5c28343d3c1051b5735a5f77f6602b4e986012b5bfa243b88420743c954 [INFO] running `Command { std: "docker" "start" "-a" "9d74b5c28343d3c1051b5735a5f77f6602b4e986012b5bfa243b88420743c954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d74b5c28343d3c1051b5735a5f77f6602b4e986012b5bfa243b88420743c954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d74b5c28343d3c1051b5735a5f77f6602b4e986012b5bfa243b88420743c954", kill_on_drop: false }` [INFO] [stdout] 9d74b5c28343d3c1051b5735a5f77f6602b4e986012b5bfa243b88420743c954 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b3b41939d8a4d3c47fdcfe5252a2892478c0b87b33bd2848b2d56cf22407aa91 [INFO] running `Command { std: "docker" "start" "-a" "b3b41939d8a4d3c47fdcfe5252a2892478c0b87b33bd2848b2d56cf22407aa91", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking value-bag v1.4.1 [INFO] [stderr] Checking slab v0.4.8 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling paste v1.0.13 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking futures-channel v0.3.28 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking parking v2.1.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking async-lock v2.7.0 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling rustix v0.38.3 [INFO] [stderr] Checking async-task v4.4.0 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking regex-syntax v0.7.3 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Checking blocking v1.3.1 [INFO] [stderr] Checking async-executor v1.5.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking regex-automata v0.3.2 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking async-global-executor v2.3.1 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking ipnetwork v0.18.0 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking futures-util v0.3.28 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking netlink-packet-core v0.7.0 [INFO] [stderr] Checking netlink-packet-route v0.17.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking netlink-sys v0.8.5 [INFO] [stderr] Checking netlink-proto v0.11.2 [INFO] [stderr] Checking rtnetlink v0.13.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/link/get.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 44 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 57 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 66 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 57 ~ let x = match handle.request(req) { [INFO] [stdout] 58 | Ok(response) => Either::Left( [INFO] [stdout] ... [INFO] [stdout] 64 | ), [INFO] [stdout] 65 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/link/get.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 44 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 57 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 66 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 57 ~ let x = match handle.request(req) { [INFO] [stdout] 58 | Ok(response) => Either::Left( [INFO] [stdout] ... [INFO] [stdout] 64 | ), [INFO] [stdout] 65 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/addr/get.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 36 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 45 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 55 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 45 ~ let x = match handle.request(req) { [INFO] [stdout] 46 | Ok(response) => Either::Left( [INFO] [stdout] ... [INFO] [stdout] 53 | ), [INFO] [stdout] 54 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/addr/get.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 36 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 45 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 55 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 45 ~ let x = match handle.request(req) { [INFO] [stdout] 46 | Ok(response) => Either::Left( [INFO] [stdout] ... [INFO] [stdout] 53 | ), [INFO] [stdout] 54 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/route/get.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 70 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 77 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 86 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 77 ~ let x = match handle.request(req) { [INFO] [stdout] 78 | Ok(response) => Either::Left( [INFO] [stdout] ... [INFO] [stdout] 84 | ), [INFO] [stdout] 85 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/route/get.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 70 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 77 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 86 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 77 ~ let x = match handle.request(req) { [INFO] [stdout] 78 | Ok(response) => Either::Left( [INFO] [stdout] ... [INFO] [stdout] 84 | ), [INFO] [stdout] 85 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/rule/get.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 40 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 47 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 56 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 47 ~ let x = match handle.request(req) { [INFO] [stdout] 48 | Ok(response) => Either::Left( [INFO] [stdout] ... [INFO] [stdout] 54 | ), [INFO] [stdout] 55 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/traffic_control/get.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 32 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 40 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 48 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 40 ~ let x = match handle.request(req) { [INFO] [stdout] 41 | Ok(response) => Either::Left(response.map(move |msg| { [INFO] [stdout] ... [INFO] [stdout] 46 | } [INFO] [stdout] 47 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/traffic_control/get.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 77 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 85 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 93 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 85 ~ let x = match handle.request(req) { [INFO] [stdout] 86 | Ok(response) => Either::Left(response.map(move |msg| { [INFO] [stdout] ... [INFO] [stdout] 91 | } [INFO] [stdout] 92 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/rule/get.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 40 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 47 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 56 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 47 ~ let x = match handle.request(req) { [INFO] [stdout] 48 | Ok(response) => Either::Left( [INFO] [stdout] ... [INFO] [stdout] 54 | ), [INFO] [stdout] 55 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/traffic_control/get.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 111 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 119 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 127 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 119 ~ let x = match handle.request(req) { [INFO] [stdout] 120 | Ok(response) => Either::Left(response.map(move |msg| { [INFO] [stdout] ... [INFO] [stdout] 125 | } [INFO] [stdout] 126 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/traffic_control/get.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 32 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 40 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 48 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 40 ~ let x = match handle.request(req) { [INFO] [stdout] 41 | Ok(response) => Either::Left(response.map(move |msg| { [INFO] [stdout] ... [INFO] [stdout] 46 | } [INFO] [stdout] 47 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/traffic_control/get.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 151 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 159 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 167 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 159 ~ let x = match handle.request(req) { [INFO] [stdout] 160 | Ok(response) => Either::Left(response.map(move |msg| { [INFO] [stdout] ... [INFO] [stdout] 165 | } [INFO] [stdout] 166 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/traffic_control/get.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 77 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 85 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 93 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 85 ~ let x = match handle.request(req) { [INFO] [stdout] 86 | Ok(response) => Either::Left(response.map(move |msg| { [INFO] [stdout] ... [INFO] [stdout] 91 | } [INFO] [stdout] 92 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/traffic_control/get.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 111 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 119 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 127 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 119 ~ let x = match handle.request(req) { [INFO] [stdout] 120 | Ok(response) => Either::Left(response.map(move |msg| { [INFO] [stdout] ... [INFO] [stdout] 125 | } [INFO] [stdout] 126 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/traffic_control/get.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 151 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 159 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 167 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 159 ~ let x = match handle.request(req) { [INFO] [stdout] 160 | Ok(response) => Either::Left(response.map(move |msg| { [INFO] [stdout] ... [INFO] [stdout] 165 | } [INFO] [stdout] 166 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/neighbour/get.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 45 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 52 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 69 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 52 ~ let x = match handle.request(req) { [INFO] [stdout] 53 | Ok(response) => Either::Left(response.map(move |msg| { [INFO] [stdout] ... [INFO] [stdout] 67 | ), [INFO] [stdout] 68 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `handle` does not live long enough [INFO] [stdout] --> src/neighbour/get.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 45 | mut handle, [INFO] [stdout] | ---------- binding `handle` declared here [INFO] [stdout] ... [INFO] [stdout] 52 | match handle.request(req) { [INFO] [stdout] | ^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 69 | } [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `handle` dropped here while still borrowed [INFO] [stdout] | ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `Result>, errors::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 52 ~ let x = match handle.request(req) { [INFO] [stdout] 53 | Ok(response) => Either::Left(response.map(move |msg| { [INFO] [stdout] ... [INFO] [stdout] 67 | ), [INFO] [stdout] 68 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rtnetlink` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rtnetlink` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "b3b41939d8a4d3c47fdcfe5252a2892478c0b87b33bd2848b2d56cf22407aa91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b41939d8a4d3c47fdcfe5252a2892478c0b87b33bd2848b2d56cf22407aa91", kill_on_drop: false }` [INFO] [stdout] b3b41939d8a4d3c47fdcfe5252a2892478c0b87b33bd2848b2d56cf22407aa91