[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 beta-2022-07-10 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0unghe%2Fgrin-miner" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/y0unghe/grin-miner on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "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-10/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" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", 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] b6b3251d55cc40b0619fc607c045254f1c5396ccce3e664b430c75958706be86
[INFO] running `Command { std: "docker" "start" "-a" "b6b3251d55cc40b0619fc607c045254f1c5396ccce3e664b430c75958706be86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b6b3251d55cc40b0619fc607c045254f1c5396ccce3e664b430c75958706be86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6b3251d55cc40b0619fc607c045254f1c5396ccce3e664b430c75958706be86", kill_on_drop: false }`
[INFO] [stdout] b6b3251d55cc40b0619fc607c045254f1c5396ccce3e664b430c75958706be86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "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] b11841b92646d97e706dca98cb8dda99d14b07b0be4b4a8cb10c0ac93e6a0973
[INFO] running `Command { std: "docker" "start" "-a" "b11841b92646d97e706dca98cb8dda99d14b07b0be4b4a8cb10c0ac93e6a0973", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.54
[INFO] [stderr]    Compiling pkg-config v0.3.14
[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 strsim v0.7.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.7
[INFO] [stderr]    Compiling ryu v0.2.6
[INFO] [stderr]    Compiling byteorder v1.2.6
[INFO] [stderr]    Compiling slog v2.1.1
[INFO] [stderr]    Compiling nodrop v0.1.12
[INFO] [stderr]    Compiling ucd-util v0.1.1
[INFO] [stderr]    Compiling libloading v0.4.3
[INFO] [stderr]    Compiling fs_extra v1.1.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.3
[INFO] [stderr]    Compiling num-complex v0.2.1
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling itoa v0.4.3
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]    Compiling utf8-ranges v1.0.1
[INFO] [stderr]    Compiling array-macro v1.0.2
[INFO] [stderr]    Compiling arc-swap v0.3.11
[INFO] [stderr]    Compiling openssl v0.10.15
[INFO] [stderr]    Compiling native-tls v0.2.2
[INFO] [stderr]    Compiling bitflags v1.0.4
[INFO] [stderr]    Compiling unicode-segmentation v1.2.1
[INFO] [stderr]    Compiling xi-unicode v0.1.0
[INFO] [stderr]    Compiling maplit v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.3.0
[INFO] [stderr]    Compiling bufstream v0.1.3
[INFO] [stderr]    Compiling term v0.4.6
[INFO] [stderr]    Compiling cmake v0.1.34
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling arrayvec v0.4.7
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling term v0.5.1
[INFO] [stderr]    Compiling enum-map-internals v0.1.2
[INFO] [stderr]    Compiling smallvec v0.6.5
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling slog-async v2.3.0
[INFO] [stderr]    Compiling libz-sys v1.0.22
[INFO] [stderr]    Compiling openssl-sys v0.9.39
[INFO] [stderr]    Compiling ncurses v5.99.0
[INFO] [stderr]    Compiling blake2-rfc v0.2.18
[INFO] [stderr]    Compiling syn v0.14.9
[INFO] [stderr]    Compiling libgit2-sys v0.6.19
[INFO] [stderr]    Compiling cuckoo_miner v2.0.0 (/opt/rustwide/workdir/cuckoo-miner)
[INFO] [stderr]    Compiling crossbeam-channel v0.3.8
[INFO] [stdout] warning: struct `Finder` is never constructed
[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 `new` is never used
[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 `maybe_have` is never used
[INFO] [stdout]   --> cuckoo-miner/src/sanity.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn maybe_have<S: AsRef<OsStr>>(&mut self, cmd: S) -> Option<PathBuf> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling time v0.1.40
[INFO] [stderr]    Compiling rand v0.4.3
[INFO] [stderr]    Compiling backtrace-sys v0.1.24
[INFO] [stderr]    Compiling isatty v0.1.9
[INFO] [stderr]    Compiling memchr v2.0.2
[INFO] [stderr]    Compiling signal-hook-registry v1.0.1
[INFO] [stderr]    Compiling dirs v1.0.3
[INFO] [stderr]    Compiling term_size v0.3.1
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling backtrace v0.3.9
[INFO] [stderr]    Compiling aho-corasick v0.6.8
[INFO] [stderr]    Compiling signal-hook v0.1.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 pancurses v0.16.1
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling num v0.2.0
[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 enum-map v0.5.0
[INFO] [stderr]    Compiling darling_core v0.9.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 grin_miner v2.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling enumset v0.4.0
[INFO] [stderr]    Compiling cursive v0.12.0
[INFO] [stderr]    Compiling grin_miner_util v2.0.0 (/opt/rustwide/workdir/util)
[INFO] [stderr]    Compiling grin_miner_plugin v2.0.0 (/opt/rustwide/workdir/plugin)
[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<bool> = 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<bool> = 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<bool> = 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<bool> = 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 `DEFAULT_MIN_EDGE_BITS` is never used
[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 `SECOND_POW_EDGE_BITS` is never used
[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 `BLOCK_TIME_SEC` is never used
[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 `HOUR_HEIGHT` is never used
[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 `DAY_HEIGHT` is never used
[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 `WEEK_HEIGHT` is never used
[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 `YEAR_HEIGHT` is never used
[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 `BASE_EDGE_BITS` is never used
[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 `graph_weight` is never used
[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 `from_proof_adjusted` is never used
[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 `from_proof_scaled` is never used
[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 `new` is never used
[INFO] [stdout]    --> cuckoo-miner/src/miner/consensus.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pub fn new(mut in_nonces: Vec<u64>, edge_bits: u8) -> Proof {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_difficulty` is never used
[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<Rc<Fn(&mut Cursive, H, Ordering)>>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 153 -     on_sort: Option<Rc<Fn(&mut Cursive, H, Ordering)>>,
[INFO] [stdout] 153 +     on_sort: Option<Rc<dyn Fn(&mut Cursive, H, Ordering)>>,
[INFO] [stdout]     |
[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<Rc<Fn(&mut Cursive, usize, usize)>>,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 156 -     on_submit: Option<Rc<Fn(&mut Cursive, usize, usize)>>,
[INFO] [stdout] 156 +     on_submit: Option<Rc<dyn Fn(&mut Cursive, usize, usize)>>,
[INFO] [stdout]     |
[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<Rc<Fn(&mut Cursive, usize, usize)>>,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 157 -     on_select: Option<Rc<Fn(&mut Cursive, usize, usize)>>,
[INFO] [stdout] 157 +     on_select: Option<Rc<dyn Fn(&mut Cursive, usize, usize)>>,
[INFO] [stdout]     |
[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<View> {
[INFO] [stdout]    |                        ^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 - pub fn create() -> Box<View> {
[INFO] [stdout] 28 + pub fn create() -> Box<dyn View> {
[INFO] [stdout]    |
[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<View> {
[INFO] [stdout]     |                        ^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 106 -     fn create() -> Box<View> {
[INFO] [stdout] 106 +     fn create() -> Box<dyn View> {
[INFO] [stdout]     |
[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<View> {
[INFO] [stdout]    |                        ^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 -     fn create() -> Box<View> {
[INFO] [stdout] 36 +     fn create() -> Box<dyn View> {
[INFO] [stdout]    |
[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<View>;
[INFO] [stdout]    |                        ^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 -     fn create() -> Box<View>;
[INFO] [stdout] 35 +     fn create() -> Box<dyn View>;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3m 46s
[INFO] running `Command { std: "docker" "inspect" "b11841b92646d97e706dca98cb8dda99d14b07b0be4b4a8cb10c0ac93e6a0973", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b11841b92646d97e706dca98cb8dda99d14b07b0be4b4a8cb10c0ac93e6a0973", kill_on_drop: false }`
[INFO] [stdout] b11841b92646d97e706dca98cb8dda99d14b07b0be4b4a8cb10c0ac93e6a0973
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f71edcd0d55844ec13fe1facb59196fcb9361a82c9a5433e384ec3decd7c8c95
[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" "f71edcd0d55844ec13fe1facb59196fcb9361a82c9a5433e384ec3decd7c8c95", kill_on_drop: false }`
[INFO] [stdout] warning: struct `Finder` is never constructed
[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 `new` is never used
[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 `maybe_have` is never used
[INFO] [stdout]   --> cuckoo-miner/src/sanity.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn maybe_have<S: AsRef<OsStr>>(&mut self, cmd: S) -> Option<PathBuf> {
[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<bool> = 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] [stderr]    Compiling grin_miner v2.0.0 (/opt/rustwide/workdir)
[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<bool> = 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<bool> = 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<bool> = 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 `DEFAULT_MIN_EDGE_BITS` is never used
[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 `SECOND_POW_EDGE_BITS` is never used
[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 `BLOCK_TIME_SEC` is never used
[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 `HOUR_HEIGHT` is never used
[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 `DAY_HEIGHT` is never used
[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 `WEEK_HEIGHT` is never used
[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 `YEAR_HEIGHT` is never used
[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 `BASE_EDGE_BITS` is never used
[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 `graph_weight` is never used
[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 `from_proof_adjusted` is never used
[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 `from_proof_scaled` is never used
[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 `new` is never used
[INFO] [stdout]    --> cuckoo-miner/src/miner/consensus.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pub fn new(mut in_nonces: Vec<u64>, edge_bits: u8) -> Proof {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_difficulty` is never used
[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] [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<Rc<Fn(&mut Cursive, H, Ordering)>>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 153 -     on_sort: Option<Rc<Fn(&mut Cursive, H, Ordering)>>,
[INFO] [stdout] 153 +     on_sort: Option<Rc<dyn Fn(&mut Cursive, H, Ordering)>>,
[INFO] [stdout]     |
[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<Rc<Fn(&mut Cursive, usize, usize)>>,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 156 -     on_submit: Option<Rc<Fn(&mut Cursive, usize, usize)>>,
[INFO] [stdout] 156 +     on_submit: Option<Rc<dyn Fn(&mut Cursive, usize, usize)>>,
[INFO] [stdout]     |
[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<Rc<Fn(&mut Cursive, usize, usize)>>,
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 157 -     on_select: Option<Rc<Fn(&mut Cursive, usize, usize)>>,
[INFO] [stdout] 157 +     on_select: Option<Rc<dyn Fn(&mut Cursive, usize, usize)>>,
[INFO] [stdout]     |
[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<View> {
[INFO] [stdout]    |                        ^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 28 - pub fn create() -> Box<View> {
[INFO] [stdout] 28 + pub fn create() -> Box<dyn View> {
[INFO] [stdout]    |
[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<View> {
[INFO] [stdout]     |                        ^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 106 -     fn create() -> Box<View> {
[INFO] [stdout] 106 +     fn create() -> Box<dyn View> {
[INFO] [stdout]     |
[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<View> {
[INFO] [stdout]    |                        ^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 -     fn create() -> Box<View> {
[INFO] [stdout] 36 +     fn create() -> Box<dyn View> {
[INFO] [stdout]    |
[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<View>;
[INFO] [stdout]    |                        ^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 -     fn create() -> Box<View>;
[INFO] [stdout] 35 +     fn create() -> Box<dyn View>;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.67s
[INFO] running `Command { std: "docker" "inspect" "f71edcd0d55844ec13fe1facb59196fcb9361a82c9a5433e384ec3decd7c8c95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f71edcd0d55844ec13fe1facb59196fcb9361a82c9a5433e384ec3decd7c8c95", kill_on_drop: false }`
[INFO] [stdout] f71edcd0d55844ec13fe1facb59196fcb9361a82c9a5433e384ec3decd7c8c95
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f59267df6523a0b5b9a91eb34e91dae9cda3fa6aab417a591fc6a537dad1bf52
[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" "f59267df6523a0b5b9a91eb34e91dae9cda3fa6aab417a591fc6a537dad1bf52", kill_on_drop: false }`
[INFO] [stderr] warning: struct `Finder` is never constructed
[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 `new` is never used
[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 `maybe_have` is never used
[INFO] [stderr]   --> cuckoo-miner/src/sanity.rs:41:9
[INFO] [stderr]    |
[INFO] [stderr] 41 |     pub fn maybe_have<S: AsRef<OsStr>>(&mut self, cmd: S) -> Option<PathBuf> {
[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<bool> = 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<bool> = 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 `DEFAULT_MIN_EDGE_BITS` is never used
[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 `SECOND_POW_EDGE_BITS` is never used
[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 `BLOCK_TIME_SEC` is never used
[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 `HOUR_HEIGHT` is never used
[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 `DAY_HEIGHT` is never used
[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 `WEEK_HEIGHT` is never used
[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 `YEAR_HEIGHT` is never used
[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 `BASE_EDGE_BITS` is never used
[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 `graph_weight` is never used
[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 `from_proof_adjusted` is never used
[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 `from_proof_scaled` is never used
[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 `new` is never used
[INFO] [stderr]    --> cuckoo-miner/src/miner/consensus.rs:130:9
[INFO] [stderr]     |
[INFO] [stderr] 130 |     pub fn new(mut in_nonces: Vec<u64>, edge_bits: u8) -> Proof {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `to_difficulty` is never used
[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<Rc<Fn(&mut Cursive, H, Ordering)>>,
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 153 -     on_sort: Option<Rc<Fn(&mut Cursive, H, Ordering)>>,
[INFO] [stderr] 153 +     on_sort: Option<Rc<dyn Fn(&mut Cursive, H, Ordering)>>,
[INFO] [stderr]     |
[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<Rc<Fn(&mut Cursive, usize, usize)>>,
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 156 -     on_submit: Option<Rc<Fn(&mut Cursive, usize, usize)>>,
[INFO] [stderr] 156 +     on_submit: Option<Rc<dyn Fn(&mut Cursive, usize, usize)>>,
[INFO] [stderr]     |
[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<Rc<Fn(&mut Cursive, usize, usize)>>,
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 157 -     on_select: Option<Rc<Fn(&mut Cursive, usize, usize)>>,
[INFO] [stderr] 157 +     on_select: Option<Rc<dyn Fn(&mut Cursive, usize, usize)>>,
[INFO] [stderr]     |
[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<View> {
[INFO] [stderr]    |                        ^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 28 - pub fn create() -> Box<View> {
[INFO] [stderr] 28 + pub fn create() -> Box<dyn View> {
[INFO] [stderr]    |
[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<View> {
[INFO] [stderr]     |                        ^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 106 -     fn create() -> Box<View> {
[INFO] [stderr] 106 +     fn create() -> Box<dyn View> {
[INFO] [stderr]     |
[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<View> {
[INFO] [stderr]    |                        ^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 36 -     fn create() -> Box<View> {
[INFO] [stderr] 36 +     fn create() -> Box<dyn View> {
[INFO] [stderr]    |
[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<View>;
[INFO] [stderr]    |                        ^^^^
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 35 -     fn create() -> Box<View>;
[INFO] [stderr] 35 +     fn create() -> Box<dyn View>;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `grin_miner` (bin "grin-miner" test) generated 7 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.19s
[INFO] [stderr]      Running unittests src/bin/grin_miner.rs (/opt/rustwide/target/debug/deps/grin_miner-27d6f3cef0da3ac4)
[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" "f59267df6523a0b5b9a91eb34e91dae9cda3fa6aab417a591fc6a537dad1bf52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f59267df6523a0b5b9a91eb34e91dae9cda3fa6aab417a591fc6a537dad1bf52", kill_on_drop: false }`
[INFO] [stdout] f59267df6523a0b5b9a91eb34e91dae9cda3fa6aab417a591fc6a537dad1bf52
