[INFO] fetching crate mhash 0.3.0... [INFO] checking mhash-0.3.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate mhash 0.3.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate mhash 0.3.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mhash 0.3.0 [INFO] finished tweaking crates.io crate mhash 0.3.0 [INFO] tweaked toml for crates.io crate mhash 0.3.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded error-chain v0.5.0 [INFO] [stderr] Downloaded varmint v0.1.3 [INFO] [stderr] Downloaded libsodium-sys v0.0.10 [INFO] [stderr] Downloaded sodiumoxide v0.0.10 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e02d32e21e4eb8c45cc069d3c4541ecb64bb32cc80421e8c2ee0c657886f6f6 [INFO] running `Command { std: "docker" "start" "-a" "9e02d32e21e4eb8c45cc069d3c4541ecb64bb32cc80421e8c2ee0c657886f6f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e02d32e21e4eb8c45cc069d3c4541ecb64bb32cc80421e8c2ee0c657886f6f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e02d32e21e4eb8c45cc069d3c4541ecb64bb32cc80421e8c2ee0c657886f6f6", kill_on_drop: false }` [INFO] [stdout] 9e02d32e21e4eb8c45cc069d3c4541ecb64bb32cc80421e8c2ee0c657886f6f6 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65bc1702169dc7b8cadfdeb75d748e1aef7b82f1a20024b57a02a11e1fe99c83 [INFO] running `Command { std: "docker" "start" "-a" "65bc1702169dc7b8cadfdeb75d748e1aef7b82f1a20024b57a02a11e1fe99c83", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking varmint v0.1.3 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking bs58 v0.2.5 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking error-chain v0.5.0 [INFO] [stderr] Checking mhash v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `fat_ptr_transmutes` has been removed: was accidentally removed back in 2014 [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![warn(fat_ptr_transmutes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `redundant_closure` [INFO] [stdout] --> src/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(redundant_closure)] // Caused by error_chain! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `len_without_is_empty` [INFO] [stdout] --> src/multihash.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | #[allow(len_without_is_empty)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `fat_ptr_transmutes` has been removed: was accidentally removed back in 2014 [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![warn(fat_ptr_transmutes)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `redundant_closure` [INFO] [stdout] --> src/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #![allow(redundant_closure)] // Caused by error_chain! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `len_without_is_empty` [INFO] [stdout] --> src/multihash.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | #[allow(len_without_is_empty)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/variant.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | 0x0400 ... 0x040f => ApplicationSpecific { code: code }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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 issue #80165 [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/error.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / error_chain! { [INFO] [stdout] 30 | | links { [INFO] [stdout] 31 | | creation::Error, creation::ErrorKind, Creation; [INFO] [stdout] 32 | | } [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bs58::decode::DecodeError`: Use `bs58::decode::Error` instead [INFO] [stdout] --> src/error.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | bs58::decode::DecodeError, Base58; [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/error.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / error_chain! { [INFO] [stdout] 55 | | links { [INFO] [stdout] 56 | | from_bytes::Error, from_bytes::ErrorKind, FromBytes; [INFO] [stdout] 57 | | } [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/variant.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | 0x0400 ... 0x040f => ApplicationSpecific { code: code }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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 issue #80165 [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/error.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / error_chain! { [INFO] [stdout] 30 | | links { [INFO] [stdout] 31 | | creation::Error, creation::ErrorKind, Creation; [INFO] [stdout] 32 | | } [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `bs58::decode::DecodeError`: Use `bs58::decode::Error` instead [INFO] [stdout] --> src/error.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | bs58::decode::DecodeError, Base58; [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/error.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / error_chain! { [INFO] [stdout] 55 | | links { [INFO] [stdout] 56 | | from_bytes::Error, from_bytes::ErrorKind, FromBytes; [INFO] [stdout] 57 | | } [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [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/error.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / error_chain! { [INFO] [stdout] 30 | | links { [INFO] [stdout] 31 | | creation::Error, creation::ErrorKind, Creation; [INFO] [stdout] 32 | | } [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [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/error.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / error_chain! { [INFO] [stdout] 55 | | links { [INFO] [stdout] 56 | | from_bytes::Error, from_bytes::ErrorKind, FromBytes; [INFO] [stdout] 57 | | } [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [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/error.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / error_chain! { [INFO] [stdout] 30 | | links { [INFO] [stdout] 31 | | creation::Error, creation::ErrorKind, Creation; [INFO] [stdout] 32 | | } [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [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/error.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / error_chain! { [INFO] [stdout] 55 | | links { [INFO] [stdout] 56 | | from_bytes::Error, from_bytes::ErrorKind, FromBytes; [INFO] [stdout] 57 | | } [INFO] [stdout] ... | [INFO] [stdout] 61 | | } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/multihash_vec.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let mut writer = &mut bytes; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/multihash_vec.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let mut writer = &mut bytes; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::result::Result::::is_err` that must be used [INFO] [stdout] --> src/read.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | buffer.read_multihash().is_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is err, consider `.unwrap_err()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::result::Result::::is_err` that must be used [INFO] [stdout] --> src/read.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | buffer.read_multihash().is_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is err, consider `.unwrap_err()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::result::Result::::is_err` that must be used [INFO] [stdout] --> src/read.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | buffer.read_multihash().is_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is err, consider `.unwrap_err()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::result::Result::::is_err` that must be used [INFO] [stdout] --> src/read.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | buffer.read_multihash().is_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is err, consider `.unwrap_err()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::result::Result::::is_err` that must be used [INFO] [stdout] --> src/read.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | buffer.read_multihash().is_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is err, consider `.unwrap_err()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.52s [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "65bc1702169dc7b8cadfdeb75d748e1aef7b82f1a20024b57a02a11e1fe99c83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65bc1702169dc7b8cadfdeb75d748e1aef7b82f1a20024b57a02a11e1fe99c83", kill_on_drop: false }` [INFO] [stdout] 65bc1702169dc7b8cadfdeb75d748e1aef7b82f1a20024b57a02a11e1fe99c83