[INFO] fetching crate btrfs 1.2.2... [INFO] checking btrfs-1.2.2 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate btrfs 1.2.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate btrfs 1.2.2 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74627f40986d5e8fa8f476c99925d29cedd4436ee86e2472467b00b6c973d7a7 [INFO] running `Command { std: "docker" "start" "-a" "74627f40986d5e8fa8f476c99925d29cedd4436ee86e2472467b00b6c973d7a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74627f40986d5e8fa8f476c99925d29cedd4436ee86e2472467b00b6c973d7a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74627f40986d5e8fa8f476c99925d29cedd4436ee86e2472467b00b6c973d7a7", kill_on_drop: false }` [INFO] [stdout] 74627f40986d5e8fa8f476c99925d29cedd4436ee86e2472467b00b6c973d7a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a125dd45844ff147570bd2721d73a88e2cadece627cdbe9844335b50d3ad3454 [INFO] running `Command { std: "docker" "start" "-a" "a125dd45844ff147570bd2721d73a88e2cadece627cdbe9844335b50d3ad3454", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking minilzo-sys v0.1.0 [INFO] [stderr] Checking nix v0.8.1 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking minilzo v0.2.0 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Checking 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: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/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/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: 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: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/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/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: 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] [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] [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: 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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 109 | 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: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: 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: 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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 109 | 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: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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.36s [INFO] running `Command { std: "docker" "inspect" "a125dd45844ff147570bd2721d73a88e2cadece627cdbe9844335b50d3ad3454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a125dd45844ff147570bd2721d73a88e2cadece627cdbe9844335b50d3ad3454", kill_on_drop: false }` [INFO] [stdout] a125dd45844ff147570bd2721d73a88e2cadece627cdbe9844335b50d3ad3454