[INFO] fetching crate blkid 0.2.1... [INFO] testing blkid-0.2.1 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate blkid 0.2.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate blkid 0.2.1 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate blkid 0.2.1 [INFO] finished tweaking crates.io crate blkid 0.2.1 [INFO] tweaked toml for crates.io crate blkid 0.2.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded blkid-sys v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8371d0fcfd8d639e12ed48bfb7b99a7dc06d51b977a96ae559fb640d0bcf244 [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" "e8371d0fcfd8d639e12ed48bfb7b99a7dc06d51b977a96ae559fb640d0bcf244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8371d0fcfd8d639e12ed48bfb7b99a7dc06d51b977a96ae559fb640d0bcf244", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8371d0fcfd8d639e12ed48bfb7b99a7dc06d51b977a96ae559fb640d0bcf244", kill_on_drop: false }` [INFO] [stdout] e8371d0fcfd8d639e12ed48bfb7b99a7dc06d51b977a96ae559fb640d0bcf244 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cc34d9f11755e20a86d94a8b8f59b6d560a6b097de88ba12e11113d307300b9 [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" "0cc34d9f11755e20a86d94a8b8f59b6d560a6b097de88ba12e11113d307300b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling blkid-sys v0.1.5 [INFO] [stderr] Compiling blkid v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn cause(&self) -> Option<&err> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:374:61 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn set_partition_flags(&self, flags: u32) -> Result<(&Self), BlkidError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - pub fn set_partition_flags(&self, flags: u32) -> Result<(&Self), BlkidError> { [INFO] [stdout] 374 + pub fn set_partition_flags(&self, flags: u32) -> Result<&Self, BlkidError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:385:48 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn enable_superblocks(&self) -> Result<(&Self), BlkidError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 385 - pub fn enable_superblocks(&self) -> Result<(&Self), BlkidError> { [INFO] [stdout] 385 + pub fn enable_superblocks(&self) -> Result<&Self, BlkidError> { [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/lib.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/lib.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | BlkidError::FromUtf8Error(ref e) => e.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/lib.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | BlkidError::NulError(ref e) => e.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/lib.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | BlkidError::IoError(ref e) => e.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/lib.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | BlkidError::IntoStringError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:53:51 [INFO] [stdout] | [INFO] [stdout] 53 | BlkidError::FromUtf8Error(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | BlkidError::NulError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | BlkidError::IoError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:57:53 [INFO] [stdout] | [INFO] [stdout] 57 | BlkidError::IntoStringError(ref e) => e.cause(), [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/lib.rs:71:50 [INFO] [stdout] | [INFO] [stdout] 71 | BlkidError::NulError(ref err) => err.description().to_string(), [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/lib.rs:73:49 [INFO] [stdout] | [INFO] [stdout] 73 | BlkidError::IoError(ref err) => err.description().to_string(), [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/lib.rs:74:57 [INFO] [stdout] | [INFO] [stdout] 74 | BlkidError::IntoStringError(ref err) => err.description().to_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0cc34d9f11755e20a86d94a8b8f59b6d560a6b097de88ba12e11113d307300b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cc34d9f11755e20a86d94a8b8f59b6d560a6b097de88ba12e11113d307300b9", kill_on_drop: false }` [INFO] [stdout] 0cc34d9f11755e20a86d94a8b8f59b6d560a6b097de88ba12e11113d307300b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c0de7cd5367d5c8619659bd50509eacefda9820f1bee138d0326164f9cd199b [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" "0c0de7cd5367d5c8619659bd50509eacefda9820f1bee138d0326164f9cd199b", kill_on_drop: false }` [INFO] [stderr] Compiling blkid v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn cause(&self) -> Option<&err> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:374:61 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn set_partition_flags(&self, flags: u32) -> Result<(&Self), BlkidError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - pub fn set_partition_flags(&self, flags: u32) -> Result<(&Self), BlkidError> { [INFO] [stdout] 374 + pub fn set_partition_flags(&self, flags: u32) -> Result<&Self, BlkidError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:385:48 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn enable_superblocks(&self) -> Result<(&Self), BlkidError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 385 - pub fn enable_superblocks(&self) -> Result<(&Self), BlkidError> { [INFO] [stdout] 385 + pub fn enable_superblocks(&self) -> Result<&Self, BlkidError> { [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/lib.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/lib.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | BlkidError::FromUtf8Error(ref e) => e.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/lib.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | BlkidError::NulError(ref e) => e.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/lib.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | BlkidError::IoError(ref e) => e.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/lib.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | BlkidError::IntoStringError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:53:51 [INFO] [stdout] | [INFO] [stdout] 53 | BlkidError::FromUtf8Error(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | BlkidError::NulError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | BlkidError::IoError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:57:53 [INFO] [stdout] | [INFO] [stdout] 57 | BlkidError::IntoStringError(ref e) => e.cause(), [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/lib.rs:71:50 [INFO] [stdout] | [INFO] [stdout] 71 | BlkidError::NulError(ref err) => err.description().to_string(), [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/lib.rs:73:49 [INFO] [stdout] | [INFO] [stdout] 73 | BlkidError::IoError(ref err) => err.description().to_string(), [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/lib.rs:74:57 [INFO] [stdout] | [INFO] [stdout] 74 | BlkidError::IntoStringError(ref err) => err.description().to_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:51:32 [INFO] [stdout] | [INFO] [stdout] 51 | fn cause(&self) -> Option<&err> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:374:61 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn set_partition_flags(&self, flags: u32) -> Result<(&Self), BlkidError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - pub fn set_partition_flags(&self, flags: u32) -> Result<(&Self), BlkidError> { [INFO] [stdout] 374 + pub fn set_partition_flags(&self, flags: u32) -> Result<&Self, BlkidError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:385:48 [INFO] [stdout] | [INFO] [stdout] 385 | pub fn enable_superblocks(&self) -> Result<(&Self), BlkidError> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 385 - pub fn enable_superblocks(&self) -> Result<(&Self), BlkidError> { [INFO] [stdout] 385 + pub fn enable_superblocks(&self) -> Result<&Self, BlkidError> { [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/lib.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/lib.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | BlkidError::FromUtf8Error(ref e) => e.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/lib.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | BlkidError::NulError(ref e) => e.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/lib.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | BlkidError::IoError(ref e) => e.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/lib.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | BlkidError::IntoStringError(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:53:51 [INFO] [stdout] | [INFO] [stdout] 53 | BlkidError::FromUtf8Error(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 54 | BlkidError::NulError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:56:45 [INFO] [stdout] | [INFO] [stdout] 56 | BlkidError::IoError(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:57:53 [INFO] [stdout] | [INFO] [stdout] 57 | BlkidError::IntoStringError(ref e) => e.cause(), [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/lib.rs:71:50 [INFO] [stdout] | [INFO] [stdout] 71 | BlkidError::NulError(ref err) => err.description().to_string(), [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/lib.rs:73:49 [INFO] [stdout] | [INFO] [stdout] 73 | BlkidError::IoError(ref err) => err.description().to_string(), [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/lib.rs:74:57 [INFO] [stdout] | [INFO] [stdout] 74 | BlkidError::IntoStringError(ref err) => err.description().to_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.74s [INFO] running `Command { std: "docker" "inspect" "0c0de7cd5367d5c8619659bd50509eacefda9820f1bee138d0326164f9cd199b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0de7cd5367d5c8619659bd50509eacefda9820f1bee138d0326164f9cd199b", kill_on_drop: false }` [INFO] [stdout] 0c0de7cd5367d5c8619659bd50509eacefda9820f1bee138d0326164f9cd199b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aa3e393491a80dd7fc3babd98394b1b475cf225faa6b218d9e11d6ce61c814cc [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" "aa3e393491a80dd7fc3babd98394b1b475cf225faa6b218d9e11d6ce61c814cc", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:51:32 [INFO] [stderr] | [INFO] [stderr] 51 | fn cause(&self) -> Option<&err> { [INFO] [stderr] | ^^^ help: use `dyn`: `dyn err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:374:61 [INFO] [stderr] | [INFO] [stderr] 374 | pub fn set_partition_flags(&self, flags: u32) -> Result<(&Self), BlkidError> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 374 - pub fn set_partition_flags(&self, flags: u32) -> Result<(&Self), BlkidError> { [INFO] [stderr] 374 + pub fn set_partition_flags(&self, flags: u32) -> Result<&Self, BlkidError> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:385:48 [INFO] [stderr] | [INFO] [stderr] 385 | pub fn enable_superblocks(&self) -> Result<(&Self), BlkidError> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 385 - pub fn enable_superblocks(&self) -> Result<(&Self), BlkidError> { [INFO] [stderr] 385 + pub fn enable_superblocks(&self) -> Result<&Self, BlkidError> { [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/lib.rs:37:26 [INFO] [stderr] | [INFO] [stderr] 37 | f.write_str(self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:44:51 [INFO] [stderr] | [INFO] [stderr] 44 | BlkidError::FromUtf8Error(ref e) => e.description(), [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/lib.rs:45:46 [INFO] [stderr] | [INFO] [stderr] 45 | BlkidError::NulError(ref e) => e.description(), [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/lib.rs:47:45 [INFO] [stderr] | [INFO] [stderr] 47 | BlkidError::IoError(ref e) => e.description(), [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/lib.rs:48:53 [INFO] [stderr] | [INFO] [stderr] 48 | BlkidError::IntoStringError(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:53:51 [INFO] [stderr] | [INFO] [stderr] 53 | BlkidError::FromUtf8Error(ref e) => e.cause(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:54:46 [INFO] [stderr] | [INFO] [stderr] 54 | BlkidError::NulError(ref e) => e.cause(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:56:45 [INFO] [stderr] | [INFO] [stderr] 56 | BlkidError::IoError(ref e) => e.cause(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:57:53 [INFO] [stderr] | [INFO] [stderr] 57 | BlkidError::IntoStringError(ref e) => e.cause(), [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/lib.rs:71:50 [INFO] [stderr] | [INFO] [stderr] 71 | BlkidError::NulError(ref err) => err.description().to_string(), [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/lib.rs:73:49 [INFO] [stderr] | [INFO] [stderr] 73 | BlkidError::IoError(ref err) => err.description().to_string(), [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/lib.rs:74:57 [INFO] [stderr] | [INFO] [stderr] 74 | BlkidError::IntoStringError(ref err) => err.description().to_string(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `blkid` (lib) generated 15 warnings [INFO] [stderr] warning: `blkid` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/blkid-e874568ed44e9bdd) [INFO] [stdout] [INFO] [stderr] Doc-tests blkid [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] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:374:61 [INFO] [stderr] | [INFO] [stderr] 374 | pub fn set_partition_flags(&self, flags: u32) -> Result<(&Self), BlkidError> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 374 - pub fn set_partition_flags(&self, flags: u32) -> Result<(&Self), BlkidError> { [INFO] [stderr] 374 + pub fn set_partition_flags(&self, flags: u32) -> Result<&Self, BlkidError> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:385:48 [INFO] [stderr] | [INFO] [stderr] 385 | pub fn enable_superblocks(&self) -> Result<(&Self), BlkidError> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 385 - pub fn enable_superblocks(&self) -> Result<(&Self), BlkidError> { [INFO] [stderr] 385 + pub fn enable_superblocks(&self) -> Result<&Self, BlkidError> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [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" "aa3e393491a80dd7fc3babd98394b1b475cf225faa6b218d9e11d6ce61c814cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa3e393491a80dd7fc3babd98394b1b475cf225faa6b218d9e11d6ce61c814cc", kill_on_drop: false }` [INFO] [stdout] aa3e393491a80dd7fc3babd98394b1b475cf225faa6b218d9e11d6ce61c814cc