[INFO] cloning repository https://github.com/anHappyDog/ospf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anHappyDog/ospf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FanHappyDog%2Fospf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FanHappyDog%2Fospf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb39be7677010b09de2e166b17b6ccd65ada957d [INFO] checking anHappyDog/ospf/fb39be7677010b09de2e166b17b6ccd65ada957d against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FanHappyDog%2Fospf" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anHappyDog/ospf 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 git repo https://github.com/anHappyDog/ospf [INFO] finished tweaking git repo https://github.com/anHappyDog/ospf [INFO] tweaked toml for git repo https://github.com/anHappyDog/ospf written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anHappyDog/ospf 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61158a2ecfbd78d3b5b67370e3c037105894530127d531d95cd784e060ea335e [INFO] running `Command { std: "docker" "start" "-a" "61158a2ecfbd78d3b5b67370e3c037105894530127d531d95cd784e060ea335e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61158a2ecfbd78d3b5b67370e3c037105894530127d531d95cd784e060ea335e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61158a2ecfbd78d3b5b67370e3c037105894530127d531d95cd784e060ea335e", kill_on_drop: false }` [INFO] [stdout] 61158a2ecfbd78d3b5b67370e3c037105894530127d531d95cd784e060ea335e [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 -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] 22b55bc76f80805312f9915cd094df51454c9eda2a2579908185bc059eafc322 [INFO] running `Command { std: "docker" "start" "-a" "22b55bc76f80805312f9915cd094df51454c9eda2a2579908185bc059eafc322", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking no-std-net v0.6.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking pnet_base v0.35.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking pnet_macros_support v0.35.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking pnet_sys v0.35.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling pnet v0.35.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Checking pnet_datalink v0.35.0 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling rustyline-derive v0.10.0 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling pnet_macros v0.35.0 [INFO] [stderr] Checking pnet_packet v0.35.0 [INFO] [stderr] Checking pnet_transport v0.35.0 [INFO] [stderr] Checking ospf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mem::size_of` [INFO] [stdout] --> src/interface/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mem::size_of, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handle::recv_tcp_packet_raw_handle` [INFO] [stdout] --> src/interface/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use handle::recv_tcp_packet_raw_handle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/interface/mod.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::{sync::broadcast, task::JoinHandle, time}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OSPF_VERSION_2`, `OspfPacketHeader`, `hello::HELLO_PACKET_TYPE`, `ipv4_addr_to_bits`, and `try_get_from_ipv4_packet` [INFO] [stdout] --> src/interface/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | interface, ipv4_addr_to_bits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | neighbor::Neighbor, [INFO] [stdout] 19 | packet::{hello::HELLO_PACKET_TYPE, try_get_from_ipv4_packet, OspfPacket, OspfPacketHeader}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | prompt_and_read, router, AllSPFRouters, OSPF_VERSION_2, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self` and `udp` [INFO] [stdout] --> src/interface/handle.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | ipv4::{self, Ipv4Packet}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | udp, Packet, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `lsa::router` [INFO] [stdout] --> src/interface/handle.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | lsa::router, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::neighbor::Neighbor` [INFO] [stdout] --> src/packet/hello.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::neighbor::Neighbor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pnet::transport` [INFO] [stdout] --> src/packet/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use pnet::transport; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem::size_of` [INFO] [stdout] --> src/interface/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mem::size_of, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handle::recv_tcp_packet_raw_handle` [INFO] [stdout] --> src/interface/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use handle::recv_tcp_packet_raw_handle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/interface/mod.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::{sync::broadcast, task::JoinHandle, time}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OSPF_VERSION_2`, `OspfPacketHeader`, `hello::HELLO_PACKET_TYPE`, `ipv4_addr_to_bits`, and `try_get_from_ipv4_packet` [INFO] [stdout] --> src/interface/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | interface, ipv4_addr_to_bits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | neighbor::Neighbor, [INFO] [stdout] 19 | packet::{hello::HELLO_PACKET_TYPE, try_get_from_ipv4_packet, OspfPacket, OspfPacketHeader}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | prompt_and_read, router, AllSPFRouters, OSPF_VERSION_2, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self` and `udp` [INFO] [stdout] --> src/interface/handle.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | ipv4::{self, Ipv4Packet}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | udp, Packet, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `lsa::router` [INFO] [stdout] --> src/interface/handle.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | lsa::router, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::neighbor::Neighbor` [INFO] [stdout] --> src/packet/hello.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::neighbor::Neighbor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pnet::transport` [INFO] [stdout] --> src/packet/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use pnet::transport; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_send_tcp_packet_tx` [INFO] [stdout] --> src/interface/handle.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | mut to_send_tcp_packet_tx: broadcast::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_send_tcp_packet_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interface/handle.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | mut to_send_tcp_packet_tx: broadcast::Sender, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_send_udp_packet_tx` [INFO] [stdout] --> src/interface/handle.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | mut to_send_udp_packet_tx: broadcast::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_send_udp_packet_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interface/handle.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | mut to_send_udp_packet_tx: broadcast::Sender, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_send_tcp_packet_tx` [INFO] [stdout] --> src/interface/handle.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | mut to_send_tcp_packet_tx: broadcast::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_send_tcp_packet_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interface/handle.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | mut to_send_tcp_packet_tx: broadcast::Sender, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_send_udp_packet_tx` [INFO] [stdout] --> src/interface/handle.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | mut to_send_udp_packet_tx: broadcast::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_send_udp_packet_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interface/handle.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | mut to_send_udp_packet_tx: broadcast::Sender, [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `locked_neighbors` [INFO] [stdout] --> src/interface/mod.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | let mut locked_neighbors = self.neighbors.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_locked_neighbors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/interface/mod.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | for (k, v) in new_neighbors.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/interface/mod.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | for (k, v) in new_neighbors.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interface/mod.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let mut locked_neighbors = self.neighbors.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/packet/mod.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn is_ip_packet_valid(packet: &Ipv4Packet) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `locked_neighbors` [INFO] [stdout] --> src/interface/mod.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | let mut locked_neighbors = self.neighbors.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_locked_neighbors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/interface/mod.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | for (k, v) in new_neighbors.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/interface/mod.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | for (k, v) in new_neighbors.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interface/mod.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | let mut locked_neighbors = self.neighbors.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_ipaddr`, `end_ipaddr`, and `network_mask` are never read [INFO] [stdout] --> src/area/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AddressRange { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | start_ipaddr: net::IpAddr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | end_ipaddr: net::IpAddr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | network_mask: net::Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/area/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Area { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | area_id: net::Ipv4Addr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | addr_range_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | interface_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | router_lsa_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | network_lsa_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | summary_lsa_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | short_path_tree: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | transit_capabilty: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | external_routing_capabilty: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | stub_default_cost: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `router_table` is never read [INFO] [stdout] --> src/router/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Router { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | router_table: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entries` is never read [INFO] [stdout] --> src/rtable/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RouteTable { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 4 | entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Network` and `Host` are never constructed [INFO] [stdout] --> src/rtable/entry.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum RouteDestinationType { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 2 | Network, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | Host, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `destination_type` is never read [INFO] [stdout] --> src/rtable/entry.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RouteTableEntry { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 7 | destination_type: RouteDestinationType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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/interface/mod.rs:393:33 [INFO] [stdout] | [INFO] [stdout] 373 | inner_tx: broadcast::Sender>>, [INFO] [stdout] | ----------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | inner_rx: broadcast::Receiver>>, [INFO] [stdout] | ------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | trans_tx: transport::TransportSender, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | trans_rx: transport::TransportReceiver, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | router: Arc>, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | send_packet_handle: None, [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/interface/mod.rs:394:33 [INFO] [stdout] | [INFO] [stdout] 373 | inner_tx: broadcast::Sender>>, [INFO] [stdout] | ----------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | inner_rx: broadcast::Receiver>>, [INFO] [stdout] | ------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | trans_tx: transport::TransportSender, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | trans_rx: transport::TransportReceiver, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | router: Arc>, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 394 | recv_packet_handle: None, [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/interface/mod.rs:395:39 [INFO] [stdout] | [INFO] [stdout] 373 | inner_tx: broadcast::Sender>>, [INFO] [stdout] | ----------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | inner_rx: broadcast::Receiver>>, [INFO] [stdout] | ------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | trans_tx: transport::TransportSender, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | trans_rx: transport::TransportReceiver, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | router: Arc>, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 395 | produce_dd_packet_handle: None, [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/interface/mod.rs:396:42 [INFO] [stdout] | [INFO] [stdout] 373 | inner_tx: broadcast::Sender>>, [INFO] [stdout] | ----------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | inner_rx: broadcast::Receiver>>, [INFO] [stdout] | ------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | trans_tx: transport::TransportSender, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | trans_rx: transport::TransportReceiver, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | router: Arc>, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 396 | produce_hello_packet_handle: None, [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/interface/mod.rs:397:24 [INFO] [stdout] | [INFO] [stdout] 373 | inner_tx: broadcast::Sender>>, [INFO] [stdout] | ----------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | inner_rx: broadcast::Receiver>>, [INFO] [stdout] | ------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | trans_tx: transport::TransportSender, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | trans_rx: transport::TransportReceiver, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | router: Arc>, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 397 | neighbors: Arc::new(Mutex::new(HashMap::new())), [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/packet/hello.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new_from_interface(interface: Arc>) -> Self { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let interface = interface.lock().unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | [INFO] [stdout] 97 | let router = interface.router.lock().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | neighbors: interface.neighbors.clone(), [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 6 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ospf` (lib test) due to 7 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/packet/mod.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn is_ip_packet_valid(packet: &Ipv4Packet) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_ipaddr`, `end_ipaddr`, and `network_mask` are never read [INFO] [stdout] --> src/area/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AddressRange { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 9 | start_ipaddr: net::IpAddr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | end_ipaddr: net::IpAddr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | network_mask: net::Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/area/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Area { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | area_id: net::Ipv4Addr, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | addr_range_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | interface_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 18 | router_lsa_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | network_lsa_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | summary_lsa_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | short_path_tree: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | transit_capabilty: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | external_routing_capabilty: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | stub_default_cost: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `router_table` is never read [INFO] [stdout] --> src/router/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Router { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 8 | router_table: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entries` is never read [INFO] [stdout] --> src/rtable/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RouteTable { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 4 | entries: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Network` and `Host` are never constructed [INFO] [stdout] --> src/rtable/entry.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | enum RouteDestinationType { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 2 | Network, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | Host, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `destination_type` is never read [INFO] [stdout] --> src/rtable/entry.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RouteTableEntry { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 7 | destination_type: RouteDestinationType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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/interface/mod.rs:393:33 [INFO] [stdout] | [INFO] [stdout] 373 | inner_tx: broadcast::Sender>>, [INFO] [stdout] | ----------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | inner_rx: broadcast::Receiver>>, [INFO] [stdout] | ------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | trans_tx: transport::TransportSender, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | trans_rx: transport::TransportReceiver, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | router: Arc>, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | send_packet_handle: None, [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/interface/mod.rs:394:33 [INFO] [stdout] | [INFO] [stdout] 373 | inner_tx: broadcast::Sender>>, [INFO] [stdout] | ----------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | inner_rx: broadcast::Receiver>>, [INFO] [stdout] | ------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | trans_tx: transport::TransportSender, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | trans_rx: transport::TransportReceiver, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | router: Arc>, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 394 | recv_packet_handle: None, [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/interface/mod.rs:395:39 [INFO] [stdout] | [INFO] [stdout] 373 | inner_tx: broadcast::Sender>>, [INFO] [stdout] | ----------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | inner_rx: broadcast::Receiver>>, [INFO] [stdout] | ------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | trans_tx: transport::TransportSender, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | trans_rx: transport::TransportReceiver, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | router: Arc>, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 395 | produce_dd_packet_handle: None, [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/interface/mod.rs:396:42 [INFO] [stdout] | [INFO] [stdout] 373 | inner_tx: broadcast::Sender>>, [INFO] [stdout] | ----------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | inner_rx: broadcast::Receiver>>, [INFO] [stdout] | ------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | trans_tx: transport::TransportSender, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | trans_rx: transport::TransportReceiver, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | router: Arc>, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 396 | produce_hello_packet_handle: None, [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/interface/mod.rs:397:24 [INFO] [stdout] | [INFO] [stdout] 373 | inner_tx: broadcast::Sender>>, [INFO] [stdout] | ----------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | inner_rx: broadcast::Receiver>>, [INFO] [stdout] | ------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 375 | trans_tx: transport::TransportSender, [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 376 | trans_rx: transport::TransportReceiver, [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 377 | router: Arc>, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 397 | neighbors: Arc::new(Mutex::new(HashMap::new())), [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/packet/hello.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new_from_interface(interface: Arc>) -> Self { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let interface = interface.lock().unwrap(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | [INFO] [stdout] 97 | let router = interface.router.lock().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | neighbors: interface.neighbors.clone(), [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 6 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ospf` (lib) due to 7 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "22b55bc76f80805312f9915cd094df51454c9eda2a2579908185bc059eafc322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22b55bc76f80805312f9915cd094df51454c9eda2a2579908185bc059eafc322", kill_on_drop: false }` [INFO] [stdout] 22b55bc76f80805312f9915cd094df51454c9eda2a2579908185bc059eafc322