[INFO] crate mhash 0.3.0 is already in cache [INFO] checking mhash-0.3.0 against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [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 c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffd2b04ddddb049239831e14ab9d34c010f2bd40f06435197de8453d294d0d75 [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" "ffd2b04ddddb049239831e14ab9d34c010f2bd40f06435197de8453d294d0d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffd2b04ddddb049239831e14ab9d34c010f2bd40f06435197de8453d294d0d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffd2b04ddddb049239831e14ab9d34c010f2bd40f06435197de8453d294d0d75", kill_on_drop: false }` [INFO] [stdout] ffd2b04ddddb049239831e14ab9d34c010f2bd40f06435197de8453d294d0d75 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8da846db6b3ef26cfad510e9a7b734e422e202307684afcda25a406a17c5321 [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" "a8da846db6b3ef26cfad510e9a7b734e422e202307684afcda25a406a17c5321", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling libc v0.2.71 [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 bs58 v0.2.5 [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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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: use of deprecated item '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 item '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: 10 warnings emitted [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 7.41s [INFO] running `Command { std: "docker" "inspect" "a8da846db6b3ef26cfad510e9a7b734e422e202307684afcda25a406a17c5321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8da846db6b3ef26cfad510e9a7b734e422e202307684afcda25a406a17c5321", kill_on_drop: false }` [INFO] [stdout] a8da846db6b3ef26cfad510e9a7b734e422e202307684afcda25a406a17c5321