[INFO] fetching crate btrfs 1.2.2... [INFO] testing btrfs-1.2.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate btrfs 1.2.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate btrfs 1.2.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate btrfs 1.2.2 [INFO] finished tweaking crates.io crate btrfs 1.2.2 [INFO] tweaked toml for crates.io crate btrfs 1.2.2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 512e8cde3571772300c3504b72dcc461ddd088c873ff6389c081dc17b2d1ee74 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "512e8cde3571772300c3504b72dcc461ddd088c873ff6389c081dc17b2d1ee74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "512e8cde3571772300c3504b72dcc461ddd088c873ff6389c081dc17b2d1ee74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "512e8cde3571772300c3504b72dcc461ddd088c873ff6389c081dc17b2d1ee74", kill_on_drop: false }` [INFO] [stdout] 512e8cde3571772300c3504b72dcc461ddd088c873ff6389c081dc17b2d1ee74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4e09cb498af1e2023daac4d966873ed92ad4cc7d996e47d827a5546281dbe4c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a4e09cb498af1e2023daac4d966873ed92ad4cc7d996e47d827a5546281dbe4c", kill_on_drop: false }` [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling minilzo-sys v0.1.0 [INFO] [stderr] Compiling minilzo v0.2.0 [INFO] [stderr] Compiling nix v0.8.1 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling btrfs v1.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[ macro_use ] [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/diskformat/item/extent_data.rs:226:42 [INFO] [stdout] | [INFO] [stdout] 226 | BTRFS_EXTENT_DATA_LZO_COMPRESSION => try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/types/file_descriptor.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/types/file_descriptor.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/deduplicate.rs:275:2 [INFO] [stdout] | [INFO] [stdout] 275 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/deduplicate.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/deduplicate.rs:200:3 [INFO] [stdout] | [INFO] [stdout] 200 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/deduplicate.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/fiemap.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/fiemap.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/filesystem_info.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/space_info.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/linux/operations/deduplicate.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | io_error.description ()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/diskformat/item/extent_data.rs:213:7 [INFO] [stdout] | [INFO] [stdout] 213 | self.data ().other_encoding) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and 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 warning originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lzo2a_decompress` [INFO] [stdout] --> src/compress/lzo.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | / fn lzo2a_decompress ( [INFO] [stdout] 26 | | src: * const u8, [INFO] [stdout] 27 | | src_len: libc::c_uint, [INFO] [stdout] 28 | | dst: * const u8, [INFO] [stdout] 29 | | dst_len: * mut libc::c_uint, [INFO] [stdout] 30 | | wrkmem: * const u8, [INFO] [stdout] 31 | | ) -> libc::c_int; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_bytes` [INFO] [stdout] --> src/diskformat/item/invalid_item.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | data_bytes: & 'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BtrfsInvalidItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/diskformat/item/invalid_item.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[ derive (Clone, Debug) ] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/diskformat/item/invalid_item.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | error: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BtrfsInvalidItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/diskformat/item/invalid_item.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[ derive (Clone, Debug) ] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_bytes` [INFO] [stdout] --> src/diskformat/item/unknown_item.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | data_bytes: & 'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BtrfsUnknownItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/diskformat/item/unknown_item.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[ derive (Clone, Debug) ] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/compress/lzo.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | error) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 110 | "{}", error) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/diskformat/item/extent_data.rs:308:7 [INFO] [stdout] | [INFO] [stdout] 308 | / format! ( [INFO] [stdout] 309 | | "Unrecognised inline extent data compression {}", [INFO] [stdout] 310 | | self.data ().compression)), [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 308 ~ [INFO] [stdout] 309 | "Unrecognised inline extent data compression {}", [INFO] [stdout] 310 ~ self.data ().compression), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.05s [INFO] running `Command { std: "docker" "inspect" "a4e09cb498af1e2023daac4d966873ed92ad4cc7d996e47d827a5546281dbe4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e09cb498af1e2023daac4d966873ed92ad4cc7d996e47d827a5546281dbe4c", kill_on_drop: false }` [INFO] [stdout] a4e09cb498af1e2023daac4d966873ed92ad4cc7d996e47d827a5546281dbe4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75c23ddd72dfb13b2fe791d8fdac6e2f3b290fd24a89e5dffedccc246adaa411 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "75c23ddd72dfb13b2fe791d8fdac6e2f3b290fd24a89e5dffedccc246adaa411", kill_on_drop: false }` [INFO] [stderr] Compiling btrfs v1.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[ macro_use ] [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/diskformat/item/extent_data.rs:226:42 [INFO] [stdout] | [INFO] [stdout] 226 | BTRFS_EXTENT_DATA_LZO_COMPRESSION => try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/types/file_descriptor.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/types/file_descriptor.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/deduplicate.rs:275:2 [INFO] [stdout] | [INFO] [stdout] 275 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/deduplicate.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/deduplicate.rs:200:3 [INFO] [stdout] | [INFO] [stdout] 200 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/deduplicate.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/fiemap.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/fiemap.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/filesystem_info.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/space_info.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/linux/operations/deduplicate.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | io_error.description ()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/diskformat/item/extent_data.rs:213:7 [INFO] [stdout] | [INFO] [stdout] 213 | self.data ().other_encoding) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and 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 warning originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lzo2a_decompress` [INFO] [stdout] --> src/compress/lzo.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | / fn lzo2a_decompress ( [INFO] [stdout] 26 | | src: * const u8, [INFO] [stdout] 27 | | src_len: libc::c_uint, [INFO] [stdout] 28 | | dst: * const u8, [INFO] [stdout] 29 | | dst_len: * mut libc::c_uint, [INFO] [stdout] 30 | | wrkmem: * const u8, [INFO] [stdout] 31 | | ) -> libc::c_int; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_bytes` [INFO] [stdout] --> src/diskformat/item/invalid_item.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | data_bytes: & 'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BtrfsInvalidItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/diskformat/item/invalid_item.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[ derive (Clone, Debug) ] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/diskformat/item/invalid_item.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | error: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BtrfsInvalidItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/diskformat/item/invalid_item.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[ derive (Clone, Debug) ] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_bytes` [INFO] [stdout] --> src/diskformat/item/unknown_item.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | data_bytes: & 'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BtrfsUnknownItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/diskformat/item/unknown_item.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[ derive (Clone, Debug) ] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/compress/lzo.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | error) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 110 | "{}", error) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/diskformat/item/extent_data.rs:308:7 [INFO] [stdout] | [INFO] [stdout] 308 | / format! ( [INFO] [stdout] 309 | | "Unrecognised inline extent data compression {}", [INFO] [stdout] 310 | | self.data ().compression)), [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 308 ~ [INFO] [stdout] 309 | "Unrecognised inline extent data compression {}", [INFO] [stdout] 310 ~ self.data ().compression), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[ macro_use ] [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/diskformat/item/extent_data.rs:226:42 [INFO] [stdout] | [INFO] [stdout] 226 | BTRFS_EXTENT_DATA_LZO_COMPRESSION => try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/types/file_descriptor.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/types/file_descriptor.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/deduplicate.rs:275:2 [INFO] [stdout] | [INFO] [stdout] 275 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/deduplicate.rs:183:3 [INFO] [stdout] | [INFO] [stdout] 183 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/deduplicate.rs:200:3 [INFO] [stdout] | [INFO] [stdout] 200 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/deduplicate.rs:226:4 [INFO] [stdout] | [INFO] [stdout] 226 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/fiemap.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/fiemap.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/filesystem_info.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/linux/operations/space_info.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | try! ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/linux/operations/deduplicate.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | io_error.description ()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/diskformat/item/extent_data.rs:213:7 [INFO] [stdout] | [INFO] [stdout] 213 | self.data ().other_encoding) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and 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 warning originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lzo2a_decompress` [INFO] [stdout] --> src/compress/lzo.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | / fn lzo2a_decompress ( [INFO] [stdout] 26 | | src: * const u8, [INFO] [stdout] 27 | | src_len: libc::c_uint, [INFO] [stdout] 28 | | dst: * const u8, [INFO] [stdout] 29 | | dst_len: * mut libc::c_uint, [INFO] [stdout] 30 | | wrkmem: * const u8, [INFO] [stdout] 31 | | ) -> libc::c_int; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_bytes` [INFO] [stdout] --> src/diskformat/item/invalid_item.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | data_bytes: & 'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BtrfsInvalidItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/diskformat/item/invalid_item.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[ derive (Clone, Debug) ] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `error` [INFO] [stdout] --> src/diskformat/item/invalid_item.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | error: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BtrfsInvalidItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/diskformat/item/invalid_item.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[ derive (Clone, Debug) ] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data_bytes` [INFO] [stdout] --> src/diskformat/item/unknown_item.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | data_bytes: & 'a [u8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `BtrfsUnknownItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/diskformat/item/unknown_item.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #[ derive (Clone, Debug) ] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/compress/lzo.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | error) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 110 | "{}", error) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/diskformat/item/extent_data.rs:308:7 [INFO] [stdout] | [INFO] [stdout] 308 | / format! ( [INFO] [stdout] 309 | | "Unrecognised inline extent data compression {}", [INFO] [stdout] 310 | | self.data ().compression)), [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 308 ~ [INFO] [stdout] 309 | "Unrecognised inline extent data compression {}", [INFO] [stdout] 310 ~ self.data ().compression), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.34s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/btrfs-392b4e469234362d) [INFO] running `Command { std: "docker" "inspect" "75c23ddd72dfb13b2fe791d8fdac6e2f3b290fd24a89e5dffedccc246adaa411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75c23ddd72dfb13b2fe791d8fdac6e2f3b290fd24a89e5dffedccc246adaa411", kill_on_drop: false }` [INFO] [stdout] 75c23ddd72dfb13b2fe791d8fdac6e2f3b290fd24a89e5dffedccc246adaa411 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 48db6c87f9ffc7d6fad168ff71868bad7566391e33563320cb922dec6cc1824c [INFO] running `Command { std: "docker" "start" "-a" "48db6c87f9ffc7d6fad168ff71868bad7566391e33563320cb922dec6cc1824c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[ macro_use ] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/diskformat/item/extent_data.rs:226:42 [INFO] [stderr] | [INFO] [stderr] 226 | BTRFS_EXTENT_DATA_LZO_COMPRESSION => try! ( [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/linux/types/file_descriptor.rs:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | try! ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/linux/types/file_descriptor.rs:35:4 [INFO] [stderr] | [INFO] [stderr] 35 | try! ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/linux/operations/deduplicate.rs:275:2 [INFO] [stderr] | [INFO] [stderr] 275 | try! ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/linux/operations/deduplicate.rs:183:3 [INFO] [stderr] | [INFO] [stderr] 183 | try! ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/linux/operations/deduplicate.rs:200:3 [INFO] [stderr] | [INFO] [stderr] 200 | try! ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/linux/operations/deduplicate.rs:226:4 [INFO] [stderr] | [INFO] [stderr] 226 | try! ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/linux/operations/fiemap.rs:19:3 [INFO] [stderr] | [INFO] [stderr] 19 | try! ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/linux/operations/fiemap.rs:52:4 [INFO] [stderr] | [INFO] [stderr] 52 | try! ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/linux/operations/filesystem_info.rs:132:4 [INFO] [stderr] | [INFO] [stderr] 132 | try! ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/linux/operations/space_info.rs:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | try! ( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/linux/operations/deduplicate.rs:193:14 [INFO] [stderr] | [INFO] [stderr] 193 | io_error.description ()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: reference to packed field is unaligned [INFO] [stderr] --> src/diskformat/item/extent_data.rs:213:7 [INFO] [stderr] | [INFO] [stderr] 213 | self.data ().other_encoding) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unaligned_references)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `lzo2a_decompress` [INFO] [stderr] --> src/compress/lzo.rs:25:2 [INFO] [stderr] | [INFO] [stderr] 25 | / fn lzo2a_decompress ( [INFO] [stderr] 26 | | src: * const u8, [INFO] [stderr] 27 | | src_len: libc::c_uint, [INFO] [stderr] 28 | | dst: * const u8, [INFO] [stderr] 29 | | dst_len: * mut libc::c_uint, [INFO] [stderr] 30 | | wrkmem: * const u8, [INFO] [stderr] 31 | | ) -> libc::c_int; [INFO] [stderr] | |_____________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `data_bytes` [INFO] [stderr] --> src/diskformat/item/invalid_item.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | data_bytes: & 'a [u8], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BtrfsInvalidItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/diskformat/item/invalid_item.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | #[ derive (Clone, Debug) ] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `error` [INFO] [stderr] --> src/diskformat/item/invalid_item.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | error: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BtrfsInvalidItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/diskformat/item/invalid_item.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | #[ derive (Clone, Debug) ] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `data_bytes` [INFO] [stderr] --> src/diskformat/item/unknown_item.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | data_bytes: & 'a [u8], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `BtrfsUnknownItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/diskformat/item/unknown_item.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | #[ derive (Clone, Debug) ] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/compress/lzo.rs:110:4 [INFO] [stderr] | [INFO] [stderr] 110 | error) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 110 | "{}", error) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/diskformat/item/extent_data.rs:308:7 [INFO] [stderr] | [INFO] [stderr] 308 | / format! ( [INFO] [stderr] 309 | | "Unrecognised inline extent data compression {}", [INFO] [stderr] 310 | | self.data ().compression)), [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 308 ~ [INFO] [stderr] 309 | "Unrecognised inline extent data compression {}", [INFO] [stderr] 310 ~ self.data ().compression), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `btrfs` (lib) generated 20 warnings [INFO] [stderr] warning: `btrfs` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/btrfs-392b4e469234362d) [INFO] [stderr] Doc-tests btrfs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "48db6c87f9ffc7d6fad168ff71868bad7566391e33563320cb922dec6cc1824c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48db6c87f9ffc7d6fad168ff71868bad7566391e33563320cb922dec6cc1824c", kill_on_drop: false }` [INFO] [stdout] 48db6c87f9ffc7d6fad168ff71868bad7566391e33563320cb922dec6cc1824c