[INFO] fetching crate cuckoo_miner 0.5.2... [INFO] checking cuckoo_miner-0.5.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate cuckoo_miner 0.5.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate cuckoo_miner 0.5.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 cuckoo_miner 0.5.2 [INFO] finished tweaking crates.io crate cuckoo_miner 0.5.2 [INFO] tweaked toml for crates.io crate cuckoo_miner 0.5.2 written to /workspace/builds/worker-6/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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded blake2-rfc v0.2.18 [INFO] [stderr] Downloaded const-cstr v0.2.1 [INFO] [stderr] Downloaded fs_extra v1.2.0 [INFO] [stderr] Downloaded grin_miner_plugin v0.5.2 [INFO] [stderr] Downloaded grin_miner_util v0.5.2 [INFO] [stderr] Downloaded slog v2.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] [stdout] 1a56eb9acd130e57940eff61d4e0ecc30a8bb9932a091962b19f68268b436e1d [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" "1a56eb9acd130e57940eff61d4e0ecc30a8bb9932a091962b19f68268b436e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a56eb9acd130e57940eff61d4e0ecc30a8bb9932a091962b19f68268b436e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a56eb9acd130e57940eff61d4e0ecc30a8bb9932a091962b19f68268b436e1d", kill_on_drop: false }` [INFO] [stdout] 1a56eb9acd130e57940eff61d4e0ecc30a8bb9932a091962b19f68268b436e1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 095de85e4f1a86d4dca452f26384c9ece848f4a4b5b94a4086a4b3b5d2733daf [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" "095de85e4f1a86d4dca452f26384c9ece848f4a4b5b94a4086a4b3b5d2733daf", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking slog v2.1.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking const-cstr v0.2.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Compiling cuckoo_miner v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sanity::Finder` [INFO] [stdout] --> src/build.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use sanity::Finder; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Finder` [INFO] [stdout] --> src/sanity.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Finder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sanity.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `maybe_have` [INFO] [stdout] --> src/sanity.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn maybe_have>(&mut self, cmd: S) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking slog-async v2.6.0 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking slog-term v2.8.0 [INFO] [stderr] Checking grin_miner_util v0.5.2 [INFO] [stderr] Checking grin_miner_plugin v0.5.2 [INFO] [stdout] warning: constant is never used: `T4_GENESIS_PROOF` [INFO] [stdout] --> tests/common/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / pub const T4_GENESIS_PROOF:[u64; 42] = [ [INFO] [stdout] 38 | | 0x46f3b4, 0x1135f8c, 0x1a1596f, 0x1e10f71, 0x41c03ea, 0x63fe8e7, 0x65af34f, [INFO] [stdout] 39 | | 0x73c16d3, 0x8216dc3, 0x9bc75d0, 0xae7d9ad, 0xc1cb12b, 0xc65e957, 0xf67a152, [INFO] [stdout] 40 | | 0xfac6559, 0x100c3d71, 0x11eea08b, 0x1225dfbb, 0x124d61a1, 0x132a14b4, 0x13f4ec38, [INFO] [stdout] 41 | | 0x1542d236, 0x155f2df0, 0x1577394e, 0x163c3513, 0x19349845, 0x19d46953, 0x19f65ed4, [INFO] [stdout] 42 | | 0x1a0411b9, 0x1a2fa039, 0x1a72a06c, 0x1b02ddd2, 0x1b594d59, 0x1b7bffd3, 0x1befe12e, [INFO] [stdout] 43 | | 0x1c82e4cd, 0x1d492478, 0x1de132a5, 0x1e578b3c, 0x1ed96855, 0x1f222896, 0x1fea0da6]; [INFO] [stdout] | |____________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pl` [INFO] [stdout] --> tests/plugins.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | fn run_solver(pl: &PluginLibrary, params: SolverParams) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> tests/plugins.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | fn run_solver(pl: &PluginLibrary, params: SolverParams) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `T4_GENESIS_PREPOW` [INFO] [stdout] --> tests/common/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / pub const T4_GENESIS_PREPOW:&str = "00010000000000000000000000005bc794c0fffffffff\ [INFO] [stdout] 29 | | fffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000\ [INFO] [stdout] 30 | | 00000000000000000000000000000000000000000000000000000000000000000000000000000\ [INFO] [stdout] 31 | | 00000000000000000000000000000000000000000000000000000000000000000000000000000\ [INFO] [stdout] 32 | | 00000000000000000000000000000000000000000000000000000000000000000000000000000\ [INFO] [stdout] 33 | | 00000000000000000000000000000000000000000000000000000000000000000000000000000\ [INFO] [stdout] 34 | | 000000000000000000000000000000001c5200000007407784d410a210b1ba"; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `T4_GENESIS_PROOF` [INFO] [stdout] --> tests/common/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / pub const T4_GENESIS_PROOF:[u64; 42] = [ [INFO] [stdout] 38 | | 0x46f3b4, 0x1135f8c, 0x1a1596f, 0x1e10f71, 0x41c03ea, 0x63fe8e7, 0x65af34f, [INFO] [stdout] 39 | | 0x73c16d3, 0x8216dc3, 0x9bc75d0, 0xae7d9ad, 0xc1cb12b, 0xc65e957, 0xf67a152, [INFO] [stdout] 40 | | 0xfac6559, 0x100c3d71, 0x11eea08b, 0x1225dfbb, 0x124d61a1, 0x132a14b4, 0x13f4ec38, [INFO] [stdout] 41 | | 0x1542d236, 0x155f2df0, 0x1577394e, 0x163c3513, 0x19349845, 0x19d46953, 0x19f65ed4, [INFO] [stdout] 42 | | 0x1a0411b9, 0x1a2fa039, 0x1a72a06c, 0x1b02ddd2, 0x1b594d59, 0x1b7bffd3, 0x1befe12e, [INFO] [stdout] 43 | | 0x1c82e4cd, 0x1d492478, 0x1de132a5, 0x1e578b3c, 0x1ed96855, 0x1f222896, 0x1fea0da6]; [INFO] [stdout] | |____________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mining_plugin_dir_for_tests` [INFO] [stdout] --> tests/common/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn mining_plugin_dir_for_tests() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mine_async_for_duration` [INFO] [stdout] --> tests/common/mod.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn mine_async_for_duration(configs: &Vec, duration_in_seconds: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CUCKATOO_29_SOL` [INFO] [stdout] --> tests/plugins.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / const CUCKATOO_29_SOL: [u64; 42] = [ [INFO] [stdout] 33 | | 0x48a9e2, 0x9cf043, 0x155ca30, 0x18f4783, 0x248f86c, 0x2629a64, 0x5bad752, 0x72e3569, [INFO] [stdout] 34 | | 0x93db760, 0x97d3b37, 0x9e05670, 0xa315d5a, 0xa3571a1, 0xa48db46, 0xa7796b6, 0xac43611, [INFO] [stdout] 35 | | 0xb64912f, 0xbb6c71e, 0xbcc8be1, 0xc38a43a, 0xd4faa99, 0xe018a66, 0xe37e49c, 0xfa975fa, [INFO] [stdout] ... | [INFO] [stdout] 38 | | 0x1c05d5b0, 0x1c0b9caa, [INFO] [stdout] 39 | | ]; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `from_hex_string` [INFO] [stdout] --> tests/plugins.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn from_hex_string(in_str: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_mutating` [INFO] [stdout] --> tests/plugins.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn test_mutating(pl: &PluginLibrary, mut params: SolverParams) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_t4_genesis` [INFO] [stdout] --> tests/plugins.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn test_t4_genesis(pl: &PluginLibrary, mut params: SolverParams) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> tests/plugins.rs:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | for p in TEST_PLUGIN_LIBS_CORE.into_iter() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` 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 #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> tests/plugins.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 81 | for p in TEST_PLUGIN_LIBS_OPTIONAL.into_iter() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [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 #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> tests/plugins.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | for p in TEST_PLUGIN_LIBS_CORE.into_iter() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [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 #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> tests/plugins.rs:102:38 [INFO] [stdout] | [INFO] [stdout] 102 | for p in TEST_PLUGIN_LIBS_OPTIONAL.into_iter() { [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [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 #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.43s [INFO] running `Command { std: "docker" "inspect" "095de85e4f1a86d4dca452f26384c9ece848f4a4b5b94a4086a4b3b5d2733daf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "095de85e4f1a86d4dca452f26384c9ece848f4a4b5b94a4086a4b3b5d2733daf", kill_on_drop: false }` [INFO] [stdout] 095de85e4f1a86d4dca452f26384c9ece848f4a4b5b94a4086a4b3b5d2733daf