[INFO] fetching crate netscan 0.28.0... [INFO] checking netscan-0.28.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate netscan 0.28.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate netscan 0.28.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate netscan 0.28.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate netscan 0.28.0 [INFO] tweaked toml for crates.io crate netscan 0.28.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate netscan 0.28.0 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d12ee3f14fa446fa35f5e5616c6c054550d0d2c0e18fca41d0b68f55154041b [INFO] running `Command { std: "docker" "start" "-a" "1d12ee3f14fa446fa35f5e5616c6c054550d0d2c0e18fca41d0b68f55154041b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d12ee3f14fa446fa35f5e5616c6c054550d0d2c0e18fca41d0b68f55154041b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d12ee3f14fa446fa35f5e5616c6c054550d0d2c0e18fca41d0b68f55154041b", kill_on_drop: false }` [INFO] [stdout] 1d12ee3f14fa446fa35f5e5616c6c054550d0d2c0e18fca41d0b68f55154041b [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 -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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 980a909bdcfa87bf835887ea61682ecc1781e683a10af102e397359b1639fcb7 [INFO] running `Command { std: "docker" "start" "-a" "980a909bdcfa87bf835887ea61682ecc1781e683a10af102e397359b1639fcb7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking netdev v0.26.0 [INFO] [stderr] Compiling aws-lc-rs v1.7.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking nex-core v0.10.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking nex-macro-helper v0.10.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rustls v0.23.7 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling aws-lc-sys v0.16.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking nex-sys v0.10.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking nex-datalink v0.10.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling nex-macro v0.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking nex-packet v0.10.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Checking nex-packet-builder v0.10.0 [INFO] [stderr] Checking hickory-proto v0.24.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking hickory-resolver v0.24.1 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Checking nex-socket v0.10.0 [INFO] [stderr] Checking nex v0.10.0 [INFO] [stderr] Checking netscan v0.28.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result>, PoisonError>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scan/async_io.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 61 | let socket: AsyncSocket = match scan_setting.scan_type { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | match ptx.lock() { [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: this value of type `Result>, PoisonError>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scan/async_io.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 61 | let socket: AsyncSocket = match scan_setting.scan_type { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | match ptx.lock() { [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] warning: field `payload` is never read [INFO] [stdout] --> src/packet/setting.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PacketBuildSetting { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketBuildSetting` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `interface_index`, `read_timeout`, `promiscuous`, and `receive_undefined` are never read [INFO] [stdout] --> src/pcap/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PacketCaptureOptions { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 17 | /// Interface index [INFO] [stdout] 18 | pub interface_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub read_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | /// Capture in promiscuous mode [INFO] [stdout] 36 | pub promiscuous: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | /// Receive undefined packets [INFO] [stdout] 38 | pub receive_undefined: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketCaptureOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pcap/setting.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PacketCaptureSetting { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 10 | /// Interface index [INFO] [stdout] 11 | pub interface_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | /// Source IP addresses to filter. If empty, all source IP addresses will be captured [INFO] [stdout] 13 | pub src_ips: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | /// Destination IP addresses to filter. If empty, all destination IP addresses will be captured [INFO] [stdout] 15 | pub dst_ips: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | /// Source ports to filter. If empty, all source ports will be captured [INFO] [stdout] 17 | pub src_ports: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | /// Destination ports to filter. If empty, all destination ports will be captured [INFO] [stdout] 19 | pub dst_ports: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | /// Ether types to filter. If empty, all ether types will be captured [INFO] [stdout] 21 | pub ether_types: HashSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | /// IP protocols to filter. If empty, all IP protocols will be captured [INFO] [stdout] 23 | pub ip_protocols: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | /// Capture duration limit [INFO] [stdout] 25 | pub capture_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | /// Read Timeout for read next packet (Linux, BPF only) [INFO] [stdout] 27 | pub read_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | /// Capture in promiscuous mode [INFO] [stdout] 29 | pub promiscuous: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | /// Receive undefined packets [INFO] [stdout] 31 | pub receive_undefined: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// Use TUN interface [INFO] [stdout] 33 | pub tunnel: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | /// Use Loopback interface [INFO] [stdout] 35 | pub loopback: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketCaptureSetting` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netscan` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `payload` is never read [INFO] [stdout] --> src/packet/setting.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PacketBuildSetting { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketBuildSetting` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `interface_index`, `read_timeout`, `promiscuous`, and `receive_undefined` are never read [INFO] [stdout] --> src/pcap/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct PacketCaptureOptions { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 17 | /// Interface index [INFO] [stdout] 18 | pub interface_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub read_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 35 | /// Capture in promiscuous mode [INFO] [stdout] 36 | pub promiscuous: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 37 | /// Receive undefined packets [INFO] [stdout] 38 | pub receive_undefined: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketCaptureOptions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/pcap/setting.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PacketCaptureSetting { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 10 | /// Interface index [INFO] [stdout] 11 | pub interface_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | /// Source IP addresses to filter. If empty, all source IP addresses will be captured [INFO] [stdout] 13 | pub src_ips: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | /// Destination IP addresses to filter. If empty, all destination IP addresses will be captured [INFO] [stdout] 15 | pub dst_ips: HashSet, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | /// Source ports to filter. If empty, all source ports will be captured [INFO] [stdout] 17 | pub src_ports: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | /// Destination ports to filter. If empty, all destination ports will be captured [INFO] [stdout] 19 | pub dst_ports: HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | /// Ether types to filter. If empty, all ether types will be captured [INFO] [stdout] 21 | pub ether_types: HashSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | /// IP protocols to filter. If empty, all IP protocols will be captured [INFO] [stdout] 23 | pub ip_protocols: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | /// Capture duration limit [INFO] [stdout] 25 | pub capture_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | /// Read Timeout for read next packet (Linux, BPF only) [INFO] [stdout] 27 | pub read_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | /// Capture in promiscuous mode [INFO] [stdout] 29 | pub promiscuous: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | /// Receive undefined packets [INFO] [stdout] 31 | pub receive_undefined: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | /// Use TUN interface [INFO] [stdout] 33 | pub tunnel: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | /// Use Loopback interface [INFO] [stdout] 35 | pub loopback: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PacketCaptureSetting` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `netscan` (lib) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "980a909bdcfa87bf835887ea61682ecc1781e683a10af102e397359b1639fcb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "980a909bdcfa87bf835887ea61682ecc1781e683a10af102e397359b1639fcb7", kill_on_drop: false }` [INFO] [stdout] 980a909bdcfa87bf835887ea61682ecc1781e683a10af102e397359b1639fcb7