[INFO] fetching crate btrfs 1.2.2... [INFO] checking btrfs-1.2.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate btrfs 1.2.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate btrfs 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 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-8/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 51434ce4af90959d4d6058ddd82dfeb3715b1814197e57edd0a1b16905bd8098 [INFO] running `Command { std: "docker" "start" "-a" "51434ce4af90959d4d6058ddd82dfeb3715b1814197e57edd0a1b16905bd8098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51434ce4af90959d4d6058ddd82dfeb3715b1814197e57edd0a1b16905bd8098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51434ce4af90959d4d6058ddd82dfeb3715b1814197e57edd0a1b16905bd8098", kill_on_drop: false }` [INFO] [stdout] 51434ce4af90959d4d6058ddd82dfeb3715b1814197e57edd0a1b16905bd8098 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 28c99b326f78f7f707bb944003be2827f24800a741727c766830ea1dafb14bcd [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" "28c99b326f78f7f707bb944003be2827f24800a741727c766830ea1dafb14bcd", kill_on_drop: false }` [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking uuid v0.5.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.2.0 [INFO] [stderr] Compiling crc v1.8.1 [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: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [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(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: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_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] 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 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] 308 | [INFO] [stdout] 309 | "Unrecognised inline extent data compression {}", [INFO] [stdout] 310 | self.data ().compression), [INFO] [stdout] | [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:213:7 [INFO] [stdout] | [INFO] [stdout] 213 | 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: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_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] 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 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] 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.31s [INFO] running `Command { std: "docker" "inspect" "28c99b326f78f7f707bb944003be2827f24800a741727c766830ea1dafb14bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28c99b326f78f7f707bb944003be2827f24800a741727c766830ea1dafb14bcd", kill_on_drop: false }` [INFO] [stdout] 28c99b326f78f7f707bb944003be2827f24800a741727c766830ea1dafb14bcd