[INFO] cloning repository https://github.com/whamcloud/rust-libzfs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/whamcloud/rust-libzfs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhamcloud%2Frust-libzfs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhamcloud%2Frust-libzfs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6041b5e746cdaff54552b9c53163686378f74bdf [INFO] checking whamcloud/rust-libzfs against master#d0835adc4e114eac911150b3692b830b5583223a for pr-149195-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhamcloud%2Frust-libzfs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/whamcloud/rust-libzfs [INFO] finished tweaking git repo https://github.com/whamcloud/rust-libzfs [INFO] tweaked toml for git repo https://github.com/whamcloud/rust-libzfs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/whamcloud/rust-libzfs on toolchain d0835adc4e114eac911150b3692b830b5583223a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0835adc4e114eac911150b3692b830b5583223a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/whamcloud/rust-libzfs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0835adc4e114eac911150b3692b830b5583223a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/libzfs-types/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/libzfs-sys/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/libzfs/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.10 [INFO] [stderr] Downloaded pkg-config v0.3.17 [INFO] [stderr] Downloaded nvpair-sys v0.1.0 [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded vec_map v0.8.1 [INFO] [stderr] Downloaded quote v1.0.3 [INFO] [stderr] Downloaded cstr-argument v0.1.1 [INFO] [stderr] Downloaded version_check v0.1.5 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded log v0.4.8 [INFO] [stderr] Downloaded hermit-abi v0.1.12 [INFO] [stderr] Downloaded cexpr v0.3.6 [INFO] [stderr] Downloaded glob v0.3.0 [INFO] [stderr] Downloaded cc v1.0.52 [INFO] [stderr] Downloaded nom v4.2.3 [INFO] [stderr] Downloaded serde v1.0.106 [INFO] [stderr] Downloaded libloading v0.5.2 [INFO] [stderr] Downloaded bindgen v0.51.1 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded syn v1.0.18 [INFO] [stderr] Downloaded regex v1.3.7 [INFO] [stderr] Downloaded clang-sys v0.28.1 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded termcolor v1.1.0 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded serde_derive v1.0.106 [INFO] [stderr] Downloaded shlex v0.1.1 [INFO] [stderr] Downloaded regex-syntax v0.6.17 [INFO] [stderr] Downloaded which v3.1.1 [INFO] [stderr] Downloaded libc v0.2.69 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+d0835adc4e114eac911150b3692b830b5583223a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf2503341f00a811b33bec22c476754e60b5fa466005624a2f39ef8a2a3e0bca [INFO] running `Command { std: "docker" "start" "-a" "cf2503341f00a811b33bec22c476754e60b5fa466005624a2f39ef8a2a3e0bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf2503341f00a811b33bec22c476754e60b5fa466005624a2f39ef8a2a3e0bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf2503341f00a811b33bec22c476754e60b5fa466005624a2f39ef8a2a3e0bca", kill_on_drop: false }` [INFO] [stdout] cf2503341f00a811b33bec22c476754e60b5fa466005624a2f39ef8a2a3e0bca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+d0835adc4e114eac911150b3692b830b5583223a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0811cd9a3adf3dbdbad3e3c271ec335ec233b8c81aea0554aebb1e0f1c4adab [INFO] running `Command { std: "docker" "start" "-a" "b0811cd9a3adf3dbdbad3e3c271ec335ec233b8c81aea0554aebb1e0f1c4adab", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/libzfs-types/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/libzfs-sys/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/libzfs/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling nvpair-sys v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking cstr-argument v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking libzfs-types v0.1.2 (/opt/rustwide/workdir/libzfs-types) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq, Hash, Serialize, Deserialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:68:49 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq, Hash, Serialize, Deserialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, PartialEq, Eq, Hash, Deserialize, Serialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:102:51 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, PartialEq, Eq, Hash, Deserialize, Serialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libzfs-types/src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq, Hash, Serialize, Deserialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:68:49 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq, Hash, Serialize, Deserialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, PartialEq, Eq, Hash, Deserialize, Serialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:102:51 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, PartialEq, Eq, Hash, Deserialize, Serialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> libzfs-types/src/lib.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> libzfs-types/src/lib.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq, Hash, Serialize, Deserialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VDev` [INFO] [stdout] 69 | pub enum VDev { [INFO] [stdout] | ---- `VDev` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:68:49 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq, Hash, Serialize, Deserialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VDev` [INFO] [stdout] 69 | pub enum VDev { [INFO] [stdout] | ---- `VDev` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, PartialEq, Eq, Hash, Deserialize, Serialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ZProp` [INFO] [stdout] 103 | pub struct ZProp { [INFO] [stdout] | ----- `ZProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:102:51 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, PartialEq, Eq, Hash, Deserialize, Serialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ZProp` [INFO] [stdout] 103 | pub struct ZProp { [INFO] [stdout] | ----- `ZProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Pool` [INFO] [stdout] 110 | pub struct Pool { [INFO] [stdout] | ---- `Pool` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Pool` [INFO] [stdout] 110 | pub struct Pool { [INFO] [stdout] | ---- `Pool` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Dataset` [INFO] [stdout] 126 | pub struct Dataset { [INFO] [stdout] | ------- `Dataset` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Dataset` [INFO] [stdout] 126 | pub struct Dataset { [INFO] [stdout] | ------- `Dataset` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq, Hash, Serialize, Deserialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VDev` [INFO] [stdout] 69 | pub enum VDev { [INFO] [stdout] | ---- `VDev` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:68:49 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq, Hash, Serialize, Deserialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VDev` [INFO] [stdout] 69 | pub enum VDev { [INFO] [stdout] | ---- `VDev` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, PartialEq, Eq, Hash, Deserialize, Serialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_ZProp` [INFO] [stdout] 103 | pub struct ZProp { [INFO] [stdout] | ----- `ZProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:102:51 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(Debug, PartialEq, Eq, Hash, Deserialize, Serialize, Clone, PartialOrd, Ord)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ZProp` [INFO] [stdout] 103 | pub struct ZProp { [INFO] [stdout] | ----- `ZProp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Pool` [INFO] [stdout] 110 | pub struct Pool { [INFO] [stdout] | ---- `Pool` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Pool` [INFO] [stdout] 110 | pub struct Pool { [INFO] [stdout] | ---- `Pool` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Dataset` [INFO] [stdout] 126 | pub struct Dataset { [INFO] [stdout] | ------- `Dataset` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> libzfs-types/src/lib.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Debug, Serialize, PartialEq, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Dataset` [INFO] [stdout] 126 | pub struct Dataset { [INFO] [stdout] | ------- `Dataset` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libzfs-sys v0.5.11 (/opt/rustwide/workdir/libzfs-sys) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> libzfs-sys/src/lib.rs:314:38 [INFO] [stdout] | [INFO] [stdout] 314 | let mut n = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libzfs-sys` (lib test) due to 57 previous errors; 14 warnings emitted [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:382:19 [INFO] [stdout] | [INFO] [stdout] 382 | unsafe { &(*(::std::ptr::null::())).vs_timestamp as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:392:19 [INFO] [stdout] | [INFO] [stdout] 392 | unsafe { &(*(::std::ptr::null::())).vs_state as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:402:19 [INFO] [stdout] | [INFO] [stdout] 402 | unsafe { &(*(::std::ptr::null::())).vs_aux as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:412:19 [INFO] [stdout] | [INFO] [stdout] 412 | unsafe { &(*(::std::ptr::null::())).vs_alloc as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:422:19 [INFO] [stdout] | [INFO] [stdout] 422 | unsafe { &(*(::std::ptr::null::())).vs_space as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:432:19 [INFO] [stdout] | [INFO] [stdout] 432 | unsafe { &(*(::std::ptr::null::())).vs_dspace as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:442:19 [INFO] [stdout] | [INFO] [stdout] 442 | unsafe { &(*(::std::ptr::null::())).vs_rsize as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:452:19 [INFO] [stdout] | [INFO] [stdout] 452 | unsafe { &(*(::std::ptr::null::())).vs_esize as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:462:19 [INFO] [stdout] | [INFO] [stdout] 462 | unsafe { &(*(::std::ptr::null::())).vs_ops as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:472:19 [INFO] [stdout] | [INFO] [stdout] 472 | unsafe { &(*(::std::ptr::null::())).vs_bytes as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:482:19 [INFO] [stdout] | [INFO] [stdout] 482 | unsafe { &(*(::std::ptr::null::())).vs_read_errors as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:492:19 [INFO] [stdout] | [INFO] [stdout] 492 | unsafe { &(*(::std::ptr::null::())).vs_write_errors as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:502:19 [INFO] [stdout] | [INFO] [stdout] 502 | unsafe { &(*(::std::ptr::null::())).vs_checksum_errors as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:512:19 [INFO] [stdout] | [INFO] [stdout] 512 | unsafe { &(*(::std::ptr::null::())).vs_self_healed as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:522:19 [INFO] [stdout] | [INFO] [stdout] 522 | unsafe { &(*(::std::ptr::null::())).vs_scan_removing as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:532:19 [INFO] [stdout] | [INFO] [stdout] 532 | unsafe { &(*(::std::ptr::null::())).vs_scan_processed as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:542:19 [INFO] [stdout] | [INFO] [stdout] 542 | unsafe { &(*(::std::ptr::null::())).vs_fragmentation as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:583:19 [INFO] [stdout] | [INFO] [stdout] 583 | unsafe { &(*(::std::ptr::null::())).dds_num_clones as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:594:14 [INFO] [stdout] | [INFO] [stdout] 594 | &(*(::std::ptr::null::())).dds_creation_txg as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:605:19 [INFO] [stdout] | [INFO] [stdout] 605 | unsafe { &(*(::std::ptr::null::())).dds_guid as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:615:19 [INFO] [stdout] | [INFO] [stdout] 615 | unsafe { &(*(::std::ptr::null::())).dds_type as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:626:14 [INFO] [stdout] | [INFO] [stdout] 626 | &(*(::std::ptr::null::())).dds_is_snapshot as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:638:14 [INFO] [stdout] | [INFO] [stdout] 638 | &(*(::std::ptr::null::())).dds_inconsistent as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:649:19 [INFO] [stdout] | [INFO] [stdout] 649 | unsafe { &(*(::std::ptr::null::())).dds_origin as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:769:19 [INFO] [stdout] | [INFO] [stdout] 769 | unsafe { &(*(::std::ptr::null::())).path as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:779:19 [INFO] [stdout] | [INFO] [stdout] 779 | unsafe { &(*(::std::ptr::null::())).paths as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:789:19 [INFO] [stdout] | [INFO] [stdout] 789 | unsafe { &(*(::std::ptr::null::())).poolname as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:799:19 [INFO] [stdout] | [INFO] [stdout] 799 | unsafe { &(*(::std::ptr::null::())).guid as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:809:19 [INFO] [stdout] | [INFO] [stdout] 809 | unsafe { &(*(::std::ptr::null::())).cachefile as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:822:18 [INFO] [stdout] | [INFO] [stdout] 822 | unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) } [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:827:28 [INFO] [stdout] | [INFO] [stdout] 827 | let val: u32 = ::std::mem::transmute(val); [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:833:18 [INFO] [stdout] | [INFO] [stdout] 833 | unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) } [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:838:28 [INFO] [stdout] | [INFO] [stdout] 838 | let val: u32 = ::std::mem::transmute(val); [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:844:18 [INFO] [stdout] | [INFO] [stdout] 844 | unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) } [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:849:28 [INFO] [stdout] | [INFO] [stdout] 849 | let val: u32 = ::std::mem::transmute(val); [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:855:18 [INFO] [stdout] | [INFO] [stdout] 855 | unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) } [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:860:28 [INFO] [stdout] | [INFO] [stdout] 860 | let val: u32 = ::std::mem::transmute(val); [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:874:47 [INFO] [stdout] | [INFO] [stdout] 874 | let can_be_active: u32 = unsafe { ::std::mem::transmute(can_be_active) }; [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:878:40 [INFO] [stdout] | [INFO] [stdout] 878 | let unique: u32 = unsafe { ::std::mem::transmute(unique) }; [INFO] [stdout] | ---------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:882:40 [INFO] [stdout] | [INFO] [stdout] 882 | let exists: u32 = unsafe { ::std::mem::transmute(exists) }; [INFO] [stdout] | ---------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:886:38 [INFO] [stdout] | [INFO] [stdout] 886 | let scan: u32 = unsafe { ::std::mem::transmute(scan) }; [INFO] [stdout] | ---------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:954:19 [INFO] [stdout] | [INFO] [stdout] 954 | unsafe { &(*(::std::ptr::null::())).pl_prop as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:964:19 [INFO] [stdout] | [INFO] [stdout] 964 | unsafe { &(*(::std::ptr::null::())).pl_user_prop as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:974:19 [INFO] [stdout] | [INFO] [stdout] 974 | unsafe { &(*(::std::ptr::null::())).pl_next as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:984:19 [INFO] [stdout] | [INFO] [stdout] 984 | unsafe { &(*(::std::ptr::null::())).pl_all as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:994:19 [INFO] [stdout] | [INFO] [stdout] 994 | unsafe { &(*(::std::ptr::null::())).pl_width as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1004:19 [INFO] [stdout] | [INFO] [stdout] 1004 | unsafe { &(*(::std::ptr::null::())).pl_recvd_width as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1014:19 [INFO] [stdout] | [INFO] [stdout] 1014 | unsafe { &(*(::std::ptr::null::())).pl_fixed as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1094:19 [INFO] [stdout] | [INFO] [stdout] 1094 | unsafe { &(*(::std::ptr::null::())).zfs_hdl as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1104:19 [INFO] [stdout] | [INFO] [stdout] 1104 | unsafe { &(*(::std::ptr::null::())).zpool_hdl as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1114:19 [INFO] [stdout] | [INFO] [stdout] 1114 | unsafe { &(*(::std::ptr::null::())).zfs_name as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1124:19 [INFO] [stdout] | [INFO] [stdout] 1124 | unsafe { &(*(::std::ptr::null::())).zfs_type as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1134:19 [INFO] [stdout] | [INFO] [stdout] 1134 | unsafe { &(*(::std::ptr::null::())).zfs_head_type as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1144:19 [INFO] [stdout] | [INFO] [stdout] 1144 | unsafe { &(*(::std::ptr::null::())).zfs_dmustats as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1154:19 [INFO] [stdout] | [INFO] [stdout] 1154 | unsafe { &(*(::std::ptr::null::())).zfs_props as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1164:19 [INFO] [stdout] | [INFO] [stdout] 1164 | unsafe { &(*(::std::ptr::null::())).zfs_user_props as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1174:19 [INFO] [stdout] | [INFO] [stdout] 1174 | unsafe { &(*(::std::ptr::null::())).zfs_recvd_props as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1184:19 [INFO] [stdout] | [INFO] [stdout] 1184 | unsafe { &(*(::std::ptr::null::())).zfs_mntcheck as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1194:19 [INFO] [stdout] | [INFO] [stdout] 1194 | unsafe { &(*(::std::ptr::null::())).zfs_mntopts as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1204:19 [INFO] [stdout] | [INFO] [stdout] 1204 | unsafe { &(*(::std::ptr::null::())).zfs_props_table as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1240:19 [INFO] [stdout] | [INFO] [stdout] 1240 | unsafe { &(*(::std::ptr::null::())).zpool_hdl as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1250:19 [INFO] [stdout] | [INFO] [stdout] 1250 | unsafe { &(*(::std::ptr::null::())).zpool_next as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1260:19 [INFO] [stdout] | [INFO] [stdout] 1260 | unsafe { &(*(::std::ptr::null::())).zpool_name as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1270:19 [INFO] [stdout] | [INFO] [stdout] 1270 | unsafe { &(*(::std::ptr::null::())).zpool_state as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1280:19 [INFO] [stdout] | [INFO] [stdout] 1280 | unsafe { &(*(::std::ptr::null::())).zpool_config_size as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1290:19 [INFO] [stdout] | [INFO] [stdout] 1290 | unsafe { &(*(::std::ptr::null::())).zpool_config as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1300:19 [INFO] [stdout] | [INFO] [stdout] 1300 | unsafe { &(*(::std::ptr::null::())).zpool_old_config as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1310:19 [INFO] [stdout] | [INFO] [stdout] 1310 | unsafe { &(*(::std::ptr::null::())).zpool_props as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> libzfs-sys/src/bindings.rs:1320:19 [INFO] [stdout] | [INFO] [stdout] 1320 | unsafe { &(*(::std::ptr::null::())).zpool_start_block as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut i8` does not permit being left uninitialized [INFO] [stdout] --> libzfs-sys/src/lib.rs:314:33 [INFO] [stdout] | [INFO] [stdout] 314 | let mut n = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:822:18 [INFO] [stdout] | [INFO] [stdout] 822 | unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) } [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:827:28 [INFO] [stdout] | [INFO] [stdout] 827 | let val: u32 = ::std::mem::transmute(val); [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:833:18 [INFO] [stdout] | [INFO] [stdout] 833 | unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) } [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:838:28 [INFO] [stdout] | [INFO] [stdout] 838 | let val: u32 = ::std::mem::transmute(val); [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:844:18 [INFO] [stdout] | [INFO] [stdout] 844 | unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) } [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:849:28 [INFO] [stdout] | [INFO] [stdout] 849 | let val: u32 = ::std::mem::transmute(val); [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:855:18 [INFO] [stdout] | [INFO] [stdout] 855 | unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) } [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:860:28 [INFO] [stdout] | [INFO] [stdout] 860 | let val: u32 = ::std::mem::transmute(val); [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:874:47 [INFO] [stdout] | [INFO] [stdout] 874 | let can_be_active: u32 = unsafe { ::std::mem::transmute(can_be_active) }; [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:878:40 [INFO] [stdout] | [INFO] [stdout] 878 | let unique: u32 = unsafe { ::std::mem::transmute(unique) }; [INFO] [stdout] | ---------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:882:40 [INFO] [stdout] | [INFO] [stdout] 882 | let exists: u32 = unsafe { ::std::mem::transmute(exists) }; [INFO] [stdout] | ---------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> libzfs-sys/src/bindings.rs:886:38 [INFO] [stdout] | [INFO] [stdout] 886 | let scan: u32 = unsafe { ::std::mem::transmute(scan) }; [INFO] [stdout] | ---------------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b0811cd9a3adf3dbdbad3e3c271ec335ec233b8c81aea0554aebb1e0f1c4adab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0811cd9a3adf3dbdbad3e3c271ec335ec233b8c81aea0554aebb1e0f1c4adab", kill_on_drop: false }` [INFO] [stdout] b0811cd9a3adf3dbdbad3e3c271ec335ec233b8c81aea0554aebb1e0f1c4adab