[INFO] fetching crate btrfs2 1.2.2... [INFO] checking btrfs2-1.2.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate btrfs2 1.2.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate btrfs2 1.2.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate btrfs2 1.2.2 [INFO] finished tweaking crates.io crate btrfs2 1.2.2 [INFO] tweaked toml for crates.io crate btrfs2 1.2.2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minilzo-sys v0.1.0 [INFO] [stderr] Downloaded minilzo v0.1.2 [INFO] [stderr] Downloaded nix v0.8.1 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3edc2371072b73cf613b4813ebd83c5f812a6128b46d82cd0838b0f188418827 [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" "3edc2371072b73cf613b4813ebd83c5f812a6128b46d82cd0838b0f188418827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3edc2371072b73cf613b4813ebd83c5f812a6128b46d82cd0838b0f188418827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3edc2371072b73cf613b4813ebd83c5f812a6128b46d82cd0838b0f188418827", kill_on_drop: false }` [INFO] [stdout] 3edc2371072b73cf613b4813ebd83c5f812a6128b46d82cd0838b0f188418827 [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=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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 232ba49dad9acf72ae38a6e15e1822cc6d812de9556cc83312e46ddf84daec30 [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" "232ba49dad9acf72ae38a6e15e1822cc6d812de9556cc83312e46ddf84daec30", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking uuid v0.3.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking minilzo-sys v0.1.0 [INFO] [stderr] Checking nix v0.8.1 [INFO] [stderr] Checking minilzo v0.1.2 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking btrfs2 v1.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[ 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:228:42 [INFO] [stdout] | [INFO] [stdout] 228 | 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: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/diskformat/tree/root_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `linux::imports::*` [INFO] [stdout] --> src/linux/ctypes/ioctl_constants.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use linux::imports::*; [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: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:186:3 [INFO] [stdout] | [INFO] [stdout] 186 | 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:203:3 [INFO] [stdout] | [INFO] [stdout] 203 | 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:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | 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:278:2 [INFO] [stdout] | [INFO] [stdout] 278 | 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:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | 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: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[ 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:228:42 [INFO] [stdout] | [INFO] [stdout] 228 | 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: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/diskformat/tree/root_tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `linux::imports::*` [INFO] [stdout] --> src/linux/ctypes/ioctl_constants.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use linux::imports::*; [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: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:186:3 [INFO] [stdout] | [INFO] [stdout] 186 | 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:203:3 [INFO] [stdout] | [INFO] [stdout] 203 | 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:229:4 [INFO] [stdout] | [INFO] [stdout] 229 | 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:278:2 [INFO] [stdout] | [INFO] [stdout] 278 | 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:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | 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:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | io_error.description ()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/linux/operations/fiemap.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | if let Err(e) = fiemap_result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/linux/operations/filesystem_info.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | if let Err(e) = get_fs_info_result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/linux/operations/filesystem_info.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | if let Err(e) = get_dev_info_result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/linux/operations/space_info.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | if let Err(e) = get_space_args_real_result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [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:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | io_error.description ()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/linux/operations/fiemap.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | if let Err(e) = fiemap_result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/linux/operations/filesystem_info.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | if let Err(e) = get_fs_info_result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/linux/operations/filesystem_info.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | if let Err(e) = get_dev_info_result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/linux/operations/space_info.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | if let Err(e) = get_space_args_real_result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/diskformat/item/extent_data.rs:215:7 [INFO] [stdout] | [INFO] [stdout] 215 | self.data ().other_encoding) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` 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 #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lzo2a_decompress` [INFO] [stdout] --> src/compress/lzo.rs:28:2 [INFO] [stdout] | [INFO] [stdout] 28 | / fn lzo2a_decompress ( [INFO] [stdout] 29 | | src: * const u8, [INFO] [stdout] 30 | | src_len: libc::c_uint, [INFO] [stdout] 31 | | dst: * const u8, [INFO] [stdout] 32 | | dst_len: * mut libc::c_uint, [INFO] [stdout] 33 | | wrkmem: * const u8, [INFO] [stdout] 34 | | ) -> 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: `superblock` [INFO] [stdout] --> src/diskformat/superblock.rs:43:2 [INFO] [stdout] | [INFO] [stdout] 43 | superblock: & 'a BtrfsSuperblock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/compress/lzo.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | error) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 116 | "{}", error) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 115 | std::panic::panic_any( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/diskformat/item/extent_data.rs:317:7 [INFO] [stdout] | [INFO] [stdout] 317 | / format! ( [INFO] [stdout] 318 | | "Unrecognised inline extent data compression {}", [INFO] [stdout] 319 | | self.data ().compression)), [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 317 | [INFO] [stdout] 318 | "Unrecognised inline extent data compression {}", [INFO] [stdout] 319 | self.data ().compression), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compress/lzo.rs:109:2 [INFO] [stdout] | [INFO] [stdout] 109 | / io::stderr ().write_all ( [INFO] [stdout] 110 | | b"LZO\r\n"); [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compress/lzo.rs:120:2 [INFO] [stdout] | [INFO] [stdout] 120 | / io::stderr ().write_all ( [INFO] [stdout] 121 | | b"LZO2\r\n"); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compress/lzo.rs:148:2 [INFO] [stdout] | [INFO] [stdout] 148 | / io::stderr ().write_all ( [INFO] [stdout] 149 | | b"LZO3\r\n"); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/diskformat/item/extent_data.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | / io::stdout ().write_fmt ( [INFO] [stdout] 237 | | format_args! ( [INFO] [stdout] 238 | | "LZO SUCCESS {} -> {} bytes\r\n", [INFO] [stdout] 239 | | raw_data.len (), [INFO] [stdout] 240 | | uncompressed_data.len ())); [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/diskformat/item/extent_data.rs:215:7 [INFO] [stdout] | [INFO] [stdout] 215 | self.data ().other_encoding) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` 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 #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lzo2a_decompress` [INFO] [stdout] --> src/compress/lzo.rs:28:2 [INFO] [stdout] | [INFO] [stdout] 28 | / fn lzo2a_decompress ( [INFO] [stdout] 29 | | src: * const u8, [INFO] [stdout] 30 | | src_len: libc::c_uint, [INFO] [stdout] 31 | | dst: * const u8, [INFO] [stdout] 32 | | dst_len: * mut libc::c_uint, [INFO] [stdout] 33 | | wrkmem: * const u8, [INFO] [stdout] 34 | | ) -> 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: `superblock` [INFO] [stdout] --> src/diskformat/superblock.rs:43:2 [INFO] [stdout] | [INFO] [stdout] 43 | superblock: & 'a BtrfsSuperblock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/compress/lzo.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | error) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 116 | "{}", error) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 115 | std::panic::panic_any( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/diskformat/item/extent_data.rs:317:7 [INFO] [stdout] | [INFO] [stdout] 317 | / format! ( [INFO] [stdout] 318 | | "Unrecognised inline extent data compression {}", [INFO] [stdout] 319 | | self.data ().compression)), [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 317 | [INFO] [stdout] 318 | "Unrecognised inline extent data compression {}", [INFO] [stdout] 319 | self.data ().compression), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compress/lzo.rs:109:2 [INFO] [stdout] | [INFO] [stdout] 109 | / io::stderr ().write_all ( [INFO] [stdout] 110 | | b"LZO\r\n"); [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compress/lzo.rs:120:2 [INFO] [stdout] | [INFO] [stdout] 120 | / io::stderr ().write_all ( [INFO] [stdout] 121 | | b"LZO2\r\n"); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compress/lzo.rs:148:2 [INFO] [stdout] | [INFO] [stdout] 148 | / io::stderr ().write_all ( [INFO] [stdout] 149 | | b"LZO3\r\n"); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/diskformat/item/extent_data.rs:236:1 [INFO] [stdout] | [INFO] [stdout] 236 | / io::stdout ().write_fmt ( [INFO] [stdout] 237 | | format_args! ( [INFO] [stdout] 238 | | "LZO SUCCESS {} -> {} bytes\r\n", [INFO] [stdout] 239 | | raw_data.len (), [INFO] [stdout] 240 | | uncompressed_data.len ())); [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.67s [INFO] running `Command { std: "docker" "inspect" "232ba49dad9acf72ae38a6e15e1822cc6d812de9556cc83312e46ddf84daec30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "232ba49dad9acf72ae38a6e15e1822cc6d812de9556cc83312e46ddf84daec30", kill_on_drop: false }` [INFO] [stdout] 232ba49dad9acf72ae38a6e15e1822cc6d812de9556cc83312e46ddf84daec30