[INFO] fetching crate abpfiff 0.1.1-alpha.with.debug... [INFO] checking abpfiff-0.1.1-alpha.with.debug against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate abpfiff 0.1.1-alpha.with.debug into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate abpfiff 0.1.1-alpha.with.debug on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate abpfiff 0.1.1-alpha.with.debug [INFO] finished tweaking crates.io crate abpfiff 0.1.1-alpha.with.debug [INFO] tweaked toml for crates.io crate abpfiff 0.1.1-alpha.with.debug written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c6a53c280088810dac9753e03437a7e8c9581c675e86b3ffb14857b67972d87 [INFO] running `Command { std: "docker" "start" "-a" "0c6a53c280088810dac9753e03437a7e8c9581c675e86b3ffb14857b67972d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c6a53c280088810dac9753e03437a7e8c9581c675e86b3ffb14857b67972d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c6a53c280088810dac9753e03437a7e8c9581c675e86b3ffb14857b67972d87", kill_on_drop: false }` [INFO] [stdout] 0c6a53c280088810dac9753e03437a7e8c9581c675e86b3ffb14857b67972d87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3a20d69d144e10256305862a4aa2678ce5b11c545cf93ec0ac7dc3e84fafe8a [INFO] running `Command { std: "docker" "start" "-a" "f3a20d69d144e10256305862a4aa2678ce5b11c545cf93ec0ac7dc3e84fafe8a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Checking abpfiff v0.1.1-alpha.with.debug (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `elf` [INFO] [stdout] --> src/lib.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "elf")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `elf` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `elf` [INFO] [stdout] --> src/lib.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "elf")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `elf` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BpfBtfInfo` is never constructed [INFO] [stdout] --> src/bpf.rs:424:8 [INFO] [stdout] | [INFO] [stdout] 424 | struct BpfBtfInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BpfBtfInfo` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BpfProgRun` is never used [INFO] [stdout] --> src/bpf.rs:484:11 [INFO] [stdout] | [INFO] [stdout] 482 | impl BpfCmd { [INFO] [stdout] | ----------- associated constant in this implementation [INFO] [stdout] 483 | #[allow(non_upper_case_globals)] [INFO] [stdout] 484 | const BpfProgRun: Self = Self::ProgTestRun; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_xdp_info` is never used [INFO] [stdout] --> src/netlink.rs:416:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl Netlink { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 416 | fn get_xdp_info() -> ControlFlow<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/nlattr.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum IflaType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 7 | IFLA_UNSPEC, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | IFLA_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | IFLA_BROADCAST, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | IFLA_IFNAME, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | IFLA_MTU, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | IFLA_LINK, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | IFLA_QDISC, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | IFLA_STATS, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | IFLA_COST, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | IFLA_PRIORITY, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | IFLA_MASTER, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | IFLA_WIRELESS, /* Wireless Extension event - see wireless.h */ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | IFLA_PROTINFO, /* Protocol specific information for a link */ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | IFLA_TXQLEN, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | IFLA_MAP, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | IFLA_WEIGHT, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | IFLA_OPERSTATE, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | IFLA_LINKMODE, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | IFLA_LINKINFO, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | IFLA_NET_NS_PID, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | IFLA_IFALIAS, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | IFLA_NUM_VF, /* Number of VFs if device is SR-IOV PF */ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | IFLA_VFINFO_LIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | IFLA_STATS64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | IFLA_VF_PORTS, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | IFLA_PORT_SELF, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | IFLA_AF_SPEC, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | IFLA_GROUP, /* Group the device belongs to */ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | IFLA_NET_NS_FD, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | IFLA_EXT_MASK, /* Extended info mask, VFs, etc */ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | IFLA_PROMISCUITY, /* Promiscuity count: > 0 means acts PROMISC */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | IFLA_NUM_TX_QUEUES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | IFLA_NUM_RX_QUEUES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | IFLA_CARRIER, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | IFLA_PHYS_PORT_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | IFLA_CARRIER_CHANGES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | IFLA_PHYS_SWITCH_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | IFLA_LINK_NETNSID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | IFLA_PHYS_PORT_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | IFLA_PROTO_DOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | IFLA_GSO_MAX_SEGS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | IFLA_GSO_MAX_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | IFLA_PAD, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | IFLA_XDP, [INFO] [stdout] 51 | IFLA_EVENT, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | IFLA_NEW_NETNSID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | // IFLA_IF_NETNSID, /* has a new new alias, below */ [INFO] [stdout] 54 | IFLA_TARGET_NETNSID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | IFLA_CARRIER_UP_COUNT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | IFLA_CARRIER_DOWN_COUNT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | IFLA_NEW_IFINDEX, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | IFLA_MIN_MTU, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 59 | IFLA_MAX_MTU, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | IFLA_PROP_LIST, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 61 | IFLA_ALT_IFNAME, /* Alternative ifname */ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | IFLA_PERM_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | IFLA_PROTO_DOWN_REASON, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | IFLA_PARENT_DEV_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | IFLA_PARENT_DEV_BUS_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | IFLA_GRO_MAX_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | IFLA_TSO_MAX_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | IFLA_TSO_MAX_SEGS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NLA_F_NET_BYTEORDER` is never used [INFO] [stdout] --> src/nlattr.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const NLA_F_NET_BYTEORDER: u16 = 1 << 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IFLA_XDP_UNSPEC` is never constructed [INFO] [stdout] --> src/nlattr.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum IflaXdp { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 83 | IFLA_XDP_UNSPEC, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bpf_object__find_map_by_name` should have a snake case name [INFO] [stdout] --> src/lib.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn bpf_object__find_map_by_name() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bpf_object_find_map_by_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bpf.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | let fd = self.wrap_fd(fd); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Ok(ProgramFd { fd }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bpf.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | let fd = self.wrap_fd(fd); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | Ok(MapFd { [INFO] [stdout] | ____________^ [INFO] [stdout] 45 | | fd, [INFO] [stdout] 46 | | key_size_access_requirement: None, [INFO] [stdout] 47 | | val_size_access_requirement: None, [INFO] [stdout] 48 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bpf.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | let fd = self.wrap_fd(fd); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | Ok(ProgramFd { fd }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/netlink.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn open(sys: ArcTable) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let sock = OwnedFd(sock, sys.clone()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | Ok(Netlink { [INFO] [stdout] | ____________^ [INFO] [stdout] 114 | | sock, [INFO] [stdout] 115 | | pid, [INFO] [stdout] 116 | | seq, [INFO] [stdout] 117 | | buf, [INFO] [stdout] 118 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `abpfiff` (lib) due to 5 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `BpfBtfInfo` is never constructed [INFO] [stdout] --> src/bpf.rs:424:8 [INFO] [stdout] | [INFO] [stdout] 424 | struct BpfBtfInfo { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BpfBtfInfo` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BpfProgRun` is never used [INFO] [stdout] --> src/bpf.rs:484:11 [INFO] [stdout] | [INFO] [stdout] 482 | impl BpfCmd { [INFO] [stdout] | ----------- associated constant in this implementation [INFO] [stdout] 483 | #[allow(non_upper_case_globals)] [INFO] [stdout] 484 | const BpfProgRun: Self = Self::ProgTestRun; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_xdp_info` is never used [INFO] [stdout] --> src/netlink.rs:416:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl Netlink { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 416 | fn get_xdp_info() -> ControlFlow<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/nlattr.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum IflaType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 7 | IFLA_UNSPEC, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | IFLA_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | IFLA_BROADCAST, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | IFLA_IFNAME, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | IFLA_MTU, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | IFLA_LINK, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | IFLA_QDISC, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | IFLA_STATS, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | IFLA_COST, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | IFLA_PRIORITY, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | IFLA_MASTER, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | IFLA_WIRELESS, /* Wireless Extension event - see wireless.h */ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | IFLA_PROTINFO, /* Protocol specific information for a link */ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | IFLA_TXQLEN, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 21 | IFLA_MAP, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | IFLA_WEIGHT, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | IFLA_OPERSTATE, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | IFLA_LINKMODE, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | IFLA_LINKINFO, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | IFLA_NET_NS_PID, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | IFLA_IFALIAS, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | IFLA_NUM_VF, /* Number of VFs if device is SR-IOV PF */ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | IFLA_VFINFO_LIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | IFLA_STATS64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | IFLA_VF_PORTS, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | IFLA_PORT_SELF, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | IFLA_AF_SPEC, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | IFLA_GROUP, /* Group the device belongs to */ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | IFLA_NET_NS_FD, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | IFLA_EXT_MASK, /* Extended info mask, VFs, etc */ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | IFLA_PROMISCUITY, /* Promiscuity count: > 0 means acts PROMISC */ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | IFLA_NUM_TX_QUEUES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | IFLA_NUM_RX_QUEUES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | IFLA_CARRIER, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | IFLA_PHYS_PORT_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | IFLA_CARRIER_CHANGES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | IFLA_PHYS_SWITCH_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | IFLA_LINK_NETNSID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | IFLA_PHYS_PORT_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | IFLA_PROTO_DOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | IFLA_GSO_MAX_SEGS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | IFLA_GSO_MAX_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | IFLA_PAD, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | IFLA_XDP, [INFO] [stdout] 51 | IFLA_EVENT, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | IFLA_NEW_NETNSID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | // IFLA_IF_NETNSID, /* has a new new alias, below */ [INFO] [stdout] 54 | IFLA_TARGET_NETNSID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | IFLA_CARRIER_UP_COUNT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | IFLA_CARRIER_DOWN_COUNT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | IFLA_NEW_IFINDEX, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | IFLA_MIN_MTU, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 59 | IFLA_MAX_MTU, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | IFLA_PROP_LIST, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 61 | IFLA_ALT_IFNAME, /* Alternative ifname */ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | IFLA_PERM_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | IFLA_PROTO_DOWN_REASON, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | IFLA_PARENT_DEV_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | IFLA_PARENT_DEV_BUS_NAME, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | IFLA_GRO_MAX_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | IFLA_TSO_MAX_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | IFLA_TSO_MAX_SEGS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NLA_F_NET_BYTEORDER` is never used [INFO] [stdout] --> src/nlattr.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub const NLA_F_NET_BYTEORDER: u16 = 1 << 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IFLA_XDP_UNSPEC` is never constructed [INFO] [stdout] --> src/nlattr.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum IflaXdp { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 83 | IFLA_XDP_UNSPEC, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bpf_object__find_map_by_name` should have a snake case name [INFO] [stdout] --> src/lib.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn bpf_object__find_map_by_name() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bpf_object_find_map_by_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bpf.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | let fd = self.wrap_fd(fd); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Ok(ProgramFd { fd }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bpf.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | let fd = self.wrap_fd(fd); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | Ok(MapFd { [INFO] [stdout] | ____________^ [INFO] [stdout] 45 | | fd, [INFO] [stdout] 46 | | key_size_access_requirement: None, [INFO] [stdout] 47 | | val_size_access_requirement: None, [INFO] [stdout] 48 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/bpf.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | let fd = self.wrap_fd(fd); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | Ok(ProgramFd { fd }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/netlink.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn open(sys: ArcTable) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | let sock = OwnedFd(sock, sys.clone()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | Ok(Netlink { [INFO] [stdout] | ____________^ [INFO] [stdout] 114 | | sock, [INFO] [stdout] 115 | | pid, [INFO] [stdout] 116 | | seq, [INFO] [stdout] 117 | | buf, [INFO] [stdout] 118 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `abpfiff` (lib test) due to 5 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f3a20d69d144e10256305862a4aa2678ce5b11c545cf93ec0ac7dc3e84fafe8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3a20d69d144e10256305862a4aa2678ce5b11c545cf93ec0ac7dc3e84fafe8a", kill_on_drop: false }` [INFO] [stdout] f3a20d69d144e10256305862a4aa2678ce5b11c545cf93ec0ac7dc3e84fafe8a