[INFO] fetching crate vmm-sys-util 0.12.1... [INFO] checking vmm-sys-util-0.12.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate vmm-sys-util 0.12.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate vmm-sys-util 0.12.1 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] removed /workspace/builds/worker-1-tc2/source/.cargo/config [INFO] started tweaking crates.io crate vmm-sys-util 0.12.1 [INFO] finished tweaking crates.io crate vmm-sys-util 0.12.1 [INFO] tweaked toml for crates.io crate vmm-sys-util 0.12.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2e6047122720041b532bb097222aa903726a07c0c8ba600f9d756844a35f0498 [INFO] running `Command { std: "docker" "start" "-a" "2e6047122720041b532bb097222aa903726a07c0c8ba600f9d756844a35f0498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e6047122720041b532bb097222aa903726a07c0c8ba600f9d756844a35f0498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e6047122720041b532bb097222aa903726a07c0c8ba600f9d756844a35f0498", kill_on_drop: false }` [INFO] [stdout] 2e6047122720041b532bb097222aa903726a07c0c8ba600f9d756844a35f0498 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 45fdf866e9bd9b7f6e03432e5a1916aa266f73eab90c8d1cccc12bdc6c7fcee1 [INFO] running `Command { std: "docker" "start" "-a" "45fdf866e9bd9b7f6e03432e5a1916aa266f73eab90c8d1cccc12bdc6c7fcee1", 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 serde v1.0.210 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking vmm-sys-util v0.12.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `vmm_sys_util` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/fam.rs [INFO] [stderr] * src/linux/ioctl.rs [INFO] [stderr] * src/linux/poll.rs [INFO] [stderr] * src/linux/sock_ctrl_msg.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/linux/ioctl.rs:51:19 [INFO] [stderr] | [INFO] [stderr] 51 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021) => { [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/linux/ioctl.rs:51:35 [INFO] [stderr] | [INFO] [stderr] 51 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021) => { [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/linux/ioctl.rs:51:50 [INFO] [stderr] | [INFO] [stderr] 51 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021) => { [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/linux/ioctl.rs:51:65 [INFO] [stderr] | [INFO] [stderr] 51 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021) => { [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/linux/ioctl.rs:58:19 [INFO] [stderr] | [INFO] [stderr] 58 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021, $($v:ident),+) => { [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/linux/ioctl.rs:58:35 [INFO] [stderr] | [INFO] [stderr] 58 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021, $($v:ident),+) => { [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/linux/ioctl.rs:58:50 [INFO] [stderr] | [INFO] [stderr] 58 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021, $($v:ident),+) => { [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/linux/ioctl.rs:58:65 [INFO] [stderr] | [INFO] [stderr] 58 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021, $($v:ident),+) => { [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/linux/ioctl.rs:77:19 [INFO] [stderr] | [INFO] [stderr] 77 | ($name:ident, $ty:expr_2021, $nr:expr_2021) => { [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/linux/ioctl.rs:77:34 [INFO] [stderr] | [INFO] [stderr] 77 | ($name:ident, $ty:expr_2021, $nr:expr_2021) => { [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/linux/ioctl.rs:80:19 [INFO] [stderr] | [INFO] [stderr] 80 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $($v:ident),+) => { [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/linux/ioctl.rs:80:34 [INFO] [stderr] | [INFO] [stderr] 80 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $($v:ident),+) => { [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/linux/ioctl.rs:94:19 [INFO] [stderr] | [INFO] [stderr] 94 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty) => { [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/linux/ioctl.rs:94:34 [INFO] [stderr] | [INFO] [stderr] 94 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty) => { [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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr) => { [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] 51 | ($name:ident, $dir:expr_2021, $ty:expr, $nr:expr, $size:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr) => { [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] 51 | ($name:ident, $dir:expr, $ty:expr_2021, $nr:expr, $size:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr) => { [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] 51 | ($name:ident, $dir:expr, $ty:expr, $nr:expr_2021, $size:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:51:56 [INFO] [stdout] | [INFO] [stdout] 51 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr) => { [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] 51 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/linux/ioctl.rs:103:19 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr, $($v:ident),+) => { [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] 58 | ($name:ident, $dir:expr_2021, $ty:expr, $nr:expr, $size:expr, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr, $($v:ident),+) => { [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] 58 | ($name:ident, $dir:expr, $ty:expr_2021, $nr:expr, $size:expr, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 103 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty, $($v:ident),+) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 58 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr, $($v:ident),+) => { [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] 58 | ($name:ident, $dir:expr, $ty:expr, $nr:expr_2021, $size:expr, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 58 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr, $($v:ident),+) => { [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] 58 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr_2021, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | ($name:ident, $ty:expr, $nr:expr) => { [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] 77 | ($name:ident, $ty:expr_2021, $nr:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/linux/ioctl.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | ($name:ident, $ty:expr, $nr:expr) => { [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] 77 | ($name:ident, $ty:expr, $nr:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | ($name:ident, $ty:expr, $nr:expr, $($v:ident),+) => { [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] 80 | ($name:ident, $ty:expr_2021, $nr:expr, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | ($name:ident, $ty:expr, $nr:expr, $($v:ident),+) => { [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] 80 | ($name:ident, $ty:expr, $nr:expr_2021, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | ($name:ident, $ty:expr, $nr:expr, $size:ty) => { [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] 94 | ($name:ident, $ty:expr_2021, $nr:expr, $size:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | ($name:ident, $ty:expr, $nr:expr, $size:ty) => { [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] 94 | ($name:ident, $ty:expr, $nr:expr_2021, $size:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/linux/ioctl.rs:103:34 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | ($name:ident, $ty:expr, $nr:expr, $size:ty, $($v:ident),+) => { [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] 103 | ($name:ident, $ty:expr_2021, $nr:expr, $size:ty, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | ($name:ident, $ty:expr, $nr:expr, $size:ty, $($v:ident),+) => { [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] 103 | ($name:ident, $ty:expr, $nr:expr_2021, $size:ty, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 103 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty, $($v:ident),+) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | ($name:ident, $ty:expr, $nr:expr, $size:ty) => { [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] 124 | ($name:ident, $ty:expr_2021, $nr:expr, $size:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | ($name:ident, $ty:expr, $nr:expr, $size:ty) => { [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] 124 | ($name:ident, $ty:expr, $nr:expr_2021, $size:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | ($name:ident, $ty:expr, $nr:expr, $size:ty, $($v:ident),+) => { [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] 133 | ($name:ident, $ty:expr_2021, $nr:expr, $size:ty, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/linux/ioctl.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | ($name:ident, $ty:expr, $nr:expr, $size:ty, $($v:ident),+) => { [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] 133 | ($name:ident, $ty:expr, $nr:expr_2021, $size:ty, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | ($name:ident, $ty:expr, $nr:expr, $size:ty) => { [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] 154 | ($name:ident, $ty:expr_2021, $nr:expr, $size:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | ($name:ident, $ty:expr, $nr:expr, $size:ty) => { [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] 154 | ($name:ident, $ty:expr, $nr:expr_2021, $size:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | ($name:ident, $ty:expr, $nr:expr, $size:ty, $($v:ident),+) => { [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] 163 | ($name:ident, $ty:expr_2021, $nr:expr, $size:ty, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:163:33 [INFO] [stdout] | [INFO] [stdout] 163 | ($name:ident, $ty:expr, $nr:expr, $size:ty, $($v:ident),+) => { [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] 163 | ($name:ident, $ty:expr, $nr:expr_2021, $size:ty, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/linux/ioctl.rs:124:19 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/poll.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ($x:expr) => {{ [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] 31 | ($x:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/linux/signal.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 90 | | fn __libc_current_sigrtmin() -> c_int; [INFO] [stdout] 91 | | fn __libc_current_sigrtmax() -> c_int; [INFO] [stdout] 92 | | } [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] [stderr] 124 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty) => { [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::unnecessary_cast))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | ($len:expr) => { [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] 27 | ($len:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/linux/sock_ctrl_msg.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | ($len:expr) => { [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 | ($len:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | ($len:expr) => { [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] 50 | ($len:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:451:16 [INFO] [stdout] | [INFO] [stdout] 451 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::useless_asref))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fam.rs:598:49 [INFO] [stdout] | [INFO] [stdout] 598 | $field_type: ty, $field_name: ident, $max: expr) => { [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] 598 | $field_type: ty, $field_name: ident, $max: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, 0) [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/linux/ioctl.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | pub unsafe fn ioctl(fd: &F, req: c_ulong) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/linux/ioctl.rs:124:34 [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, arg) [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/linux/ioctl.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | pub unsafe fn ioctl_with_val(fd: &F, req: c_ulong, arg: c_ulong) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 124 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty) => { [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/linux/ioctl.rs:133:19 [INFO] [stderr] | [INFO] [stderr] 133 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty, $($v:ident),+) => { [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/linux/ioctl.rs:133:34 [INFO] [stderr] | [INFO] [stderr] 133 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty, $($v:ident),+) => { [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] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | / libc::ioctl( [INFO] [stdout] 316 | | fd.as_raw_fd(), [INFO] [stdout] 317 | | req as IoctlRequest, [INFO] [stdout] 318 | | arg as *const T as *const c_void, [INFO] [stdout] 319 | | ) [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/linux/ioctl.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 314 | pub unsafe fn ioctl_with_ref(fd: &F, req: c_ulong, arg: &T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | / libc::ioctl( [INFO] [stdout] 338 | | fd.as_raw_fd(), [INFO] [stdout] 339 | | req as IoctlRequest, [INFO] [stdout] 340 | | arg as *mut T as *mut c_void, [INFO] [stdout] 341 | | ) [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/linux/ioctl.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub unsafe fn ioctl_with_mut_ref(fd: &F, req: c_ulong, arg: &mut T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/linux/ioctl.rs:154:19 [INFO] [stderr] | [INFO] [stderr] 154 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty) => { [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/linux/ioctl.rs:154:34 [INFO] [stderr] | [INFO] [stderr] 154 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty) => { [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] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, arg 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/linux/ioctl.rs:358:1 [INFO] [stdout] | [INFO] [stdout] 358 | pub unsafe fn ioctl_with_ptr(fd: &F, req: c_ulong, arg: *const T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, arg as *mut 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/linux/ioctl.rs:376:1 [INFO] [stdout] | [INFO] [stdout] 376 | pub unsafe fn ioctl_with_mut_ptr(fd: &F, req: c_ulong, arg: *mut T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/linux/ioctl.rs:163:19 [INFO] [stderr] | [INFO] [stderr] 163 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty, $($v:ident),+) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/eventfd.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | eventfd: File::from_raw_fd(fd), [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/linux/eventfd.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe fn from_raw_fd(fd: RawFd) -> Self { [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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/linux/ioctl.rs:163:34 [INFO] [stderr] | [INFO] [stderr] 163 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty, $($v:ident),+) => { [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/linux/poll.rs:31:6 [INFO] [stderr] | [INFO] [stderr] 31 | ($x:expr_2021) => {{ [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/linux/sock_ctrl_msg.rs:27:6 [INFO] [stdout] warning[E0133]: call to unsafe function `libc::recvmsg` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let total_read = recvmsg(fd, &mut msg, 0); [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/linux/sock_ctrl_msg.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / unsafe fn raw_recvmsg( [INFO] [stdout] 208 | | fd: RawFd, [INFO] [stdout] 209 | | iovecs: &mut [iovec], [INFO] [stdout] 210 | | in_fds: &mut [RawFd], [INFO] [stdout] 211 | | ) -> Result<(usize, usize)> { [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | let cmsg = (cmsg_ptr as *mut cmsghdr).read_unaligned(); [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] [stderr] 27 | ($len:expr_2021) => { [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | let raw_fd = *(raw_fds_ptr.wrapping_add(fd_offset)) as c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `libc::close` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | libc::close(raw_fd); [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] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | / copy_nonoverlapping( [INFO] [stdout] 270 | | CMSG_DATA(cmsg_ptr), [INFO] [stdout] 271 | | in_fds[copied_fds_count..(copied_fds_count + fds_to_be_copied_count)] [INFO] [stdout] 272 | | .as_mut_ptr(), [INFO] [stdout] 273 | | fds_to_be_copied_count, [INFO] [stdout] 274 | | ); [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] [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] [stdout] warning[E0133]: call to unsafe function `libc::close` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | libc::close(*fd); [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] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/linux/sock_ctrl_msg.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ($len:expr_2021) => { [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/linux/sock_ctrl_msg.rs:50:6 [INFO] [stderr] | [INFO] [stderr] 50 | ($len:expr_2021) => { [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/fam.rs:598:43 [INFO] [stderr] | [INFO] [stderr] 598 | $field_type: ty, $field_name: ident, $max: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `linux::sock_ctrl_msg::raw_recvmsg` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | raw_recvmsg(self.socket_fd(), iovecs, fds) [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/linux/sock_ctrl_msg.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | / unsafe fn recv_with_fds( [INFO] [stdout] 412 | | &self, [INFO] [stdout] 413 | | iovecs: &mut [iovec], [INFO] [stdout] 414 | | fds: &mut [RawFd], [INFO] [stdout] 415 | | ) -> Result<(usize, usize)> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/timerfd.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | TimerFd(File::from_raw_fd(fd)) [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/linux/timerfd.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe fn from_raw_fd(fd: RawFd) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/linux/sock_ctrl_msg.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | feature = "cargo-clippy", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/linux/sock_ctrl_msg.rs:206:12 [INFO] [stderr] | [INFO] [stderr] 206 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::unnecessary_cast))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/linux/sock_ctrl_msg.rs:451:16 [INFO] [stderr] | [INFO] [stderr] 451 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::useless_asref))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] error: aborting due to 29 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `vmm_sys_util` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/fam.rs [INFO] [stderr] * src/linux/ioctl.rs [INFO] [stderr] * src/linux/poll.rs [INFO] [stderr] * src/linux/sock_ctrl_msg.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/linux/ioctl.rs:51:19 [INFO] [stderr] | [INFO] [stderr] 51 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021) => { [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/linux/ioctl.rs:51:35 [INFO] [stderr] | [INFO] [stderr] 51 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021) => { [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/linux/ioctl.rs:51:50 [INFO] [stderr] | [INFO] [stderr] 51 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021) => { [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/linux/ioctl.rs:51:65 [INFO] [stderr] | [INFO] [stderr] 51 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021) => { [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/linux/ioctl.rs:58:19 [INFO] [stderr] | [INFO] [stderr] 58 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021, $($v:ident),+) => { [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/linux/ioctl.rs:58:35 [INFO] [stderr] | [INFO] [stderr] 58 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021, $($v:ident),+) => { [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/linux/ioctl.rs:58:50 [INFO] [stderr] | [INFO] [stderr] 58 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021, $($v:ident),+) => { [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/linux/ioctl.rs:58:65 [INFO] [stderr] | [INFO] [stderr] 58 | ($name:ident, $dir:expr_2021, $ty:expr_2021, $nr:expr_2021, $size:expr_2021, $($v:ident),+) => { [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/linux/ioctl.rs:77:19 [INFO] [stderr] | [INFO] [stderr] 77 | ($name:ident, $ty:expr_2021, $nr:expr_2021) => { [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/linux/ioctl.rs:77:34 [INFO] [stderr] | [INFO] [stderr] 77 | ($name:ident, $ty:expr_2021, $nr:expr_2021) => { [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/linux/ioctl.rs:80:19 [INFO] [stderr] | [INFO] [stderr] 80 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $($v:ident),+) => { [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/linux/ioctl.rs:80:34 [INFO] [stderr] | [INFO] [stderr] 80 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $($v:ident),+) => { [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/linux/ioctl.rs:94:19 [INFO] [stderr] | [INFO] [stderr] 94 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty) => { [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/linux/ioctl.rs:94:34 [INFO] [stderr] | [INFO] [stderr] 94 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty) => { [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/linux/ioctl.rs:103:19 [INFO] [stderr] | [INFO] [stderr] 103 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty, $($v:ident),+) => { [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/linux/ioctl.rs:103:34 [INFO] [stderr] | [INFO] [stderr] 103 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty, $($v:ident),+) => { [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/linux/ioctl.rs:124:19 [INFO] [stderr] | [INFO] [stderr] 124 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty) => { [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/linux/ioctl.rs:124:34 [INFO] [stderr] | [INFO] [stderr] 124 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty) => { [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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr) => { [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] 51 | ($name:ident, $dir:expr_2021, $ty:expr, $nr:expr, $size:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr) => { [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] 51 | ($name:ident, $dir:expr, $ty:expr_2021, $nr:expr, $size:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr) => { [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] 51 | ($name:ident, $dir:expr, $ty:expr, $nr:expr_2021, $size:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:51:56 [INFO] [stdout] | [INFO] [stdout] 51 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr) => { [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] 51 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/linux/ioctl.rs:133:19 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr, $($v:ident),+) => { [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] 58 | ($name:ident, $dir:expr_2021, $ty:expr, $nr:expr, $size:expr, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr, $($v:ident),+) => { [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] 58 | ($name:ident, $dir:expr, $ty:expr_2021, $nr:expr, $size:expr, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 133 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty, $($v:ident),+) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 58 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr, $($v:ident),+) => { [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] 58 | ($name:ident, $dir:expr, $ty:expr, $nr:expr_2021, $size:expr, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:58:56 [INFO] [stdout] | [INFO] [stdout] 58 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr, $($v:ident),+) => { [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] 58 | ($name:ident, $dir:expr, $ty:expr, $nr:expr, $size:expr_2021, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | ($name:ident, $ty:expr, $nr:expr) => { [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] 77 | ($name:ident, $ty:expr_2021, $nr:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/linux/ioctl.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | ($name:ident, $ty:expr, $nr:expr) => { [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] 77 | ($name:ident, $ty:expr, $nr:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | ($name:ident, $ty:expr, $nr:expr, $($v:ident),+) => { [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] 80 | ($name:ident, $ty:expr_2021, $nr:expr, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | ($name:ident, $ty:expr, $nr:expr, $($v:ident),+) => { [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] 80 | ($name:ident, $ty:expr, $nr:expr_2021, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | ($name:ident, $ty:expr, $nr:expr, $size:ty) => { [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] 94 | ($name:ident, $ty:expr_2021, $nr:expr, $size:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | ($name:ident, $ty:expr, $nr:expr, $size:ty) => { [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] 94 | ($name:ident, $ty:expr, $nr:expr_2021, $size:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/linux/ioctl.rs:133:34 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:103:23 [INFO] [stdout] | [INFO] [stdout] 103 | ($name:ident, $ty:expr, $nr:expr, $size:ty, $($v:ident),+) => { [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] 103 | ($name:ident, $ty:expr_2021, $nr:expr, $size:ty, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | ($name:ident, $ty:expr, $nr:expr, $size:ty, $($v:ident),+) => { [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] 103 | ($name:ident, $ty:expr, $nr:expr_2021, $size:ty, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 133 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty, $($v:ident),+) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | ($name:ident, $ty:expr, $nr:expr, $size:ty) => { [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] 124 | ($name:ident, $ty:expr_2021, $nr:expr, $size:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:124:33 [INFO] [stdout] | [INFO] [stdout] 124 | ($name:ident, $ty:expr, $nr:expr, $size:ty) => { [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] 124 | ($name:ident, $ty:expr, $nr:expr_2021, $size:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | ($name:ident, $ty:expr, $nr:expr, $size:ty, $($v:ident),+) => { [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] 133 | ($name:ident, $ty:expr_2021, $nr:expr, $size:ty, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/linux/ioctl.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | ($name:ident, $ty:expr, $nr:expr, $size:ty, $($v:ident),+) => { [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] 133 | ($name:ident, $ty:expr, $nr:expr_2021, $size:ty, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | ($name:ident, $ty:expr, $nr:expr, $size:ty) => { [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] 154 | ($name:ident, $ty:expr_2021, $nr:expr, $size:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | ($name:ident, $ty:expr, $nr:expr, $size:ty) => { [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] 154 | ($name:ident, $ty:expr, $nr:expr_2021, $size:ty) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | ($name:ident, $ty:expr, $nr:expr, $size:ty, $($v:ident),+) => { [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] 163 | ($name:ident, $ty:expr_2021, $nr:expr, $size:ty, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/ioctl.rs:163:33 [INFO] [stdout] | [INFO] [stdout] 163 | ($name:ident, $ty:expr, $nr:expr, $size:ty, $($v:ident),+) => { [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] 163 | ($name:ident, $ty:expr, $nr:expr_2021, $size:ty, $($v:ident),+) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/linux/ioctl.rs:154:19 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/poll.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | ($x:expr) => {{ [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] 31 | ($x:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/linux/signal.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 90 | | fn __libc_current_sigrtmin() -> c_int; [INFO] [stdout] 91 | | fn __libc_current_sigrtmax() -> c_int; [INFO] [stdout] 92 | | } [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] [stderr] 154 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty) => { [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::unnecessary_cast))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | ($len:expr) => { [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] 27 | ($len:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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/linux/sock_ctrl_msg.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | ($len:expr) => { [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 | ($len:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | ($len:expr) => { [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] 50 | ($len:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:451:16 [INFO] [stdout] | [INFO] [stdout] 451 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::useless_asref))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/fam.rs:598:49 [INFO] [stdout] | [INFO] [stdout] 598 | $field_type: ty, $field_name: ident, $max: expr) => { [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] 598 | $field_type: ty, $field_name: ident, $max: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, 0) [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/linux/ioctl.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | pub unsafe fn ioctl(fd: &F, req: c_ulong) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/linux/ioctl.rs:154:34 [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, arg) [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/linux/ioctl.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | pub unsafe fn ioctl_with_val(fd: &F, req: c_ulong, arg: c_ulong) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 154 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty) => { [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/linux/ioctl.rs:163:19 [INFO] [stderr] | [INFO] [stderr] 163 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty, $($v:ident),+) => { [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/linux/ioctl.rs:163:34 [INFO] [stderr] | [INFO] [stderr] 163 | ($name:ident, $ty:expr_2021, $nr:expr_2021, $size:ty, $($v:ident),+) => { [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/linux/poll.rs:31:6 [INFO] [stderr] | [INFO] [stderr] 31 | ($x:expr_2021) => {{ [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/linux/sock_ctrl_msg.rs:27:6 [INFO] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | / libc::ioctl( [INFO] [stdout] 316 | | fd.as_raw_fd(), [INFO] [stdout] 317 | | req as IoctlRequest, [INFO] [stdout] 318 | | arg as *const T as *const c_void, [INFO] [stdout] 319 | | ) [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/linux/ioctl.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 314 | pub unsafe fn ioctl_with_ref(fd: &F, req: c_ulong, arg: &T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 27 | ($len:expr_2021) => { [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | / libc::ioctl( [INFO] [stdout] 338 | | fd.as_raw_fd(), [INFO] [stdout] 339 | | req as IoctlRequest, [INFO] [stdout] 340 | | arg as *mut T as *mut c_void, [INFO] [stdout] 341 | | ) [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/linux/ioctl.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub unsafe fn ioctl_with_mut_ref(fd: &F, req: c_ulong, arg: &mut T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, arg 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/linux/ioctl.rs:358:1 [INFO] [stdout] | [INFO] [stdout] 358 | pub unsafe fn ioctl_with_ptr(fd: &F, req: c_ulong, arg: *const T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, arg as *mut 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/linux/ioctl.rs:376:1 [INFO] [stdout] | [INFO] [stdout] 376 | pub unsafe fn ioctl_with_mut_ptr(fd: &F, req: c_ulong, arg: *mut T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/eventfd.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | eventfd: File::from_raw_fd(fd), [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/linux/eventfd.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe fn from_raw_fd(fd: RawFd) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning[E0133]: call to unsafe function `libc::recvmsg` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let total_read = recvmsg(fd, &mut msg, 0); [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/linux/sock_ctrl_msg.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / unsafe fn raw_recvmsg( [INFO] [stdout] 208 | | fd: RawFd, [INFO] [stdout] 209 | | iovecs: &mut [iovec], [INFO] [stdout] 210 | | in_fds: &mut [RawFd], [INFO] [stdout] 211 | | ) -> Result<(usize, usize)> { [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | let cmsg = (cmsg_ptr as *mut cmsghdr).read_unaligned(); [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] [stderr] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | let raw_fd = *(raw_fds_ptr.wrapping_add(fd_offset)) as c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning[E0133]: call to unsafe function `libc::close` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | libc::close(raw_fd); [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] [stderr] --> src/linux/sock_ctrl_msg.rs:33:6 [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | / copy_nonoverlapping( [INFO] [stdout] 270 | | CMSG_DATA(cmsg_ptr), [INFO] [stdout] 271 | | in_fds[copied_fds_count..(copied_fds_count + fds_to_be_copied_count)] [INFO] [stdout] 272 | | .as_mut_ptr(), [INFO] [stdout] 273 | | fds_to_be_copied_count, [INFO] [stdout] 274 | | ); [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] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `libc::close` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | libc::close(*fd); [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] [stderr] 33 | ($len:expr_2021) => { [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/linux/sock_ctrl_msg.rs:50:6 [INFO] [stderr] | [INFO] [stderr] 50 | ($len:expr_2021) => { [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/fam.rs:598:43 [INFO] [stderr] | [INFO] [stderr] 598 | $field_type: ty, $field_name: ident, $max: expr_2021) => { [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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/linux/sock_ctrl_msg.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | feature = "cargo-clippy", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `linux::sock_ctrl_msg::raw_recvmsg` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | raw_recvmsg(self.socket_fd(), iovecs, fds) [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/linux/sock_ctrl_msg.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | / unsafe fn recv_with_fds( [INFO] [stdout] 412 | | &self, [INFO] [stdout] 413 | | iovecs: &mut [iovec], [INFO] [stdout] 414 | | fds: &mut [RawFd], [INFO] [stdout] 415 | | ) -> Result<(usize, usize)> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/timerfd.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | TimerFd(File::from_raw_fd(fd)) [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/linux/timerfd.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe fn from_raw_fd(fd: RawFd) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> src/fam.rs:656:13 [INFO] [stdout] | [INFO] [stdout] 656 | ::std::slice::from_raw_parts(self.as_ptr(), 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/fam.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | pub unsafe fn as_slice(&self, len: usize) -> &[T] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stdout] warning[E0133]: call to unsafe function `fam::tests::__IncompleteArrayField::::as_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/fam.rs:656:42 [INFO] [stdout] | [INFO] [stdout] 656 | ::std::slice::from_raw_parts(self.as_ptr(), 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] [INFO] [stdout] [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/linux/sock_ctrl_msg.rs:206:12 [INFO] [stderr] | [INFO] [stderr] 206 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::unnecessary_cast))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/linux/sock_ctrl_msg.rs:451:16 [INFO] [stderr] | [INFO] [stderr] 451 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::useless_asref))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] error: aborting due to 29 previous errors; 3 warnings emitted [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[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/fam.rs:660:13 [INFO] [stdout] | [INFO] [stdout] 660 | ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), 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/fam.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 659 | pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `fam::tests::__IncompleteArrayField::::as_mut_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/fam.rs:660:46 [INFO] [stdout] | [INFO] [stdout] 660 | ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), 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] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/linux/signal.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | format!("{:?}", register_signal_handler(SIGRTMAX(), handle_signal)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> src/linux/signal.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | format!("{:?}", res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.66s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking vmm-sys-util v0.12.1 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/linux/signal.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / extern "C" { [INFO] [stdout] 90 | | fn __libc_current_sigrtmin() -> c_int; [INFO] [stdout] 91 | | fn __libc_current_sigrtmax() -> c_int; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/linux/signal.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / extern "C" { [INFO] [stdout] 90 | | fn __libc_current_sigrtmin() -> c_int; [INFO] [stdout] 91 | | fn __libc_current_sigrtmax() -> c_int; [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::unnecessary_cast))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:451:16 [INFO] [stdout] | [INFO] [stdout] 451 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::useless_asref))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::unnecessary_cast))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:451:16 [INFO] [stdout] | [INFO] [stdout] 451 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::useless_asref))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde`, `serde_derive`, and `with-serde` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, 0) [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/linux/ioctl.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | pub unsafe fn ioctl(fd: &F, req: c_ulong) -> c_int { [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 `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, arg) [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/linux/ioctl.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | pub unsafe fn ioctl_with_val(fd: &F, req: c_ulong, arg: c_ulong) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | / libc::ioctl( [INFO] [stdout] 316 | | fd.as_raw_fd(), [INFO] [stdout] 317 | | req as IoctlRequest, [INFO] [stdout] 318 | | arg as *const T as *const c_void, [INFO] [stdout] 319 | | ) [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/linux/ioctl.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 314 | pub unsafe fn ioctl_with_ref(fd: &F, req: c_ulong, arg: &T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | / libc::ioctl( [INFO] [stdout] 338 | | fd.as_raw_fd(), [INFO] [stdout] 339 | | req as IoctlRequest, [INFO] [stdout] 340 | | arg as *mut T as *mut c_void, [INFO] [stdout] 341 | | ) [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/linux/ioctl.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub unsafe fn ioctl_with_mut_ref(fd: &F, req: c_ulong, arg: &mut T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, arg 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/linux/ioctl.rs:358:1 [INFO] [stdout] | [INFO] [stdout] 358 | pub unsafe fn ioctl_with_ptr(fd: &F, req: c_ulong, arg: *const T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, arg as *mut 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/linux/ioctl.rs:376:1 [INFO] [stdout] | [INFO] [stdout] 376 | pub unsafe fn ioctl_with_mut_ptr(fd: &F, req: c_ulong, arg: *mut T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/eventfd.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | eventfd: File::from_raw_fd(fd), [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/linux/eventfd.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe fn from_raw_fd(fd: RawFd) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::recvmsg` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let total_read = recvmsg(fd, &mut msg, 0); [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/linux/sock_ctrl_msg.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / unsafe fn raw_recvmsg( [INFO] [stdout] 208 | | fd: RawFd, [INFO] [stdout] 209 | | iovecs: &mut [iovec], [INFO] [stdout] 210 | | in_fds: &mut [RawFd], [INFO] [stdout] 211 | | ) -> Result<(usize, usize)> { [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | let cmsg = (cmsg_ptr as *mut cmsghdr).read_unaligned(); [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | let raw_fd = *(raw_fds_ptr.wrapping_add(fd_offset)) as c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::close` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | libc::close(raw_fd); [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | / copy_nonoverlapping( [INFO] [stdout] 270 | | CMSG_DATA(cmsg_ptr), [INFO] [stdout] 271 | | in_fds[copied_fds_count..(copied_fds_count + fds_to_be_copied_count)] [INFO] [stdout] 272 | | .as_mut_ptr(), [INFO] [stdout] 273 | | fds_to_be_copied_count, [INFO] [stdout] 274 | | ); [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 `libc::close` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | libc::close(*fd); [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 `linux::sock_ctrl_msg::raw_recvmsg` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | raw_recvmsg(self.socket_fd(), iovecs, fds) [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/linux/sock_ctrl_msg.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | / unsafe fn recv_with_fds( [INFO] [stdout] 412 | | &self, [INFO] [stdout] 413 | | iovecs: &mut [iovec], [INFO] [stdout] 414 | | fds: &mut [RawFd], [INFO] [stdout] 415 | | ) -> Result<(usize, usize)> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/timerfd.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | TimerFd(File::from_raw_fd(fd)) [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/linux/timerfd.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe fn from_raw_fd(fd: RawFd) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 18 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 `vmm-sys-util` (lib) due to 2 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, 0) [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/linux/ioctl.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | pub unsafe fn ioctl(fd: &F, req: c_ulong) -> c_int { [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 `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, arg) [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/linux/ioctl.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | pub unsafe fn ioctl_with_val(fd: &F, req: c_ulong, arg: c_ulong) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | / libc::ioctl( [INFO] [stdout] 316 | | fd.as_raw_fd(), [INFO] [stdout] 317 | | req as IoctlRequest, [INFO] [stdout] 318 | | arg as *const T as *const c_void, [INFO] [stdout] 319 | | ) [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/linux/ioctl.rs:314:1 [INFO] [stdout] | [INFO] [stdout] 314 | pub unsafe fn ioctl_with_ref(fd: &F, req: c_ulong, arg: &T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | / libc::ioctl( [INFO] [stdout] 338 | | fd.as_raw_fd(), [INFO] [stdout] 339 | | req as IoctlRequest, [INFO] [stdout] 340 | | arg as *mut T as *mut c_void, [INFO] [stdout] 341 | | ) [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/linux/ioctl.rs:336:1 [INFO] [stdout] | [INFO] [stdout] 336 | pub unsafe fn ioctl_with_mut_ref(fd: &F, req: c_ulong, arg: &mut T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, arg 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/linux/ioctl.rs:358:1 [INFO] [stdout] | [INFO] [stdout] 358 | pub unsafe fn ioctl_with_ptr(fd: &F, req: c_ulong, arg: *const T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::ioctl` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/ioctl.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | libc::ioctl(fd.as_raw_fd(), req as IoctlRequest, arg as *mut 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/linux/ioctl.rs:376:1 [INFO] [stdout] | [INFO] [stdout] 376 | pub unsafe fn ioctl_with_mut_ptr(fd: &F, req: c_ulong, arg: *mut T) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/eventfd.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | eventfd: File::from_raw_fd(fd), [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/linux/eventfd.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe fn from_raw_fd(fd: RawFd) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::recvmsg` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | let total_read = recvmsg(fd, &mut msg, 0); [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/linux/sock_ctrl_msg.rs:207:1 [INFO] [stdout] | [INFO] [stdout] 207 | / unsafe fn raw_recvmsg( [INFO] [stdout] 208 | | fd: RawFd, [INFO] [stdout] 209 | | iovecs: &mut [iovec], [INFO] [stdout] 210 | | in_fds: &mut [RawFd], [INFO] [stdout] 211 | | ) -> Result<(usize, usize)> { [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read_unaligned` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:246:20 [INFO] [stdout] | [INFO] [stdout] 246 | let cmsg = (cmsg_ptr as *mut cmsghdr).read_unaligned(); [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]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:263:34 [INFO] [stdout] | [INFO] [stdout] 263 | let raw_fd = *(raw_fds_ptr.wrapping_add(fd_offset)) as c_int; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `libc::close` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | libc::close(raw_fd); [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::intrinsics::copy_nonoverlapping` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | / copy_nonoverlapping( [INFO] [stdout] 270 | | CMSG_DATA(cmsg_ptr), [INFO] [stdout] 271 | | in_fds[copied_fds_count..(copied_fds_count + fds_to_be_copied_count)] [INFO] [stdout] 272 | | .as_mut_ptr(), [INFO] [stdout] 273 | | fds_to_be_copied_count, [INFO] [stdout] 274 | | ); [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 `libc::close` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | libc::close(*fd); [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 `linux::sock_ctrl_msg::raw_recvmsg` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/sock_ctrl_msg.rs:416:9 [INFO] [stdout] | [INFO] [stdout] 416 | raw_recvmsg(self.socket_fd(), iovecs, fds) [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/linux/sock_ctrl_msg.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | / unsafe fn recv_with_fds( [INFO] [stdout] 412 | | &self, [INFO] [stdout] 413 | | iovecs: &mut [iovec], [INFO] [stdout] 414 | | fds: &mut [RawFd], [INFO] [stdout] 415 | | ) -> Result<(usize, usize)> { [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::os::fd::FromRawFd::from_raw_fd` is unsafe and requires unsafe block [INFO] [stdout] --> src/linux/timerfd.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | TimerFd(File::from_raw_fd(fd)) [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/linux/timerfd.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | unsafe fn from_raw_fd(fd: RawFd) -> Self { [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/fam.rs:656:13 [INFO] [stdout] | [INFO] [stdout] 656 | ::std::slice::from_raw_parts(self.as_ptr(), 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/fam.rs:655:9 [INFO] [stdout] | [INFO] [stdout] 655 | pub unsafe fn as_slice(&self, len: usize) -> &[T] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `fam::tests::__IncompleteArrayField::::as_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/fam.rs:656:42 [INFO] [stdout] | [INFO] [stdout] 656 | ::std::slice::from_raw_parts(self.as_ptr(), 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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> src/fam.rs:660:13 [INFO] [stdout] | [INFO] [stdout] 660 | ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), 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/fam.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 659 | pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `fam::tests::__IncompleteArrayField::::as_mut_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/fam.rs:660:46 [INFO] [stdout] | [INFO] [stdout] 660 | ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 22 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 `vmm-sys-util` (lib test) due to 2 previous errors; 22 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" "45fdf866e9bd9b7f6e03432e5a1916aa266f73eab90c8d1cccc12bdc6c7fcee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45fdf866e9bd9b7f6e03432e5a1916aa266f73eab90c8d1cccc12bdc6c7fcee1", kill_on_drop: false }` [INFO] [stdout] 45fdf866e9bd9b7f6e03432e5a1916aa266f73eab90c8d1cccc12bdc6c7fcee1