[INFO] fetching crate mhash 0.3.0... [INFO] checking mhash-0.3.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate mhash 0.3.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate mhash 0.3.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dbghelp-sys v0.2.0 [INFO] [stderr] Downloaded backtrace v0.2.3 [INFO] [stderr] Downloaded error-chain v0.5.0 [INFO] [stderr] Downloaded sodiumoxide v0.0.10 [INFO] [stderr] Downloaded libsodium-sys v0.0.10 [INFO] [stderr] Downloaded varmint v0.1.3 [INFO] [stderr] Downloaded bs58 v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd8838b70cfc4182d398f002ede8a76c7fd07cb0002feff20eb8a3e01f03d026 [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" "fd8838b70cfc4182d398f002ede8a76c7fd07cb0002feff20eb8a3e01f03d026", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd8838b70cfc4182d398f002ede8a76c7fd07cb0002feff20eb8a3e01f03d026", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd8838b70cfc4182d398f002ede8a76c7fd07cb0002feff20eb8a3e01f03d026", kill_on_drop: false }` [INFO] [stdout] fd8838b70cfc4182d398f002ede8a76c7fd07cb0002feff20eb8a3e01f03d026 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9c2aff06817c5c7c5510368225c6e1907f4b8158bdaad8dca26279a8d2783c2 [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" "c9c2aff06817c5c7c5510368225c6e1907f4b8158bdaad8dca26279a8d2783c2", kill_on_drop: false }` [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking bs58 v0.2.5 [INFO] [stderr] Checking varmint v0.1.3 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [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] [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] [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 a macro (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:13 [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 a macro (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::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 a macro (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:13 [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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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: 10 warnings emitted [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.82s [INFO] running `Command { std: "docker" "inspect" "c9c2aff06817c5c7c5510368225c6e1907f4b8158bdaad8dca26279a8d2783c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9c2aff06817c5c7c5510368225c6e1907f4b8158bdaad8dca26279a8d2783c2", kill_on_drop: false }` [INFO] [stdout] c9c2aff06817c5c7c5510368225c6e1907f4b8158bdaad8dca26279a8d2783c2