[INFO] cloning repository https://github.com/tedsta/zfs-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tedsta/zfs-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftedsta%2Fzfs-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftedsta%2Fzfs-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e51d36d828fd56e001b2fe2c247cf3c50464e5e [INFO] building tedsta/zfs-rs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftedsta%2Fzfs-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tedsta/zfs-rs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tedsta/zfs-rs [INFO] finished tweaking git repo https://github.com/tedsta/zfs-rs [INFO] tweaked toml for git repo https://github.com/tedsta/zfs-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tedsta/zfs-rs 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fad94937127bcc23a53f50a379fa766301c8499f86bef520ceb7f6fc3f4fb2b [INFO] running `Command { std: "docker" "start" "-a" "5fad94937127bcc23a53f50a379fa766301c8499f86bef520ceb7f6fc3f4fb2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fad94937127bcc23a53f50a379fa766301c8499f86bef520ceb7f6fc3f4fb2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fad94937127bcc23a53f50a379fa766301c8499f86bef520ceb7f6fc3f4fb2b", kill_on_drop: false }` [INFO] [stdout] 5fad94937127bcc23a53f50a379fa766301c8499f86bef520ceb7f6fc3f4fb2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e91e650ace706551bc77366710b3adf6e0e6f59ba4c741337f10cd930ddc800f [INFO] running `Command { std: "docker" "start" "-a" "e91e650ace706551bc77366710b3adf6e0e6f59ba4c741337f10cd930ddc800f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling zfs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/arcache.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | self.map.remove(&try!(lowest_dva)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::zil_header::ZilHeader` [INFO] [stdout] --> src/dnode.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::zil_header::ZilHeader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dnode.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | try!(write!(f, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dvaddr.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(write!(f, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lzjb.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | const MATCH_MAX: usize = ((1 << MATCH_BITS) + (MATCH_MIN - 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4 - const MATCH_MAX: usize = ((1 << MATCH_BITS) + (MATCH_MIN - 1)); [INFO] [stdout] 4 + const MATCH_MAX: usize = (1 << MATCH_BITS) + (MATCH_MIN - 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/lzjb.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | const OFFSET_MASK: usize = ((1 << (16 - MATCH_BITS)) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - const OFFSET_MASK: usize = ((1 << (16 - MATCH_BITS)) - 1); [INFO] [stdout] 5 + const OFFSET_MASK: usize = (1 << (16 - MATCH_BITS)) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/metaslab.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/metaslab.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use super::taskq::{self, Taskq}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/metaslab.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | let vdev_top = try!(vdev.top.as_mut().ok_or(zfs::Error::Invalid)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/metaslab.rs:305:18 [INFO] [stdout] | [INFO] [stdout] 305 | Some(try!(SpaceMap::open(mos, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvpair.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(write!(f, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvpair.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | try!(write!(f, "] }}\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvpair.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | try!(write!(f, "{} : {:?}\n", name, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvpair.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | try!(write!(f, "NvListArray([")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvpair.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | try!(write!(f, "NvList({:?})", nv_list)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | try!(encode_nv_list_header(xdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | try!(xdr.encode_i32(nv_list.version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | try!(xdr.encode_u32(nv_list.nvflag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | try!(xdr.encode_i32(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | try!(xdr.encode_i32(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | try!(xdr.encode_string(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | try!(xdr.encode_u8(value.data_type().to_u8())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | try!(xdr.encode_i32(value.num_elements() as i32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | try!(xdr.encode_opaque(&header_bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | try!(decode_nv_list_header(xdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | let version = try!(xdr.decode_i32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | let nvflag = try!(xdr.decode_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | let encoded_size = try!(xdr.decode_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:116:28 [INFO] [stdout] | [INFO] [stdout] 116 | let decoded_size = try!(xdr.decode_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let name = try!(xdr.decode_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:127:49 [INFO] [stdout] | [INFO] [stdout] 127 | let data_type = match DataType::from_u8(try!(xdr.decode_u8())) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | let num_elements = try!(xdr.decode_i32()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | let value = try!(decode_nv_value(xdr, data_type, num_elements)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | try!(xdr.decode_opaque(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:165:44 [INFO] [stdout] | [INFO] [stdout] 165 | DataType::Byte => Ok(NvValue::Byte(try!(xdr.decode_u8()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:166:46 [INFO] [stdout] | [INFO] [stdout] 166 | DataType::Int16 => Ok(NvValue::Int16(try!(xdr.decode_i16()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:167:48 [INFO] [stdout] | [INFO] [stdout] 167 | DataType::Uint16 => Ok(NvValue::Uint16(try!(xdr.decode_u16()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:168:46 [INFO] [stdout] | [INFO] [stdout] 168 | DataType::Int32 => Ok(NvValue::Int32(try!(xdr.decode_i32()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:169:48 [INFO] [stdout] | [INFO] [stdout] 169 | DataType::Uint32 => Ok(NvValue::Uint32(try!(xdr.decode_u32()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:170:46 [INFO] [stdout] | [INFO] [stdout] 170 | DataType::Int64 => Ok(NvValue::Int64(try!(xdr.decode_i64()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:171:48 [INFO] [stdout] | [INFO] [stdout] 171 | DataType::Uint64 => Ok(NvValue::Uint64(try!(xdr.decode_u64()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:172:48 [INFO] [stdout] | [INFO] [stdout] 172 | DataType::String => Ok(NvValue::String(try!(xdr.decode_string()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | *v = try!(xdr.decode_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:183:22 [INFO] [stdout] | [INFO] [stdout] 183 | *v = try!(xdr.decode_i16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 190 | *v = try!(xdr.decode_u16()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | *v = try!(xdr.decode_i32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:204:22 [INFO] [stdout] | [INFO] [stdout] 204 | *v = try!(xdr.decode_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:211:22 [INFO] [stdout] | [INFO] [stdout] 211 | *v = try!(xdr.decode_i64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | *v = try!(xdr.decode_u64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:225:22 [INFO] [stdout] | [INFO] [stdout] 225 | *v = try!(xdr.decode_u64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:229:48 [INFO] [stdout] | [INFO] [stdout] 229 | DataType::HrTime => Ok(NvValue::HrTime(try!(xdr.decode_i64()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:231:27 [INFO] [stdout] | [INFO] [stdout] 231 | let nv_list = try!(decode_nv_list_embedded(xdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 237 | v.push(try!(decode_nv_list_embedded(xdr))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:241:60 [INFO] [stdout] | [INFO] [stdout] 241 | DataType::BooleanValue => Ok(NvValue::BooleanValue(try!(xdr.decode_bool()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:242:44 [INFO] [stdout] | [INFO] [stdout] 242 | DataType::Int8 => Ok(NvValue::Int8(try!(xdr.decode_i8()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:243:46 [INFO] [stdout] | [INFO] [stdout] 243 | DataType::Uint8 => Ok(NvValue::Uint8(try!(xdr.decode_u8()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:247:22 [INFO] [stdout] | [INFO] [stdout] 247 | *v = try!(xdr.decode_bool()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | *v = try!(xdr.decode_i8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/nvstream.rs:261:22 [INFO] [stdout] | [INFO] [stdout] 261 | *v = try!(xdr.decode_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/spa.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::dsl_pool` [INFO] [stdout] --> src/spa.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::dsl_pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::txg` [INFO] [stdout] --> src/spa.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::txg; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::uberblock::Uberblock` [INFO] [stdout] --> src/spa.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::uberblock::Uberblock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/spa.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | let mut spa = try!(Self::load(name, config, load_state, ImportType::Existing, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/spa.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | try!(vdev_tree.parse(&normal_class, nvroot, None, vdev_alloc_type)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/spa.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 77 | let nvroot: &NvList = try!(config.get("vdev_tree").ok_or(zfs::Error::Invalid)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/spa.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | let pool_guid = try!(config.get("pool_guid").ok_or(zfs::Error::Invalid)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/spa.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | let mut spa = try!(Self::load_impl(name, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/spa.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | let mut spa = try!(Self::new(name, config, vdev_alloc_type)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/space_map.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | try!(write!(f, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/space_map.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | try!(write!(f, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/taskq.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/taskq.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mem` [INFO] [stdout] --> src/vdev.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp, mem}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NvValue` [INFO] [stdout] --> src/vdev.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use super::nvpair::{NvList, NvValue}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::util` [INFO] [stdout] --> src/vdev.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::util; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vdev.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | ops: Box::new(try!(VdevFile::load(nv))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vdev.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | let vdev_type = try!(nv.get::<&String>("type").ok_or(zfs::Error::Invalid)).clone(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vdev.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | let ops = try!(load_ops(vdev_type.as_ref(), nv)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vdev.rs:212:33 [INFO] [stdout] | [INFO] [stdout] 212 | let label_id: u64 = try!(nv.get("id").ok_or(zfs::Error::Invalid)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vdev.rs:222:22 [INFO] [stdout] | [INFO] [stdout] 222 | Some(try!(nv.get("guid").ok_or(zfs::Error::Invalid))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vdev.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 227 | let create_txg = try!(nv.get("create_txg").ok_or(zfs::Error::Invalid)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vdev.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | let ashift = try!(nv.get("ashift").ok_or(zfs::Error::Invalid)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vdev.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 239 | ms_array = try!(nv.get("metaslab_array").ok_or(zfs::Error::Invalid)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vdev.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | ms_shift = try!(nv.get("metaslab_shift").ok_or(zfs::Error::Invalid)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vdev.rs:268:27 [INFO] [stdout] | [INFO] [stdout] 268 | let ref mut top = try!(self.top.as_mut().ok_or(zfs::Error::Invalid)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vdev.rs:447:20 [INFO] [stdout] | [INFO] [stdout] 447 | let vdev = try!(Vdev::load(normal_class, nv, 0, parent, self, alloc_type)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vdev.rs:456:38 [INFO] [stdout] | [INFO] [stdout] 456 | let children: &Vec = try!(nv.get("children").ok_or(zfs::Error::Invalid)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vdev_file.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(VdevFile { path: try!(nv.get::<&String>("path").ok_or(zfs::Error::Invalid)).clone() }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xdr/xdr.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let i = try!(self.get_i32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xdr/xdr.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | try!(self.put_bytes(bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xdr/xdr.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | try!(self.put_bytes(&crud[0..round_up])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xdr/xdr.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | try!(self.get_bytes(bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xdr/xdr.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | try!(self.get_bytes(&mut crud[0..round_up])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xdr/xdr.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | try!(self.encode_u32(bytes.len() as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xdr/xdr.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | try!(self.decode_opaque(&mut bytes[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xdr/xdr.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let count = try!(self.decode_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xdr/xdr.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | try!(self.encode_u32(string.as_bytes().len() as u32)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xdr/xdr.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | try!(self.decode_opaque(&mut bytes[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xdr/xdr.rs:211:21 [INFO] [stdout] | [INFO] [stdout] 211 | let count = try!(self.decode_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Seek` [INFO] [stdout] --> src/zap.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Seek; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zap.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | try!(write!(f, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zap.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | try!(write!(f, "] }}\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zap.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | try!(write!(f, "{:?}\n", chunk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zap.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | try!(write!(f, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zap.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | try!(write!(f, "\n}}\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/zap.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | try!(write!(f, "{}", self.name[i] as char)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/zio.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{mem, ptr}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::avl` [INFO] [stdout] --> src/zio.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::avl; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::zfs` [INFO] [stdout] --> src/zio.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::zfs; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | let uberblock = try!(zfs_reader.uber(&[])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | let mos: ObjectSetPhys = try!(zfs_reader.read_type(&uberblock.rootbp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:180:33 [INFO] [stdout] | [INFO] [stdout] 180 | let dnode1: DNodePhys = try!(zfs_reader.read_type_array(&mos_bp1, 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:183:41 [INFO] [stdout] | [INFO] [stdout] 183 | let root_ds: zap::MZapWrapper = try!(zfs_reader.read_type(root_ds_bp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | try!(zfs_reader.read_type_array(&mos_bp1, root_ds.chunks[0].value as usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | let dsl_dir = try!(DslDirPhys::from_bytes(root_ds_dnode.get_bonus())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | try!(zfs_reader.read_type_array(&mos_bp1, dsl_dir.head_dataset_obj as usize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:192:28 [INFO] [stdout] | [INFO] [stdout] 192 | let root_dataset = try!(DslDatasetPhys::from_bytes(head_ds_dnode.get_bonus())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:194:40 [INFO] [stdout] | [INFO] [stdout] 194 | let fs_objset: ObjectSetPhys = try!(zfs_reader.read_type(&root_dataset.bp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | let mut indirect: BlockPtr = try!(zfs_reader.read_type_array(fs_objset.meta_dnode [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 200 | indirect = try!(zfs_reader.read_type_array(&indirect, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:204:38 [INFO] [stdout] | [INFO] [stdout] 204 | let master_node: DNodePhys = try!(zfs_reader.read_type_array(&indirect, 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | try!(zfs_reader.read_type(master_node.get_blockptr(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | root: try!(root), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avl.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | key: Rc K>, [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)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 90 | key: Rc K>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/taskq.rs:325:15 [INFO] [stdout] | [INFO] [stdout] 325 | func: Box, [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 325 | func: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vdev.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | pub ops: Box, [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | pub ops: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/taskq.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | pub type TaskFn = Box; [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 | pub type TaskFn = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avl.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(key: Rc K>) -> Self { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(key: Rc K>) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nvstream.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn encode_nv_list(xdr: &mut xdr::Xdr, nv_list: &NvList) -> xdr::XdrResult<()> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | pub fn encode_nv_list(xdr: &mut dyn xdr::Xdr, nv_list: &NvList) -> xdr::XdrResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nvstream.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | fn encode_nv_list_header(xdr: &mut xdr::Xdr) -> xdr::XdrResult<()> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | fn encode_nv_list_header(xdr: &mut dyn xdr::Xdr) -> xdr::XdrResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nvstream.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn decode_nv_list(xdr: &mut xdr::Xdr) -> xdr::XdrResult { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 | pub fn decode_nv_list(xdr: &mut dyn xdr::Xdr) -> xdr::XdrResult { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nvstream.rs:100:42 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn decode_nv_list_embedded(xdr: &mut xdr::Xdr) -> xdr::XdrResult { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | pub fn decode_nv_list_embedded(xdr: &mut dyn xdr::Xdr) -> xdr::XdrResult { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nvstream.rs:147:36 [INFO] [stdout] | [INFO] [stdout] 147 | fn decode_nv_list_header(xdr: &mut xdr::Xdr) -> xdr::XdrResult<()> { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 147 | fn decode_nv_list_header(xdr: &mut dyn xdr::Xdr) -> xdr::XdrResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/nvstream.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | fn decode_nv_value(xdr: &mut xdr::Xdr, [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 | fn decode_nv_value(xdr: &mut dyn xdr::Xdr, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Read, Write, stdin, stdout}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/dnode.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | self.bonus_len)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spa` [INFO] [stdout] --> src/dsl_pool.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | fn open_impl(spa: &mut spa::Spa, txg: u64) -> zfs::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_spa` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `txg` [INFO] [stdout] --> src/dsl_pool.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | fn open_impl(spa: &mut spa::Spa, txg: u64) -> zfs::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_txg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/metaslab.rs:265:49 [INFO] [stdout] | [INFO] [stdout] 265 | alloc_tree: (0..txg::TXG_SIZE).map(|x| avl::Tree::new(seg_key_start.clone())).collect(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/metaslab.rs:266:48 [INFO] [stdout] | [INFO] [stdout] 266 | free_tree: (0..txg::TXG_SIZE).map(|x| avl::Tree::new(seg_key_start.clone())).collect(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/metaslab.rs:268:35 [INFO] [stdout] | [INFO] [stdout] 268 | ... .map(|x| avl::Tree::new(seg_key_start.clone())) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metaslab.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | let mut metaslab = Self::new(vdev_top.ms_group.ms_class.ops.clone(), [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_map` [INFO] [stdout] --> src/metaslab.rs:359:29 [INFO] [stdout] | [INFO] [stdout] 359 | if let Some(ref mut space_map) = self.space_map { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/metaslab.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | for t in 0..txg::DEFER_SIZE { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/metaslab.rs:349:13 [INFO] [stdout] | [INFO] [stdout] 349 | let mut result = Ok(()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activation_weight` [INFO] [stdout] --> src/metaslab.rs:387:28 [INFO] [stdout] | [INFO] [stdout] 387 | fn activate(&mut self, activation_weight: u64) -> zfs::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activation_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor` [INFO] [stdout] --> src/metaslab.rs:426:17 [INFO] [stdout] | [INFO] [stdout] 426 | let ref mut cursor = ms.lbas[(util::highbit64(align) - 1) as usize]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tree` [INFO] [stdout] --> src/metaslab.rs:427:17 [INFO] [stdout] | [INFO] [stdout] 427 | let ref mut tree = ms.tree; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nvroot` [INFO] [stdout] --> src/spa.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn create(name: String, nvroot: &NvList) -> zfs::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_nvroot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool_guid` [INFO] [stdout] --> src/spa.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | pool_guid: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool_guid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mos_config` [INFO] [stdout] --> src/spa.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | mos_config: bool) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mos_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/spa.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | for t in 0..zio::NUM_TYPES { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/spa.rs:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | for q in 0..zio::NUM_TASKQ_TYPES { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `os` [INFO] [stdout] --> src/space_map.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn open(os: &mut ObjectSet, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/space_map.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut space_map = SpaceMap { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/taskq.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | mut num_threads: u16, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/taskq.rs:166:34 [INFO] [stdout] | [INFO] [stdout] 166 | fn taskq_dispatch(&mut self, func: TaskFn, flags: u64) -> TaskId { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/taskq.rs:166:48 [INFO] [stdout] | [INFO] [stdout] 166 | fn taskq_dispatch(&mut self, func: TaskFn, flags: u64) -> TaskId { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/taskq.rs:303:33 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn cancel_id(&mut self, id: TaskId) -> zfs::Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/vdev.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | for m in old_count..new_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/vdev.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | let object: u64 = 0; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mos` [INFO] [stdout] --> src/vdev.rs:266:33 [INFO] [stdout] | [INFO] [stdout] 266 | fn metaslab_init(&mut self, mos: &mut ObjectSet, txg: u64) -> zfs::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vdev` [INFO] [stdout] --> src/vdev_file.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | fn open(&mut self, vdev: &mut vdev::Vdev) -> zfs::Result<(u64, u64, u64)> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vdev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vdev` [INFO] [stdout] --> src/vdev_file.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | fn close(&mut self, vdev: &mut vdev::Vdev) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vdev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vdev` [INFO] [stdout] --> src/vdev_file.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | fn asize(&mut self, vdev: &mut vdev::Vdev, psize: u64) -> u64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vdev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `psize` [INFO] [stdout] --> src/vdev_file.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | fn asize(&mut self, vdev: &mut vdev::Vdev, psize: u64) -> u64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_psize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vdev` [INFO] [stdout] --> src/vdev_file.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | fn hold(&mut self, vdev: &mut vdev::Vdev) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vdev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vdev` [INFO] [stdout] --> src/vdev_file.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | fn release(&mut self, vdev: &mut vdev::Vdev) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_vdev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/zap.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | self.phys.block_type, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/zap.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | self.phys.salt, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/zap.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | self.phys.norm_flags)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/zap.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | self.value, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/zap.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | self.cd)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spa` [INFO] [stdout] --> src/main.rs:446:25 [INFO] [stdout] | [INFO] [stdout] 446 | let spa = spa::Spa::import(name, nv_list).unwrap(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_spa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `space_map` [INFO] [stdout] --> src/main.rs:492:53 [INFO] [stdout] | [INFO] [stdout] 492 | ... let space_map: Result, String> = [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_space_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `range_tree` [INFO] [stdout] --> src/main.rs:502:57 [INFO] [stdout] | [INFO] [stdout] 502 | ... let mut range_tree: avl::Tree src/main.rs:433:55 [INFO] [stdout] | [INFO] [stdout] 433 | println!("Newest Uberblock {:X}", zfs.uberblock.magic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/main.rs:434:44 [INFO] [stdout] | [INFO] [stdout] 434 | println!("Version {}", uberblock.version); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/main.rs:435:40 [INFO] [stdout] | [INFO] [stdout] 435 | println!("TXG {}", uberblock.txg); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/main.rs:436:43 [INFO] [stdout] | [INFO] [stdout] 436 | println!("GUID {:X}", uberblock.guid_sum); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/main.rs:437:46 [INFO] [stdout] | [INFO] [stdout] 437 | println!("Timestamp {}", uberblock.timestamp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:502:53 [INFO] [stdout] | [INFO] [stdout] 502 | ... let mut range_tree: avl::Tree src/main.rs:595:35 [INFO] [stdout] | [INFO] [stdout] 410 | let mut zfs_option: Option = None; [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | `zfs_option` calls a custom destructor [INFO] [stdout] | `zfs_option` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 446 | let spa = spa::Spa::import(name, nv_list).unwrap(); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | `spa` calls a custom destructor [INFO] [stdout] | `spa` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 502 | let mut range_tree: avl::Tree [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/os/fd/owned.rs:172:1 [INFO] [stdout] note: `zfs_option` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/os/fd/owned.rs:172:1 [INFO] [stdout] = note: `spa` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `range_tree` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0793`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zfs` (bin "zfs") due to 12 previous errors; 172 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e91e650ace706551bc77366710b3adf6e0e6f59ba4c741337f10cd930ddc800f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e91e650ace706551bc77366710b3adf6e0e6f59ba4c741337f10cd930ddc800f", kill_on_drop: false }` [INFO] [stdout] e91e650ace706551bc77366710b3adf6e0e6f59ba4c741337f10cd930ddc800f