[INFO] fetching crate zfs 0.1.0... [INFO] building zfs-0.1.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate zfs 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate zfs 0.1.0 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 crates.io crate zfs 0.1.0 [INFO] finished tweaking crates.io crate zfs 0.1.0 [INFO] tweaked toml for crates.io crate zfs 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9f2c387ece8430f179f6068f4928ce168ec2bbc8d5c0163fae3f5e263b27f8bf [INFO] running `Command { std: "docker" "start" "-a" "9f2c387ece8430f179f6068f4928ce168ec2bbc8d5c0163fae3f5e263b27f8bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f2c387ece8430f179f6068f4928ce168ec2bbc8d5c0163fae3f5e263b27f8bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f2c387ece8430f179f6068f4928ce168ec2bbc8d5c0163fae3f5e263b27f8bf", kill_on_drop: false }` [INFO] [stdout] 9f2c387ece8430f179f6068f4928ce168ec2bbc8d5c0163fae3f5e263b27f8bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ea4ae2b637b1c3739c8cd6b346feb38692a7c3639d94ee97afa7bccc87a2aad1 [INFO] running `Command { std: "docker" "start" "-a" "ea4ae2b637b1c3739c8cd6b346feb38692a7c3639d94ee97afa7bccc87a2aad1", 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:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | 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: variant `DmuOtDslDataset_child_map` should have an upper camel case name [INFO] [stdout] --> src/dmu_objset.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | DmuOtDslDataset_child_map, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DmuOtDslDatasetChildMap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DmuOtJsetSnap_map` should have an upper camel case name [INFO] [stdout] --> src/dmu_objset.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | DmuOtJsetSnap_map, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DmuOtJsetSnapMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DmuOtPlainFile_contents` should have an upper camel case name [INFO] [stdout] --> src/dmu_objset.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | DmuOtPlainFile_contents, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DmuOtPlainFileContents` [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:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | 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] 8 - const MATCH_MAX: usize = ((1 << MATCH_BITS) + (MATCH_MIN - 1)); [INFO] [stdout] 8 + 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:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | const OFFSET_MASK: usize = ((1 << (16 - MATCH_BITS)) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - const OFFSET_MASK: usize = ((1 << (16 - MATCH_BITS)) - 1); [INFO] [stdout] 9 + 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:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::dsl_pool` [INFO] [stdout] --> src/spa.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use super::dsl_pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::txg` [INFO] [stdout] --> src/spa.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use super::txg; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::uberblock::Uberblock` [INFO] [stdout] --> src/spa.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | 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:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | 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:133:35 [INFO] [stdout] | [INFO] [stdout] 133 | 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:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | 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:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | 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:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | 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:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | 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:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | 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:232:19 [INFO] [stdout] | [INFO] [stdout] 232 | 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:236:33 [INFO] [stdout] | [INFO] [stdout] 236 | 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:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | 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:251:26 [INFO] [stdout] | [INFO] [stdout] 251 | 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:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | 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:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | 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:264:32 [INFO] [stdout] | [INFO] [stdout] 264 | 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:292:27 [INFO] [stdout] | [INFO] [stdout] 292 | 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:471:20 [INFO] [stdout] | [INFO] [stdout] 471 | 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:480:38 [INFO] [stdout] | [INFO] [stdout] 480 | 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:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | 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:178:34 [INFO] [stdout] | [INFO] [stdout] 178 | 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:182:33 [INFO] [stdout] | [INFO] [stdout] 182 | 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:185:41 [INFO] [stdout] | [INFO] [stdout] 185 | 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:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | 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:190:23 [INFO] [stdout] | [INFO] [stdout] 190 | 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:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | 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:194:28 [INFO] [stdout] | [INFO] [stdout] 194 | 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:196:40 [INFO] [stdout] | [INFO] [stdout] 196 | 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:198:38 [INFO] [stdout] | [INFO] [stdout] 198 | 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:202:24 [INFO] [stdout] | [INFO] [stdout] 202 | 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:206:38 [INFO] [stdout] | [INFO] [stdout] 206 | 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:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | 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:230:19 [INFO] [stdout] | [INFO] [stdout] 230 | 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:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | 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] 87 | 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:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | 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] 66 | 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:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | 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] 91 | 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: unreachable expression [INFO] [stdout] --> src/spa.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 91 | panic!("invalid priority {:?}", p); [INFO] [stdout] | ---------------------------------- any code following this expression is unreachable [INFO] [stdout] 92 | 0 [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [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:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | 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:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | 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: `f` [INFO] [stdout] --> src/lzjb.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | fn fmt(&self, f: &mut Formatter) -> Result<(), FmtError> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [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: variable does not need to be mutable [INFO] [stdout] --> src/spa.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut writes; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nvroot` [INFO] [stdout] --> src/spa.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | 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:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | 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:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | 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:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | 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:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | 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:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | 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:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | 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:290:33 [INFO] [stdout] | [INFO] [stdout] 290 | 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: `u` [INFO] [stdout] --> src/main.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | u => Err("Error: Unknown compression type"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spa` [INFO] [stdout] --> src/main.rs:440:33 [INFO] [stdout] | [INFO] [stdout] 440 | ... 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:485:61 [INFO] [stdout] | [INFO] [stdout] 485 | ... let space_map: Result, _> = [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:495:65 [INFO] [stdout] | [INFO] [stdout] 495 | ... let mut range_tree: avl::Tree src/main.rs:427:71 [INFO] [stdout] | [INFO] [stdout] 427 | ... writeln!(stdout, "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 `writeln` (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:428:60 [INFO] [stdout] | [INFO] [stdout] 428 | ... writeln!(stdout, "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 `writeln` (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:429:56 [INFO] [stdout] | [INFO] [stdout] 429 | ... writeln!(stdout, "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 `writeln` (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:430:59 [INFO] [stdout] | [INFO] [stdout] 430 | ... writeln!(stdout, "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 `writeln` (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:431:62 [INFO] [stdout] | [INFO] [stdout] 431 | ... writeln!(stdout, "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 `writeln` (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:495:61 [INFO] [stdout] | [INFO] [stdout] 495 | ... let mut range_tree: avl::Tree src/main.rs:597:43 [INFO] [stdout] | [INFO] [stdout] 411 | 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] 440 | 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] 495 | 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; 178 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ea4ae2b637b1c3739c8cd6b346feb38692a7c3639d94ee97afa7bccc87a2aad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea4ae2b637b1c3739c8cd6b346feb38692a7c3639d94ee97afa7bccc87a2aad1", kill_on_drop: false }` [INFO] [stdout] ea4ae2b637b1c3739c8cd6b346feb38692a7c3639d94ee97afa7bccc87a2aad1