[INFO] cloning repository https://github.com/y0unghe/grin-miner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/y0unghe/grin-miner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0unghe%2Fgrin-miner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0unghe%2Fgrin-miner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c44f432cc37f9cb64dfdc52d704583f709715268 [INFO] testing y0unghe/grin-miner against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0unghe%2Fgrin-miner" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/y0unghe/grin-miner on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/y0unghe/grin-miner [INFO] finished tweaking git repo https://github.com/y0unghe/grin-miner [INFO] tweaked toml for git repo https://github.com/y0unghe/grin-miner written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/y0unghe/grin-miner already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca4dd35fe7ec11c908ed3615c8265da68c987de6105b05cb54a7470b240da36c [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" "ca4dd35fe7ec11c908ed3615c8265da68c987de6105b05cb54a7470b240da36c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca4dd35fe7ec11c908ed3615c8265da68c987de6105b05cb54a7470b240da36c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4dd35fe7ec11c908ed3615c8265da68c987de6105b05cb54a7470b240da36c", kill_on_drop: false }` [INFO] [stdout] ca4dd35fe7ec11c908ed3615c8265da68c987de6105b05cb54a7470b240da36c [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" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fa52634c2a134c59c2a2f090f77ac3abd14b10c2a7b3568152e244b9c8fdf571 [INFO] running `Command { std: "docker" "start" "-a" "fa52634c2a134c59c2a2f090f77ac3abd14b10c2a7b3568152e244b9c8fdf571", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling serde v1.0.78 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling slog v2.1.1 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling constant_time_eq v0.1.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling array-macro v1.0.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling openssl v0.10.15 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling hashbrown v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling bufstream v0.1.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling cmake v0.1.34 [INFO] [stderr] Compiling enum-map-internals v0.1.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling slog-async v2.3.0 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling signal-hook-registry v1.0.1 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling dirs v1.0.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling libz-sys v1.0.22 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling openssl-sys v0.9.39 [INFO] [stderr] Compiling libgit2-sys v0.6.19 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Compiling cuckoo_miner v2.0.0 (/opt/rustwide/workdir/cuckoo-miner) [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stdout] warning: struct is never constructed: `Finder` [INFO] [stdout] --> cuckoo-miner/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] --> cuckoo-miner/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] --> cuckoo-miner/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] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling signal-hook v0.1.9 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling pancurses v0.16.1 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling slog-term v2.4.0 [INFO] [stderr] Compiling toml v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.27 [INFO] [stderr] Compiling toml v0.5.0 [INFO] [stderr] Compiling enum-map-derive v0.4.0 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling enum-map v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.78 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling git2 v0.6.11 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling enumset_derive v0.4.0 [INFO] [stderr] Compiling built v0.2.3 [INFO] [stderr] Compiling enumset v0.4.0 [INFO] [stderr] Compiling cursive v0.12.0 [INFO] [stderr] Compiling grin_miner v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling grin_miner_plugin v2.0.0 (/opt/rustwide/workdir/plugin) [INFO] [stderr] Compiling grin_miner_util v2.0.0 (/opt/rustwide/workdir/util) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_MIN_EDGE_BITS` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const DEFAULT_MIN_EDGE_BITS: u8 = 31; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SECOND_POW_EDGE_BITS` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | const SECOND_POW_EDGE_BITS: u8 = 29; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BLOCK_TIME_SEC` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const BLOCK_TIME_SEC: u64 = 60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HOUR_HEIGHT` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | const HOUR_HEIGHT: u64 = 3600 / BLOCK_TIME_SEC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DAY_HEIGHT` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const DAY_HEIGHT: u64 = 24 * HOUR_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEEK_HEIGHT` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const WEEK_HEIGHT: u64 = 7 * DAY_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `YEAR_HEIGHT` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | const YEAR_HEIGHT: u64 = 52 * WEEK_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BASE_EDGE_BITS` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const BASE_EDGE_BITS: u8 = 24; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `graph_weight` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn graph_weight(height: u64, edge_bits: u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_proof_adjusted` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | fn from_proof_adjusted(height: u64, proof: &Proof) -> Difficulty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_proof_scaled` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | fn from_proof_scaled(proof: &Proof, scaling: u32) -> Difficulty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new(mut in_nonces: Vec, edge_bits: u8) -> Proof { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_difficulty` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn to_difficulty(&self, height: u64, sec_scaling: u32) -> Difficulty { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grin_miner_config v2.0.0 (/opt/rustwide/workdir/config) [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/tui/table.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | on_sort: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Cursive, H, Ordering)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/tui/table.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | on_submit: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Cursive, usize, usize)` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/tui/table.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | on_select: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Cursive, usize, usize)` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/tui/menu.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn create() -> Box { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/tui/mining.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | fn create() -> Box { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/tui/version.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | fn create() -> Box { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/tui/types.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn create() -> Box; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stdout] | [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 59.02s [INFO] running `Command { std: "docker" "inspect" "fa52634c2a134c59c2a2f090f77ac3abd14b10c2a7b3568152e244b9c8fdf571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa52634c2a134c59c2a2f090f77ac3abd14b10c2a7b3568152e244b9c8fdf571", kill_on_drop: false }` [INFO] [stdout] fa52634c2a134c59c2a2f090f77ac3abd14b10c2a7b3568152e244b9c8fdf571 [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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 97cc1cb890014171b32a1ef9efac070f04645298b9a337cee70daa7b2fb387ce [INFO] running `Command { std: "docker" "start" "-a" "97cc1cb890014171b32a1ef9efac070f04645298b9a337cee70daa7b2fb387ce", kill_on_drop: false }` [INFO] [stdout] warning: struct is never constructed: `Finder` [INFO] [stdout] --> cuckoo-miner/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] --> cuckoo-miner/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] --> cuckoo-miner/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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> util/src/logger.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / lazy_static! { [INFO] [stdout] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stdout] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stdout] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stdout] ... | [INFO] [stdout] 89 | | }; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_MIN_EDGE_BITS` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const DEFAULT_MIN_EDGE_BITS: u8 = 31; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SECOND_POW_EDGE_BITS` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | const SECOND_POW_EDGE_BITS: u8 = 29; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BLOCK_TIME_SEC` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const BLOCK_TIME_SEC: u64 = 60; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HOUR_HEIGHT` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | const HOUR_HEIGHT: u64 = 3600 / BLOCK_TIME_SEC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DAY_HEIGHT` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const DAY_HEIGHT: u64 = 24 * HOUR_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WEEK_HEIGHT` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const WEEK_HEIGHT: u64 = 7 * DAY_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `YEAR_HEIGHT` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | const YEAR_HEIGHT: u64 = 52 * WEEK_HEIGHT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BASE_EDGE_BITS` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const BASE_EDGE_BITS: u8 = 24; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `graph_weight` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn graph_weight(height: u64, edge_bits: u8) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_proof_adjusted` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | fn from_proof_adjusted(height: u64, proof: &Proof) -> Difficulty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_proof_scaled` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | fn from_proof_scaled(proof: &Proof, scaling: u32) -> Difficulty { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new(mut in_nonces: Vec, edge_bits: u8) -> Proof { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_difficulty` [INFO] [stdout] --> cuckoo-miner/src/miner/consensus.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn to_difficulty(&self, height: u64, sec_scaling: u32) -> Difficulty { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grin_miner v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/tui/table.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | on_sort: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Cursive, H, Ordering)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/tui/table.rs:156:23 [INFO] [stdout] | [INFO] [stdout] 156 | on_submit: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Cursive, usize, usize)` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/tui/table.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | on_select: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Cursive, usize, usize)` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/tui/menu.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn create() -> Box { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/tui/mining.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | fn create() -> Box { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/tui/version.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | fn create() -> Box { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/tui/types.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | fn create() -> Box; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stdout] | [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "97cc1cb890014171b32a1ef9efac070f04645298b9a337cee70daa7b2fb387ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97cc1cb890014171b32a1ef9efac070f04645298b9a337cee70daa7b2fb387ce", kill_on_drop: false }` [INFO] [stdout] 97cc1cb890014171b32a1ef9efac070f04645298b9a337cee70daa7b2fb387ce [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" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c61a494f63775441c19e9f4a9dbd4f587d43a5f1a0b25124e9cc1e1dc9b1dedf [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" "c61a494f63775441c19e9f4a9dbd4f587d43a5f1a0b25124e9cc1e1dc9b1dedf", kill_on_drop: false }` [INFO] [stderr] warning: struct is never constructed: `Finder` [INFO] [stderr] --> cuckoo-miner/src/sanity.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct Finder { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> cuckoo-miner/src/sanity.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `maybe_have` [INFO] [stderr] --> cuckoo-miner/src/sanity.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn maybe_have>(&mut self, cmd: S) -> Option { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cuckoo_miner` (build script) generated 3 warnings [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> util/src/logger.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / lazy_static! { [INFO] [stderr] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stderr] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stderr] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stderr] ... | [INFO] [stderr] 89 | | }; [INFO] [stderr] 90 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> util/src/logger.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | / lazy_static! { [INFO] [stderr] 39 | | /// Flag to observe whether logging was explicitly initialised (don't output otherwise) [INFO] [stderr] 40 | | static ref WAS_INIT: Mutex = Mutex::new(false); [INFO] [stderr] 41 | | /// Flag to observe whether tui is running, and we therefore don't want to attempt to write [INFO] [stderr] ... | [INFO] [stderr] 89 | | }; [INFO] [stderr] 90 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `grin_miner_util` (lib) generated 4 warnings (2 duplicates) [INFO] [stderr] warning: constant is never used: `DEFAULT_MIN_EDGE_BITS` [INFO] [stderr] --> cuckoo-miner/src/miner/consensus.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | const DEFAULT_MIN_EDGE_BITS: u8 = 31; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `SECOND_POW_EDGE_BITS` [INFO] [stderr] --> cuckoo-miner/src/miner/consensus.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | const SECOND_POW_EDGE_BITS: u8 = 29; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BLOCK_TIME_SEC` [INFO] [stderr] --> cuckoo-miner/src/miner/consensus.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | const BLOCK_TIME_SEC: u64 = 60; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `HOUR_HEIGHT` [INFO] [stderr] --> cuckoo-miner/src/miner/consensus.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | const HOUR_HEIGHT: u64 = 3600 / BLOCK_TIME_SEC; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `DAY_HEIGHT` [INFO] [stderr] --> cuckoo-miner/src/miner/consensus.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | const DAY_HEIGHT: u64 = 24 * HOUR_HEIGHT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `WEEK_HEIGHT` [INFO] [stderr] --> cuckoo-miner/src/miner/consensus.rs:30:1 [INFO] [stderr] | [INFO] [stderr] 30 | const WEEK_HEIGHT: u64 = 7 * DAY_HEIGHT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `YEAR_HEIGHT` [INFO] [stderr] --> cuckoo-miner/src/miner/consensus.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | const YEAR_HEIGHT: u64 = 52 * WEEK_HEIGHT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BASE_EDGE_BITS` [INFO] [stderr] --> cuckoo-miner/src/miner/consensus.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | const BASE_EDGE_BITS: u8 = 24; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `graph_weight` [INFO] [stderr] --> cuckoo-miner/src/miner/consensus.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn graph_weight(height: u64, edge_bits: u8) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_proof_adjusted` [INFO] [stderr] --> cuckoo-miner/src/miner/consensus.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | fn from_proof_adjusted(height: u64, proof: &Proof) -> Difficulty { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_proof_scaled` [INFO] [stderr] --> cuckoo-miner/src/miner/consensus.rs:79:5 [INFO] [stderr] | [INFO] [stderr] 79 | fn from_proof_scaled(proof: &Proof, scaling: u32) -> Difficulty { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> cuckoo-miner/src/miner/consensus.rs:130:9 [INFO] [stderr] | [INFO] [stderr] 130 | pub fn new(mut in_nonces: Vec, edge_bits: u8) -> Proof { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_difficulty` [INFO] [stderr] --> cuckoo-miner/src/miner/consensus.rs:163:9 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn to_difficulty(&self, height: u64, sec_scaling: u32) -> Difficulty { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cuckoo_miner` (lib) generated 13 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/tui/table.rs:153:21 [INFO] [stderr] | [INFO] [stderr] 153 | on_sort: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Cursive, H, Ordering)` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/tui/table.rs:156:23 [INFO] [stderr] | [INFO] [stderr] 156 | on_submit: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Cursive, usize, usize)` [INFO] [stderr] | [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/tui/table.rs:157:23 [INFO] [stderr] | [INFO] [stderr] 157 | on_select: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Cursive, usize, usize)` [INFO] [stderr] | [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/tui/menu.rs:28:24 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn create() -> Box { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stderr] | [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/tui/mining.rs:106:21 [INFO] [stderr] | [INFO] [stderr] 106 | fn create() -> Box { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stderr] | [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/tui/version.rs:36:21 [INFO] [stderr] | [INFO] [stderr] 36 | fn create() -> Box { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stderr] | [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/tui/types.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | fn create() -> Box; [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn View` [INFO] [stderr] | [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `grin_miner` (bin "grin-miner" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/grin_miner-71b761d3b47bafca) [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" "c61a494f63775441c19e9f4a9dbd4f587d43a5f1a0b25124e9cc1e1dc9b1dedf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c61a494f63775441c19e9f4a9dbd4f587d43a5f1a0b25124e9cc1e1dc9b1dedf", kill_on_drop: false }` [INFO] [stdout] c61a494f63775441c19e9f4a9dbd4f587d43a5f1a0b25124e9cc1e1dc9b1dedf