[INFO] cloning repository https://github.com/angelcam/arrow-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/angelcam/arrow-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelcam%2Farrow-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelcam%2Farrow-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5601ea00fc4a07a1d6cc220339a032ab1bdf1d24 [INFO] checking angelcam/arrow-client/5601ea00fc4a07a1d6cc220339a032ab1bdf1d24 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelcam%2Farrow-client" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/angelcam/arrow-client on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/angelcam/arrow-client [INFO] finished tweaking git repo https://github.com/angelcam/arrow-client [INFO] tweaked toml for git repo https://github.com/angelcam/arrow-client written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/angelcam/arrow-client 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33cc3d1bd8a227c1ca1283194ae13973efa745bc2c6608834d2c3f63cb2cf0f4 [INFO] running `Command { std: "docker" "start" "-a" "33cc3d1bd8a227c1ca1283194ae13973efa745bc2c6608834d2c3f63cb2cf0f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33cc3d1bd8a227c1ca1283194ae13973efa745bc2c6608834d2c3f63cb2cf0f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33cc3d1bd8a227c1ca1283194ae13973efa745bc2c6608834d2c3f63cb2cf0f4", kill_on_drop: false }` [INFO] [stdout] 33cc3d1bd8a227c1ca1283194ae13973efa745bc2c6608834d2c3f63cb2cf0f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6f85507391c38f80201936ee7b66ead9e761b30db5ce39178eb59cc1b59f865 [INFO] running `Command { std: "docker" "start" "-a" "f6f85507391c38f80201936ee7b66ead9e761b30db5ce39178eb59cc1b59f865", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (2 fixes) [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking farmhash v1.1.5 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling arrow-client v0.12.6 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling trait-variant v0.1.2 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `arrow_client` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/utils/logger/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/logger/mod.rs:19:6 [INFO] [stderr] | [INFO] [stderr] 19 | ($logger:expr_2021, $severity:expr_2021, $( $arg:tt )*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/logger/mod.rs:19:25 [INFO] [stderr] | [INFO] [stderr] 19 | ($logger:expr_2021, $severity:expr_2021, $( $arg:tt )*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/logger/mod.rs:26:6 [INFO] [stderr] | [INFO] [stderr] 26 | ($logger:expr_2021, $( $arg:tt )*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/logger/mod.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ($logger:expr_2021, $( $arg:tt )*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/logger/mod.rs:40:6 [INFO] [stderr] | [INFO] [stderr] 40 | ($logger:expr_2021, $( $arg:tt )*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/logger/mod.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | ($logger:expr, $severity:expr, $( $arg:tt )*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($logger:expr_2021, $severity:expr, $( $arg:tt )*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/logger/mod.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | ($logger:expr, $severity:expr, $( $arg:tt )*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($logger:expr, $severity:expr_2021, $( $arg:tt )*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/logger/mod.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | ($logger:expr, $( $arg:tt )*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 26 | ($logger:expr_2021, $( $arg:tt )*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/logger/mod.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | ($logger:expr, $( $arg:tt )*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 33 | ($logger:expr_2021, $( $arg:tt )*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/logger/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | ($logger:expr, $( $arg:tt )*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 40 | ($logger:expr_2021, $( $arg:tt )*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/utils/logger/syslog.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 40 | | fn openlog(ident: *const c_char, option: c_int, facility: c_int) -> c_void; [INFO] [stdout] 41 | | fn syslog(priority: c_int, format: *const c_char, ...) -> c_void; [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/net/raw/devices/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 31 | | fn net_find_devices() -> net_device; [INFO] [stdout] 32 | | fn net_free_device_list(dev: net_device) -> c_void; [INFO] [stdout] 33 | | fn net_get_name(dev: net_device) -> *const c_char; [INFO] [stdout] ... | [INFO] [stdout] 39 | | fn net_get_ipv4_addr_size() -> usize; [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | slice::from_raw_parts(ptr, len).to_vec() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/mod.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | pub unsafe fn vec_from_raw_parts(ptr: *const T, len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | res.push(std::ptr::read_unaligned(ptr.add(idx))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/mod.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub unsafe fn vec_from_raw_parts_unaligned(ptr: *const T, len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | res.push(std::ptr::read_unaligned(ptr.add(idx))); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | let cstr = CStr::from_ptr(ptr as *const _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/mod.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | pub unsafe fn cstr_to_string(ptr: *const i8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_name` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | name: get_name(dev), [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe fn new(dev: net_device) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_mac_addr` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | mac_addr: get_mac_addr(dev), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_ipv4_addr` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | ip_addr: get_ipv4_addr(dev), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_ipv4_mask` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | netmask: get_ipv4_mask(dev), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `utils::cstr_to_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | utils::cstr_to_string(net_get_name(dev) as *const _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe fn get_name(dev: net_device) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_name` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | utils::cstr_to_string(net_get_name(dev) as *const _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_mac_address` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | let addr = net_get_mac_address(dev) as *const c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe fn get_mac_addr(dev: net_device) -> MacAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::ptr_to_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let bytes = ptr_to_bytes(addr, net_get_mac_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_mac_addr_size` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | let bytes = ptr_to_bytes(addr, net_get_mac_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_address` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | let addr = net_get_ipv4_address(dev) as *const c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe fn get_ipv4_addr(dev: net_device) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::ptr_to_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_addr_size` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_netmask` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | let addr = net_get_ipv4_netmask(dev) as *const c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | unsafe fn get_ipv4_mask(dev: net_device) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::ptr_to_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_addr_size` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:131:36 [INFO] [stdout] | [INFO] [stdout] 131 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | slice::from_raw_parts(ptr as *const u8, len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | unsafe fn ptr_to_bytes<'a>(ptr: *const c_void, len: usize) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:404:12 [INFO] [stdout] | [INFO] [stdout] 404 | if let Some(channel) = self.command_channel.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 404 ~ match self.command_channel.as_ref() { Some(channel) => { [INFO] [stdout] 405 | channel.send(Command::ScanNetwork); [INFO] [stdout] 406 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 411 | if let Some(channel) = self.command_channel.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 411 ~ match self.command_channel.as_ref() { Some(channel) => { [INFO] [stdout] 412 | channel.send(Command::ResetServiceTable); [INFO] [stdout] 413 | channel.send(Command::ScanNetwork); [INFO] [stdout] 414 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmd_handler.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | while let Some(event) = rx.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cmd_handler.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:890:29 [INFO] [stdout] | [INFO] [stdout] 890 | let mut config = if let JsonValue::Object(cfg) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:892:9 [INFO] [stdout] | [INFO] [stdout] 892 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 890 ~ let mut config = match value { JsonValue::Object(cfg) => { [INFO] [stdout] 891 | cfg [INFO] [stdout] 892 ~ } _ => { [INFO] [stdout] 893 | return Err(ParseError::new("JSON object expected")); [INFO] [stdout] 894 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:1078:12 [INFO] [stdout] | [INFO] [stdout] 1078 | if let Err(err) = self.save() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:1080:9 [INFO] [stdout] | [INFO] [stdout] 1080 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1078 ~ match self.save() { Err(err) => { [INFO] [stdout] 1079 | log_warn!(&mut self.logger, "{}", err); [INFO] [stdout] 1080 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:1109:12 [INFO] [stdout] | [INFO] [stdout] 1109 | if let Err(err) = self.save() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:1111:9 [INFO] [stdout] | [INFO] [stdout] 1111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1109 ~ match self.save() { Err(err) => { [INFO] [stdout] 1110 | log_warn!(&mut self.logger, "{}", err); [INFO] [stdout] 1111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/mod.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(task) = self.task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/mod.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 207 ~ match self.task.take() { Some(task) => { [INFO] [stdout] 208 | task.wake(); [INFO] [stdout] 209 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/mod.rs:555:19 [INFO] [stdout] | [INFO] [stdout] 555 | } else if let Some(msg) = self.messages.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/mod.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 557 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 555 ~ } else { match self.messages.pop_front() { Some(msg) => { [INFO] [stdout] 556 | return Poll::Ready(Some(Ok(msg))); [INFO] [stdout] 557 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | if let Some(task) = self.session_manager_task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 92 ~ match self.session_manager_task.take() { Some(task) => { [INFO] [stdout] 93 | task.wake(); [INFO] [stdout] 94 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(task) = self.session_transport_task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 133 ~ match self.session_transport_task.take() { Some(task) => { [INFO] [stdout] 134 | task.wake(); [INFO] [stdout] 135 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | if let Some(task) = self.session_transport_task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 164 ~ match self.session_transport_task.take() { Some(task) => { [INFO] [stdout] 165 | task.wake(); [INFO] [stdout] 166 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | } else if let Poll::Ready(res) = self.poll_read_input_buf(cx, stream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 241 ~ } else { match self.poll_read_input_buf(cx, stream) { Poll::Ready(res) => { [INFO] [stdout] 242 | match res { [INFO] [stdout] ... [INFO] [stdout] 256 | Poll::Ready(()) [INFO] [stdout] 257 ~ } _ => { [INFO] [stdout] 258 | let task = cx.waker(); [INFO] [stdout] ... [INFO] [stdout] 263 | Poll::Pending [INFO] [stdout] 264 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | if let Some(task) = self.session_manager_task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 251 ~ match self.session_manager_task.take() { Some(task) => { [INFO] [stdout] 252 | task.wake(); [INFO] [stdout] 253 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | } else if let Poll::Ready(res) = self.poll_write_output_buf(cx, stream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 285 ~ } else { match self.poll_write_output_buf(cx, stream) { Poll::Ready(res) => { [INFO] [stdout] 286 | match res { [INFO] [stdout] ... [INFO] [stdout] 299 | Poll::Ready(()) [INFO] [stdout] 300 ~ } _ => { [INFO] [stdout] 301 | let task = cx.waker(); [INFO] [stdout] ... [INFO] [stdout] 306 | Poll::Pending [INFO] [stdout] 307 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 292 | if let Some(task) = self.session_manager_task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 292 ~ match self.session_manager_task.take() { Some(task) => { [INFO] [stdout] 293 | task.wake(); [INFO] [stdout] 294 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | if let Some(task) = self.session_manager_task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 323 ~ match self.session_manager_task.take() { Some(task) => { [INFO] [stdout] 324 | task.wake(); [INFO] [stdout] 325 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | if let Some(task) = self.task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 549 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 547 ~ match self.task.take() { Some(task) => { [INFO] [stdout] 548 | task.wake(); [INFO] [stdout] 549 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 559 | if let Some(session) = self.sessions.get_mut(&session_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 559 ~ match self.sessions.get_mut(&session_id) { Some(session) => { [INFO] [stdout] 560 | session.push(msg); [INFO] [stdout] 561 ~ } _ => { [INFO] [stdout] 562 | let msg = self.create_hup_message(header.session, EC_CONNECTION_ERROR); [INFO] [stdout] ... [INFO] [stdout] 569 | } [INFO] [stdout] 570 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:567:16 [INFO] [stdout] | [INFO] [stdout] 567 | if let Some(task) = self.task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 567 ~ match self.task.take() { Some(task) => { [INFO] [stdout] 568 | task.wake(); [INFO] [stdout] 569 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:575:12 [INFO] [stdout] | [INFO] [stdout] 575 | if let Some(mut session) = self.sessions.remove(&session_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 575 ~ match self.sessions.remove(&session_id) { Some(mut session) => { [INFO] [stdout] 576 | log_info!( [INFO] [stdout] ... [INFO] [stdout] 582 | session.close(); [INFO] [stdout] 583 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:588:12 [INFO] [stdout] | [INFO] [stdout] 588 | if let Some(session) = self.sessions.get_mut(&session_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 588 ~ match self.sessions.get_mut(&session_id) { Some(session) => { [INFO] [stdout] 589 | session.process_data_ack(length as usize); [INFO] [stdout] 590 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:687:20 [INFO] [stdout] | [INFO] [stdout] 687 | if let Some(mut session) = self.sessions.remove(&session_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:723:17 [INFO] [stdout] | [INFO] [stdout] 723 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 687 ~ match self.sessions.remove(&session_id) { Some(mut session) => { [INFO] [stdout] 688 | match session.take(cx) { [INFO] [stdout] ... [INFO] [stdout] 722 | } [INFO] [stdout] 723 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/tls.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | if let Poll::Ready(res) = inner.poll_write(cx, buf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/tls.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 162 ~ match inner.poll_write(cx, buf) { Poll::Ready(res) => { [INFO] [stdout] 163 | res [INFO] [stdout] 164 ~ } _ => { [INFO] [stdout] 165 | Err(io::Error::from(io::ErrorKind::WouldBlock)) [INFO] [stdout] 166 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/tls.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | if let Poll::Ready(res) = inner.poll_flush(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/tls.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 174 ~ match inner.poll_flush(cx) { Poll::Ready(res) => { [INFO] [stdout] 175 | res [INFO] [stdout] 176 ~ } _ => { [INFO] [stdout] 177 | Err(io::Error::from(io::ErrorKind::WouldBlock)) [INFO] [stdout] 178 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scanner/result/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(host) = self.hosts.get_mut(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/scanner/result/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match self.hosts.get_mut(&key) { Some(host) => { [INFO] [stdout] 49 | host.flags |= flags; [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | self.hosts.insert(key, HostRecord::new(mac, ip, flags)); [INFO] [stdout] 52 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scanner/result/mod.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | if let Some(host) = self.hosts.get_mut(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/scanner/result/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match self.hosts.get_mut(&key) { Some(host) => { [INFO] [stdout] 65 | host.add_port(port); [INFO] [stdout] 66 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scanner/result/mod.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | if let Some(host) = self.hosts.get_mut(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/scanner/result/mod.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 92 ~ match self.hosts.get_mut(&key) { Some(host) => { [INFO] [stdout] 93 | host.add_ports(other_host.ports()); [INFO] [stdout] 94 | host.flags |= other_host.flags; [INFO] [stdout] 95 ~ } _ => { [INFO] [stdout] 96 | self.hosts.insert(key, other_host); [INFO] [stdout] 97 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:359:16 [INFO] [stdout] | [INFO] [stdout] 359 | if let Err(err) = ssl_connector_builder.load_ca_certificates(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/storage.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 359 ~ match ssl_connector_builder.load_ca_certificates(path) { Err(err) => { [INFO] [stdout] 360 | log_warn!( [INFO] [stdout] ... [INFO] [stdout] 365 | ); [INFO] [stdout] 366 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/svc_table/mod.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | let service = if let JsonValue::Object(svc) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/svc_table/mod.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 194 ~ let service = match value { JsonValue::Object(svc) => { [INFO] [stdout] 195 | svc [INFO] [stdout] 196 ~ } _ => { [INFO] [stdout] 197 | return Err(ParseError::new("JSON object expected")); [INFO] [stdout] 198 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/svc_table/mod.rs:467:28 [INFO] [stdout] | [INFO] [stdout] 467 | let mut table = if let JsonValue::Object(t) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/svc_table/mod.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 467 ~ let mut table = match value { JsonValue::Object(t) => { [INFO] [stdout] 468 | t [INFO] [stdout] 469 ~ } _ => { [INFO] [stdout] 470 | return Err(ParseError::new("JSON object expected")); [INFO] [stdout] 471 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/svc_table/mod.rs:477:27 [INFO] [stdout] | [INFO] [stdout] 477 | let services = if let JsonValue::Array(svcs) = tmp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/svc_table/mod.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 477 ~ let services = match tmp { JsonValue::Array(svcs) => { [INFO] [stdout] 478 | svcs.into_iter() [INFO] [stdout] 479 ~ } _ => { [INFO] [stdout] 480 | return Err(ParseError::new("JSON array expected")); [INFO] [stdout] 481 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `arrow_client` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/utils/logger/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/logger/mod.rs:19:6 [INFO] [stderr] | [INFO] [stderr] 19 | ($logger:expr_2021, $severity:expr_2021, $( $arg:tt )*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/logger/mod.rs:19:25 [INFO] [stderr] | [INFO] [stderr] 19 | ($logger:expr_2021, $severity:expr_2021, $( $arg:tt )*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/logger/mod.rs:26:6 [INFO] [stderr] | [INFO] [stderr] 26 | ($logger:expr_2021, $( $arg:tt )*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/logger/mod.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ($logger:expr_2021, $( $arg:tt )*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/logger/mod.rs:40:6 [INFO] [stderr] | [INFO] [stderr] 40 | ($logger:expr_2021, $( $arg:tt )*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/logger/mod.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | ($logger:expr, $severity:expr, $( $arg:tt )*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($logger:expr_2021, $severity:expr, $( $arg:tt )*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/logger/mod.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 19 | ($logger:expr, $severity:expr, $( $arg:tt )*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($logger:expr, $severity:expr_2021, $( $arg:tt )*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/logger/mod.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | ($logger:expr, $( $arg:tt )*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 26 | ($logger:expr_2021, $( $arg:tt )*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/logger/mod.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | ($logger:expr, $( $arg:tt )*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 33 | ($logger:expr_2021, $( $arg:tt )*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/logger/mod.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | ($logger:expr, $( $arg:tt )*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 40 | ($logger:expr_2021, $( $arg:tt )*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/utils/logger/syslog.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 40 | | fn openlog(ident: *const c_char, option: c_int, facility: c_int) -> c_void; [INFO] [stdout] 41 | | fn syslog(priority: c_int, format: *const c_char, ...) -> c_void; [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/net/raw/devices/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 31 | | fn net_find_devices() -> net_device; [INFO] [stdout] 32 | | fn net_free_device_list(dev: net_device) -> c_void; [INFO] [stdout] 33 | | fn net_get_name(dev: net_device) -> *const c_char; [INFO] [stdout] ... | [INFO] [stdout] 39 | | fn net_get_ipv4_addr_size() -> usize; [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | slice::from_raw_parts(ptr, len).to_vec() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/mod.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | pub unsafe fn vec_from_raw_parts(ptr: *const T, len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | res.push(std::ptr::read_unaligned(ptr.add(idx))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/mod.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub unsafe fn vec_from_raw_parts_unaligned(ptr: *const T, len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | res.push(std::ptr::read_unaligned(ptr.add(idx))); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | let cstr = CStr::from_ptr(ptr as *const _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/mod.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | pub unsafe fn cstr_to_string(ptr: *const i8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_name` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | name: get_name(dev), [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe fn new(dev: net_device) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_mac_addr` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | mac_addr: get_mac_addr(dev), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_ipv4_addr` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | ip_addr: get_ipv4_addr(dev), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_ipv4_mask` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | netmask: get_ipv4_mask(dev), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `utils::cstr_to_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | utils::cstr_to_string(net_get_name(dev) as *const _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe fn get_name(dev: net_device) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_name` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | utils::cstr_to_string(net_get_name(dev) as *const _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_mac_address` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | let addr = net_get_mac_address(dev) as *const c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe fn get_mac_addr(dev: net_device) -> MacAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::ptr_to_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let bytes = ptr_to_bytes(addr, net_get_mac_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_mac_addr_size` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | let bytes = ptr_to_bytes(addr, net_get_mac_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_address` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | let addr = net_get_ipv4_address(dev) as *const c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe fn get_ipv4_addr(dev: net_device) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::ptr_to_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_addr_size` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_netmask` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | let addr = net_get_ipv4_netmask(dev) as *const c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | unsafe fn get_ipv4_mask(dev: net_device) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::ptr_to_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_addr_size` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:131:36 [INFO] [stdout] | [INFO] [stdout] 131 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | slice::from_raw_parts(ptr as *const u8, len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | unsafe fn ptr_to_bytes<'a>(ptr: *const c_void, len: usize) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:404:12 [INFO] [stdout] | [INFO] [stdout] 404 | if let Some(channel) = self.command_channel.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 404 ~ match self.command_channel.as_ref() { Some(channel) => { [INFO] [stdout] 405 | channel.send(Command::ScanNetwork); [INFO] [stdout] 406 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/client.rs:411:12 [INFO] [stdout] | [INFO] [stdout] 411 | if let Some(channel) = self.command_channel.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/client.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 411 ~ match self.command_channel.as_ref() { Some(channel) => { [INFO] [stdout] 412 | channel.send(Command::ResetServiceTable); [INFO] [stdout] 413 | channel.send(Command::ScanNetwork); [INFO] [stdout] 414 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmd_handler.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | while let Some(event) = rx.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/cmd_handler.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 194 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:890:29 [INFO] [stdout] | [INFO] [stdout] 890 | let mut config = if let JsonValue::Object(cfg) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:892:9 [INFO] [stdout] | [INFO] [stdout] 892 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 890 ~ let mut config = match value { JsonValue::Object(cfg) => { [INFO] [stdout] 891 | cfg [INFO] [stdout] 892 ~ } _ => { [INFO] [stdout] 893 | return Err(ParseError::new("JSON object expected")); [INFO] [stdout] 894 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:1078:12 [INFO] [stdout] | [INFO] [stdout] 1078 | if let Err(err) = self.save() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:1080:9 [INFO] [stdout] | [INFO] [stdout] 1080 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1078 ~ match self.save() { Err(err) => { [INFO] [stdout] 1079 | log_warn!(&mut self.logger, "{}", err); [INFO] [stdout] 1080 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:1109:12 [INFO] [stdout] | [INFO] [stdout] 1109 | if let Err(err) = self.save() { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:1111:9 [INFO] [stdout] | [INFO] [stdout] 1111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1109 ~ match self.save() { Err(err) => { [INFO] [stdout] 1110 | log_warn!(&mut self.logger, "{}", err); [INFO] [stdout] 1111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/mod.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 207 | if let Some(task) = self.task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/mod.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 207 ~ match self.task.take() { Some(task) => { [INFO] [stdout] 208 | task.wake(); [INFO] [stdout] 209 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/mod.rs:555:19 [INFO] [stdout] | [INFO] [stdout] 555 | } else if let Some(msg) = self.messages.pop_front() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/mod.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 557 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 555 ~ } else { match self.messages.pop_front() { Some(msg) => { [INFO] [stdout] 556 | return Poll::Ready(Some(Ok(msg))); [INFO] [stdout] 557 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | if let Some(task) = self.session_manager_task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 92 ~ match self.session_manager_task.take() { Some(task) => { [INFO] [stdout] 93 | task.wake(); [INFO] [stdout] 94 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | if let Some(task) = self.session_transport_task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 133 ~ match self.session_transport_task.take() { Some(task) => { [INFO] [stdout] 134 | task.wake(); [INFO] [stdout] 135 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | if let Some(task) = self.session_transport_task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 164 ~ match self.session_transport_task.take() { Some(task) => { [INFO] [stdout] 165 | task.wake(); [INFO] [stdout] 166 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | } else if let Poll::Ready(res) = self.poll_read_input_buf(cx, stream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 241 ~ } else { match self.poll_read_input_buf(cx, stream) { Poll::Ready(res) => { [INFO] [stdout] 242 | match res { [INFO] [stdout] ... [INFO] [stdout] 256 | Poll::Ready(()) [INFO] [stdout] 257 ~ } _ => { [INFO] [stdout] 258 | let task = cx.waker(); [INFO] [stdout] ... [INFO] [stdout] 263 | Poll::Pending [INFO] [stdout] 264 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | if let Some(task) = self.session_manager_task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 251 ~ match self.session_manager_task.take() { Some(task) => { [INFO] [stdout] 252 | task.wake(); [INFO] [stdout] 253 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | } else if let Poll::Ready(res) = self.poll_write_output_buf(cx, stream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 285 ~ } else { match self.poll_write_output_buf(cx, stream) { Poll::Ready(res) => { [INFO] [stdout] 286 | match res { [INFO] [stdout] ... [INFO] [stdout] 299 | Poll::Ready(()) [INFO] [stdout] 300 ~ } _ => { [INFO] [stdout] 301 | let task = cx.waker(); [INFO] [stdout] ... [INFO] [stdout] 306 | Poll::Pending [INFO] [stdout] 307 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 292 | if let Some(task) = self.session_manager_task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 292 ~ match self.session_manager_task.take() { Some(task) => { [INFO] [stdout] 293 | task.wake(); [INFO] [stdout] 294 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | if let Some(task) = self.session_manager_task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 323 ~ match self.session_manager_task.take() { Some(task) => { [INFO] [stdout] 324 | task.wake(); [INFO] [stdout] 325 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | if let Some(task) = self.task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 549 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 547 ~ match self.task.take() { Some(task) => { [INFO] [stdout] 548 | task.wake(); [INFO] [stdout] 549 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 559 | if let Some(session) = self.sessions.get_mut(&session_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 559 ~ match self.sessions.get_mut(&session_id) { Some(session) => { [INFO] [stdout] 560 | session.push(msg); [INFO] [stdout] 561 ~ } _ => { [INFO] [stdout] 562 | let msg = self.create_hup_message(header.session, EC_CONNECTION_ERROR); [INFO] [stdout] ... [INFO] [stdout] 569 | } [INFO] [stdout] 570 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:567:16 [INFO] [stdout] | [INFO] [stdout] 567 | if let Some(task) = self.task.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 567 ~ match self.task.take() { Some(task) => { [INFO] [stdout] 568 | task.wake(); [INFO] [stdout] 569 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:575:12 [INFO] [stdout] | [INFO] [stdout] 575 | if let Some(mut session) = self.sessions.remove(&session_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:583:9 [INFO] [stdout] | [INFO] [stdout] 583 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 575 ~ match self.sessions.remove(&session_id) { Some(mut session) => { [INFO] [stdout] 576 | log_info!( [INFO] [stdout] ... [INFO] [stdout] 582 | session.close(); [INFO] [stdout] 583 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:588:12 [INFO] [stdout] | [INFO] [stdout] 588 | if let Some(session) = self.sessions.get_mut(&session_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:590:9 [INFO] [stdout] | [INFO] [stdout] 590 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 588 ~ match self.sessions.get_mut(&session_id) { Some(session) => { [INFO] [stdout] 589 | session.process_data_ack(length as usize); [INFO] [stdout] 590 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:687:20 [INFO] [stdout] | [INFO] [stdout] 687 | if let Some(mut session) = self.sessions.remove(&session_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/arrow/session.rs:723:17 [INFO] [stdout] | [INFO] [stdout] 723 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 687 ~ match self.sessions.remove(&session_id) { Some(mut session) => { [INFO] [stdout] 688 | match session.take(cx) { [INFO] [stdout] ... [INFO] [stdout] 722 | } [INFO] [stdout] 723 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/tls.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | if let Poll::Ready(res) = inner.poll_write(cx, buf) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/tls.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 162 ~ match inner.poll_write(cx, buf) { Poll::Ready(res) => { [INFO] [stdout] 163 | res [INFO] [stdout] 164 ~ } _ => { [INFO] [stdout] 165 | Err(io::Error::from(io::ErrorKind::WouldBlock)) [INFO] [stdout] 166 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/net/tls.rs:174:16 [INFO] [stdout] | [INFO] [stdout] 174 | if let Poll::Ready(res) = inner.poll_flush(cx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/net/tls.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 174 ~ match inner.poll_flush(cx) { Poll::Ready(res) => { [INFO] [stdout] 175 | res [INFO] [stdout] 176 ~ } _ => { [INFO] [stdout] 177 | Err(io::Error::from(io::ErrorKind::WouldBlock)) [INFO] [stdout] 178 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scanner/result/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(host) = self.hosts.get_mut(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/scanner/result/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match self.hosts.get_mut(&key) { Some(host) => { [INFO] [stdout] 49 | host.flags |= flags; [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | self.hosts.insert(key, HostRecord::new(mac, ip, flags)); [INFO] [stdout] 52 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scanner/result/mod.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | if let Some(host) = self.hosts.get_mut(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/scanner/result/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match self.hosts.get_mut(&key) { Some(host) => { [INFO] [stdout] 65 | host.add_port(port); [INFO] [stdout] 66 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scanner/result/mod.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | if let Some(host) = self.hosts.get_mut(&key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/scanner/result/mod.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 92 ~ match self.hosts.get_mut(&key) { Some(host) => { [INFO] [stdout] 93 | host.add_ports(other_host.ports()); [INFO] [stdout] 94 | host.flags |= other_host.flags; [INFO] [stdout] 95 ~ } _ => { [INFO] [stdout] 96 | self.hosts.insert(key, other_host); [INFO] [stdout] 97 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/storage.rs:359:16 [INFO] [stdout] | [INFO] [stdout] 359 | if let Err(err) = ssl_connector_builder.load_ca_certificates(path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/storage.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 359 ~ match ssl_connector_builder.load_ca_certificates(path) { Err(err) => { [INFO] [stdout] 360 | log_warn!( [INFO] [stdout] ... [INFO] [stdout] 365 | ); [INFO] [stdout] 366 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/svc_table/mod.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | let service = if let JsonValue::Object(svc) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/svc_table/mod.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 194 ~ let service = match value { JsonValue::Object(svc) => { [INFO] [stdout] 195 | svc [INFO] [stdout] 196 ~ } _ => { [INFO] [stdout] 197 | return Err(ParseError::new("JSON object expected")); [INFO] [stdout] 198 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/svc_table/mod.rs:467:28 [INFO] [stdout] | [INFO] [stdout] 467 | let mut table = if let JsonValue::Object(t) = value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/svc_table/mod.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 467 ~ let mut table = match value { JsonValue::Object(t) => { [INFO] [stdout] 468 | t [INFO] [stdout] 469 ~ } _ => { [INFO] [stdout] 470 | return Err(ParseError::new("JSON object expected")); [INFO] [stdout] 471 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/svc_table/mod.rs:477:27 [INFO] [stdout] | [INFO] [stdout] 477 | let services = if let JsonValue::Array(svcs) = tmp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/svc_table/mod.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 477 ~ let services = match tmp { JsonValue::Array(svcs) => { [INFO] [stdout] 478 | svcs.into_iter() [INFO] [stdout] 479 ~ } _ => { [INFO] [stdout] 480 | return Err(ParseError::new("JSON array expected")); [INFO] [stdout] 481 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.61s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling arrow-client v0.12.6 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/utils/logger/syslog.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / extern "C" { [INFO] [stdout] 40 | | fn openlog(ident: *const c_char, option: c_int, facility: c_int) -> c_void; [INFO] [stdout] 41 | | fn syslog(priority: c_int, format: *const c_char, ...) -> c_void; [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/net/raw/devices/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / extern "C" { [INFO] [stdout] 31 | | fn net_find_devices() -> net_device; [INFO] [stdout] 32 | | fn net_free_device_list(dev: net_device) -> c_void; [INFO] [stdout] 33 | | fn net_get_name(dev: net_device) -> *const c_char; [INFO] [stdout] ... | [INFO] [stdout] 39 | | fn net_get_ipv4_addr_size() -> usize; [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/utils/logger/syslog.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / extern "C" { [INFO] [stdout] 40 | | fn openlog(ident: *const c_char, option: c_int, facility: c_int) -> c_void; [INFO] [stdout] 41 | | fn syslog(priority: c_int, format: *const c_char, ...) -> c_void; [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/net/raw/devices/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / extern "C" { [INFO] [stdout] 31 | | fn net_find_devices() -> net_device; [INFO] [stdout] 32 | | fn net_free_device_list(dev: net_device) -> c_void; [INFO] [stdout] 33 | | fn net_get_name(dev: net_device) -> *const c_char; [INFO] [stdout] ... | [INFO] [stdout] 39 | | fn net_get_ipv4_addr_size() -> usize; [INFO] [stdout] 40 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | slice::from_raw_parts(ptr, len).to_vec() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/mod.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | pub unsafe fn vec_from_raw_parts(ptr: *const T, len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | res.push(std::ptr::read_unaligned(ptr.add(idx))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/mod.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub unsafe fn vec_from_raw_parts_unaligned(ptr: *const T, len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | res.push(std::ptr::read_unaligned(ptr.add(idx))); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | let cstr = CStr::from_ptr(ptr as *const _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/mod.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | pub unsafe fn cstr_to_string(ptr: *const i8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | slice::from_raw_parts(ptr, len).to_vec() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/mod.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | pub unsafe fn vec_from_raw_parts(ptr: *const T, len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | res.push(std::ptr::read_unaligned(ptr.add(idx))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/mod.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | pub unsafe fn vec_from_raw_parts_unaligned(ptr: *const T, len: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::const_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | res.push(std::ptr::read_unaligned(ptr.add(idx))); [INFO] [stdout] | ^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/mod.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | let cstr = CStr::from_ptr(ptr as *const _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/mod.rs:123:1 [INFO] [stdout] | [INFO] [stdout] 123 | pub unsafe fn cstr_to_string(ptr: *const i8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_name` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | name: get_name(dev), [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe fn new(dev: net_device) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_mac_addr` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | mac_addr: get_mac_addr(dev), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_ipv4_addr` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | ip_addr: get_ipv4_addr(dev), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_ipv4_mask` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | netmask: get_ipv4_mask(dev), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `utils::cstr_to_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | utils::cstr_to_string(net_get_name(dev) as *const _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe fn get_name(dev: net_device) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_name` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | utils::cstr_to_string(net_get_name(dev) as *const _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_mac_address` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | let addr = net_get_mac_address(dev) as *const c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe fn get_mac_addr(dev: net_device) -> MacAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::ptr_to_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let bytes = ptr_to_bytes(addr, net_get_mac_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_mac_addr_size` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | let bytes = ptr_to_bytes(addr, net_get_mac_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_address` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | let addr = net_get_ipv4_address(dev) as *const c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe fn get_ipv4_addr(dev: net_device) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::ptr_to_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_addr_size` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_netmask` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | let addr = net_get_ipv4_netmask(dev) as *const c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | unsafe fn get_ipv4_mask(dev: net_device) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::ptr_to_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_addr_size` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:131:36 [INFO] [stdout] | [INFO] [stdout] 131 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | slice::from_raw_parts(ptr as *const u8, len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | unsafe fn ptr_to_bytes<'a>(ptr: *const c_void, len: usize) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_name` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | name: get_name(dev), [INFO] [stdout] | ^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe fn new(dev: net_device) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_mac_addr` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | mac_addr: get_mac_addr(dev), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_ipv4_addr` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | ip_addr: get_ipv4_addr(dev), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::get_ipv4_mask` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | netmask: get_ipv4_mask(dev), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `utils::cstr_to_string` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | utils::cstr_to_string(net_get_name(dev) as *const _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | unsafe fn get_name(dev: net_device) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_name` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 109 | utils::cstr_to_string(net_get_name(dev) as *const _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_mac_address` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | let addr = net_get_mac_address(dev) as *const c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 113 | unsafe fn get_mac_addr(dev: net_device) -> MacAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::ptr_to_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let bytes = ptr_to_bytes(addr, net_get_mac_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_mac_addr_size` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | let bytes = ptr_to_bytes(addr, net_get_mac_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_address` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | let addr = net_get_ipv4_address(dev) as *const c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe fn get_ipv4_addr(dev: net_device) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::ptr_to_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_addr_size` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_netmask` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:130:16 [INFO] [stdout] | [INFO] [stdout] 130 | let addr = net_get_ipv4_netmask(dev) as *const c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | unsafe fn get_ipv4_mask(dev: net_device) -> Ipv4Addr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::ptr_to_bytes` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `net::raw::devices::net_get_ipv4_addr_size` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:131:36 [INFO] [stdout] | [INFO] [stdout] 131 | let bytes = ptr_to_bytes(addr, net_get_ipv4_addr_size()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/net/raw/devices/mod.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | slice::from_raw_parts(ptr as *const u8, len) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/net/raw/devices/mod.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | unsafe fn ptr_to_bytes<'a>(ptr: *const c_void, len: usize) -> &'a [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arrow-client` (lib) due to 3 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `arrow-client` (lib test) due to 3 previous errors; 20 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f6f85507391c38f80201936ee7b66ead9e761b30db5ce39178eb59cc1b59f865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6f85507391c38f80201936ee7b66ead9e761b30db5ce39178eb59cc1b59f865", kill_on_drop: false }` [INFO] [stdout] f6f85507391c38f80201936ee7b66ead9e761b30db5ce39178eb59cc1b59f865