[INFO] fetching crate ethtool 0.2.5... [INFO] checking ethtool-0.2.5 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate ethtool 0.2.5 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate ethtool 0.2.5 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 ethtool 0.2.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ethtool 0.2.5 [INFO] tweaked toml for crates.io crate ethtool 0.2.5 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate ethtool 0.2.5 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] a280bde33285ca5acfb5180b963d4eaaca4b264b24a3e7e8fd83d91c8497d565 [INFO] running `Command { std: "docker" "start" "-a" "a280bde33285ca5acfb5180b963d4eaaca4b264b24a3e7e8fd83d91c8497d565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a280bde33285ca5acfb5180b963d4eaaca4b264b24a3e7e8fd83d91c8497d565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a280bde33285ca5acfb5180b963d4eaaca4b264b24a3e7e8fd83d91c8497d565", kill_on_drop: false }` [INFO] [stdout] a280bde33285ca5acfb5180b963d4eaaca4b264b24a3e7e8fd83d91c8497d565 [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] c970ac38eea63874e835de9fd4129e7a8bc9d5dcb310bc5e097702bfe874bf62 [INFO] running `Command { std: "docker" "start" "-a" "c970ac38eea63874e835de9fd4129e7a8bc9d5dcb310bc5e097702bfe874bf62", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling paste v1.0.13 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking regex-syntax v0.7.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Checking regex-automata v0.3.2 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking thiserror v1.0.43 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Checking netlink-packet-core v0.7.0 [INFO] [stderr] Checking netlink-packet-generic v0.3.3 [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 genetlink v0.2.5 [INFO] [stderr] Checking ethtool v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `handle` [INFO] [stdout] --> src/coalesce/get.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | ethtool_execute(&mut handle, iface_name.is_none(), ethtool_msg).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `handle` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `handle` [INFO] [stdout] --> src/feature/get.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | ethtool_execute(&mut handle, iface_name.is_none(), ethtool_msg).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `handle` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `handle` [INFO] [stdout] --> src/coalesce/get.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | ethtool_execute(&mut handle, iface_name.is_none(), ethtool_msg).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `handle` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `handle` [INFO] [stdout] --> src/feature/get.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | ethtool_execute(&mut handle, iface_name.is_none(), ethtool_msg).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `handle` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `handle` [INFO] [stdout] --> src/link_mode/get.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | ethtool_execute(&mut handle, iface_name.is_none(), ethtool_msg).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `handle` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `handle` [INFO] [stdout] --> src/pause/get.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ethtool_execute(&mut handle, iface_name.is_none(), ethtool_msg).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `handle` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `handle` [INFO] [stdout] --> src/link_mode/get.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | ethtool_execute(&mut handle, iface_name.is_none(), ethtool_msg).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `handle` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `handle` [INFO] [stdout] --> src/ring/get.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ethtool_execute(&mut handle, iface_name.is_none(), ethtool_msg).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `handle` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `handle` [INFO] [stdout] --> src/tsinfo/get.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ethtool_execute(&mut handle, iface_name.is_none(), ethtool_msg).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `handle` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `handle` [INFO] [stdout] --> src/pause/get.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ethtool_execute(&mut handle, iface_name.is_none(), ethtool_msg).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `handle` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `handle` [INFO] [stdout] --> src/ring/get.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ethtool_execute(&mut handle, iface_name.is_none(), ethtool_msg).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `handle` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `handle` [INFO] [stdout] --> src/tsinfo/get.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ethtool_execute(&mut handle, iface_name.is_none(), ethtool_msg).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `handle` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ethtool` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ethtool` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "c970ac38eea63874e835de9fd4129e7a8bc9d5dcb310bc5e097702bfe874bf62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c970ac38eea63874e835de9fd4129e7a8bc9d5dcb310bc5e097702bfe874bf62", kill_on_drop: false }` [INFO] [stdout] c970ac38eea63874e835de9fd4129e7a8bc9d5dcb310bc5e097702bfe874bf62